- Updated CSS variables for a Green/Earth/Yellow palette. - Switched typography to Manrope for a clean look. - Redesigned Hero, Services, and Gallery sections for better spacing and minimalism. - Updated `app.py` with instructions for future local image usage and updated placeholder colors. - Created `static/images/gallery` directory. Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
93 lines
3.0 KiB
Python
Executable File
93 lines
3.0 KiB
Python
Executable File
from flask import Flask, render_template
|
|
|
|
app = Flask(__name__)
|
|
|
|
# --- CONFIGURACIÓN DE IMÁGENES ---
|
|
# Para usar imágenes propias:
|
|
# 1. Guarda tus fotos en la carpeta 'static/images/'.
|
|
# 2. Actualiza el campo "image" en GALLERY_ITEMS con la ruta local.
|
|
# Ejemplo: "image": "/static/images/mi-foto.jpg",
|
|
|
|
GALLERY_ITEMS = [
|
|
{
|
|
"title": "Río y vegetación",
|
|
"description": "Senderos junto al agua con sombra natural.",
|
|
# Placeholder actual (verde oscuro):
|
|
"image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Rio+y+Naturaleza",
|
|
},
|
|
{
|
|
"title": "Área de fogón",
|
|
"description": "Espacio amplio para compartir y cocinar al fuego.",
|
|
# Placeholder actual (tierra/arena):
|
|
"image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Area+de+Fogon",
|
|
},
|
|
{
|
|
"title": "Cabañas acogedoras",
|
|
"description": "Descanso cómodo rodeado de naturaleza.",
|
|
# Placeholder actual (verde):
|
|
"image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Cabanas",
|
|
},
|
|
{
|
|
"title": "Zona de acampe",
|
|
"description": "Amplios espacios verdes para instalar tu carpa.",
|
|
# Placeholder actual (tierra):
|
|
"image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Zona+de+Acampe",
|
|
},
|
|
{
|
|
"title": "Parrillas equipadas",
|
|
"description": "Parrillas listas con todo lo necesario para cocinar.",
|
|
"image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Parrillas",
|
|
},
|
|
{
|
|
"title": "Arroyo cristalino",
|
|
"description": "Agua fresca y clara dentro del predio para disfrutar.",
|
|
"image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Arroyo",
|
|
},
|
|
{
|
|
"title": "Senderos naturales",
|
|
"description": "Caminos rodeados de vegetación para explorar.",
|
|
"image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Senderos",
|
|
},
|
|
{
|
|
"title": "Área de descanso",
|
|
"description": "Espacios con sombra para relajarse y disfrutar.",
|
|
"image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Descanso",
|
|
},
|
|
{
|
|
"title": "Vista panorámica",
|
|
"description": "Hermosos paisajes de la selva misionera.",
|
|
"image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Vista+Panoramica",
|
|
},
|
|
]
|
|
|
|
FEATURES = [
|
|
"WiFi en todo el camping",
|
|
"Arroyo dentro de la propiedad",
|
|
"Parrillas listas para usar",
|
|
"Cantina y proveeduría",
|
|
]
|
|
|
|
MAP_EMBED_URL = (
|
|
"https://www.google.com/maps?q=Fenix%20Camping%20Misiones&output=embed"
|
|
)
|
|
WHATSAPP_NUMBER = "+543765253409"
|
|
WHATSAPP_LINK = f"https://wa.me/{WHATSAPP_NUMBER.lstrip('+')}"
|
|
MAP_LINK = "https://maps.app.goo.gl/7LycqCiKgPXpbSUf8"
|
|
|
|
|
|
@app.route("/")
|
|
def home():
|
|
return render_template(
|
|
"index.html",
|
|
gallery_items=GALLERY_ITEMS,
|
|
features=FEATURES,
|
|
map_embed_url=MAP_EMBED_URL,
|
|
map_link=MAP_LINK,
|
|
whatsapp_link=WHATSAPP_LINK,
|
|
whatsapp_number=WHATSAPP_NUMBER,
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|