feat: Update footer year dynamically and improve text styling
This commit is contained in:
3
app.py
3
app.py
@@ -1,3 +1,5 @@
|
||||
from datetime import datetime
|
||||
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
@@ -97,6 +99,7 @@ def home():
|
||||
map_link=MAP_LINK,
|
||||
whatsapp_link=WHATSAPP_LINK,
|
||||
whatsapp_number=WHATSAPP_NUMBER,
|
||||
year=datetime.now().year,
|
||||
)
|
||||
|
||||
|
||||
|
||||
10
src/App.jsx
10
src/App.jsx
@@ -3,10 +3,10 @@ const IMAGE_BASE = `${import.meta.env.BASE_URL}images/`
|
||||
const HERO_FEATURES = ['WiFi Satelital', 'Arroyo Natural', 'Parrillas', 'Pet Friendly']
|
||||
|
||||
const FEATURES = [
|
||||
'WiFi en todo el camping',
|
||||
// 'WiFi en todo el camping',
|
||||
'Arroyo dentro de la propiedad',
|
||||
'Parrillas listas para usar',
|
||||
'Cantina y proveeduría'
|
||||
'Cantina'
|
||||
]
|
||||
|
||||
const GALLERY_ITEMS = [
|
||||
@@ -135,8 +135,8 @@ function App() {
|
||||
Tu refugio para <br />reconectar con la calma.
|
||||
</h1>
|
||||
<p className="hero-subtitle">
|
||||
Camping Fénix ofrece acceso directo al río, espacios verdes y todas las comodidades para una escapada
|
||||
perfecta en la selva.
|
||||
Camping Fénix ofrece acceso directo al arroyo, espacios verdes y todas las comodidades para una escapada
|
||||
perfecta en el interior de Misiones.
|
||||
</p>
|
||||
|
||||
<div className="hero-actions">
|
||||
@@ -266,7 +266,7 @@ function App() {
|
||||
</div>
|
||||
|
||||
<div className="footer-bottom">
|
||||
<p>© {year} Camping Fénix. Misiones, Argentina.</p>
|
||||
<p className="text-light">© {year} Camping Fénix. Misiones, Argentina.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -485,10 +485,14 @@ p {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding-top: 2rem;
|
||||
font-size: 0.85rem;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.text-light {
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -374,7 +374,7 @@ p {
|
||||
|
||||
.gallery-image-wrapper {
|
||||
width: 100%;
|
||||
height: clamp(280px, 32vw, 380px);
|
||||
height: 250px;
|
||||
overflow: hidden;
|
||||
background-color: var(--secondary); /* placeholder color */
|
||||
}
|
||||
@@ -485,10 +485,14 @@ p {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding-top: 2rem;
|
||||
font-size: 0.85rem;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
/* Utilities */
|
||||
.text-light {
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
</div>
|
||||
|
||||
<div class="footer-bottom">
|
||||
<p>© 2024 Camping Fénix. Misiones, Argentina.</p>
|
||||
<p class="text-light">© {{ year }} Camping Fénix. Misiones, Argentina.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user