{{ item.title }}
+{{ item.description }}
+commit 3f80b766473739afd8f9324deab8d26cd5f3c84c Author: Agustin Bustos Piasentini (Nitro) <63634574+abustosp@users.noreply.github.com> Date: Thu Dec 25 00:57:30 2025 -0300 Add initial project structure with Docker setup, Flask app, and static assets diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..b19f5d8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +__pycache__/ +*.py[cod] +*.env +.env* +.git +.gitignore +venv/ +.venv/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ceb386 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a82d6dd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.12-slim + +ENV PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + FLASK_APP=app.py \ + FLASK_RUN_HOST=0.0.0.0 \ + FLASK_RUN_PORT=5000 + +WORKDIR /app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +EXPOSE 5000 +CMD ["flask", "run"] diff --git a/app.py b/app.py new file mode 100644 index 0000000..84610ac --- /dev/null +++ b/app.py @@ -0,0 +1,52 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +GALLERY_ITEMS = [ + { + "title": "Río y vegetación", + "description": "Senderos junto al agua con sombra natural.", + "image": "images/rio-verde.svg", + }, + { + "title": "Área de fogón", + "description": "Espacio amplio para compartir y cocinar al fuego.", + "image": "images/fogon.svg", + }, + { + "title": "Cabañas acogedoras", + "description": "Descanso cómodo rodeado de naturaleza.", + "image": "images/cabana.svg", + }, +] + +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) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0647450 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +flask==3.0.3 diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..ed12731 --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,378 @@ +:root { + --bg: #f4f7f2; + --surface: #ffffff; + --surface-alt: #edf5e9; + --primary: #26a15a; + --primary-strong: #1f8c4d; + --text: #0f172a; + --muted: #4b5563; + --pill: #e5efe4; + --card-border: rgba(15, 23, 42, 0.08); + --shadow: 0 12px 40px rgba(15, 23, 42, 0.12); +} + +* { + box-sizing: border-box; +} + +body { + margin: 0; + font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif; + background: radial-gradient(circle at 18% 20%, rgba(38, 161, 90, 0.18), transparent 28%), + radial-gradient(circle at 80% 5%, rgba(117, 201, 140, 0.12), transparent 30%), + var(--bg); + color: var(--text); + line-height: 1.6; + min-height: 100vh; +} + +img { + max-width: 100%; + display: block; + border-radius: 14px; +} + +a { + color: inherit; + text-decoration: none; +} + +.hero { + padding: 28px 7vw 72px; + background: linear-gradient(135deg, rgba(237, 245, 233, 0.9), rgba(231, 245, 235, 0.9)), + radial-gradient(circle at 25% 25%, rgba(38, 161, 90, 0.22), transparent 32%), + radial-gradient(circle at 80% 10%, rgba(107, 197, 138, 0.2), transparent 34%); +} + +.nav { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 50px; +} + +.logo { + font-weight: 700; + letter-spacing: 0.6px; + font-size: 1.1rem; + padding: 10px 14px; + border: 1px solid var(--card-border); + border-radius: 12px; + background: #ffffff; + color: var(--primary-strong); +} + +.nav-actions { + display: flex; + gap: 12px; + align-items: center; +} + +.nav-link { + padding: 10px 12px; + border-radius: 12px; + color: var(--muted); + transition: color 0.2s ease, background 0.2s ease; +} + +.nav-link:hover { + color: var(--primary-strong); + background: rgba(38, 161, 90, 0.1); +} + +.cta { + padding: 12px 16px; + border-radius: 14px; + background: var(--primary); + color: #ffffff; + font-weight: 700; + box-shadow: var(--shadow); +} + +.hero-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 32px; + align-items: center; +} + +.hero-text h1 { + font-size: clamp(2.3rem, 4vw, 3.3rem); + margin: 8px 0 10px; + color: #0b1a2a; +} + +.hero-text .subtitle { + color: var(--muted); + margin-bottom: 24px; +} + +.eyebrow { + letter-spacing: 0.12em; + text-transform: uppercase; + font-weight: 700; + color: var(--primary); + font-size: 0.75rem; +} + +.subtitle { + color: var(--muted); + max-width: 620px; +} + +.hero-buttons { + display: flex; + gap: 12px; + flex-wrap: wrap; + margin-bottom: 16px; +} + +.button { + padding: 12px 18px; + border-radius: 14px; + border: 1px solid var(--card-border); + font-weight: 700; + cursor: pointer; + display: inline-flex; + gap: 8px; + align-items: center; + justify-content: center; + transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; + text-align: center; +} + +.button:hover { + transform: translateY(-1px); + box-shadow: var(--shadow); +} + +.button.primary { + background: linear-gradient(120deg, var(--primary), var(--primary-strong)); + color: #ffffff; + border: none; +} + +.button.ghost { + background: rgba(38, 161, 90, 0.12); + color: var(--primary-strong); +} + +.button.full { + width: 100%; + background: rgba(38, 161, 90, 0.08); +} + +.quick-info { + display: flex; + gap: 12px; + flex-wrap: wrap; + margin-top: 18px; +} + +.pill { + background: var(--pill); + border: 1px solid var(--card-border); + padding: 10px 12px; + border-radius: 12px; + color: #1f2937; +} + +.hero-card { + background: rgba(255, 255, 255, 0.82); + border: 1px solid var(--card-border); + border-radius: 20px; + overflow: hidden; + box-shadow: var(--shadow); + backdrop-filter: blur(8px); +} + +.hero-card .card-header { + padding: 14px 18px; + background: rgba(38, 161, 90, 0.1); + border-bottom: 1px solid var(--card-border); + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + font-size: 0.8rem; + color: var(--primary-strong); +} + +.hero-card .card-body { + padding: 18px; +} + +.card-title { + font-size: 1.25rem; + margin: 6px 0; +} + +.card-desc { + color: var(--muted); + margin-bottom: 14px; +} + +.card-tags { + display: flex; + gap: 8px; + flex-wrap: wrap; + margin-bottom: 14px; +} + +.card-tags span { + background: #edf5e9; + border-radius: 10px; + padding: 8px 10px; + color: #2f3c4f; + border: 1px solid var(--card-border); +} + +.section { + padding: 70px 7vw; + background: var(--bg); +} + +.services { + background: linear-gradient(135deg, #f7fbf6, #eef7f0); +} + +.features-grid { + margin-top: 24px; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 14px; +} + +.feature-card { + display: flex; + align-items: center; + gap: 12px; + padding: 14px 16px; + border: 1px solid var(--card-border); + border-radius: 14px; + background: var(--surface); + box-shadow: var(--shadow); +} + +.feature-card p { + margin: 0; + color: #1f2937; + font-weight: 600; +} + +.feature-dot { + width: 12px; + height: 12px; + border-radius: 50%; + background: linear-gradient(120deg, var(--primary), var(--primary-strong)); + box-shadow: 0 0 0 6px rgba(38, 161, 90, 0.12); +} + +.section-heading h2 { + margin: 6px 0; + font-size: clamp(1.6rem, 3vw, 2.4rem); +} + +.gallery-grid { + margin-top: 28px; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); + gap: 20px; +} + +.gallery-card { + background: var(--surface); + border: 1px solid var(--card-border); + border-radius: 18px; + overflow: hidden; + box-shadow: var(--shadow); + display: flex; + flex-direction: column; +} + +.image-wrap { + background: var(--surface-alt); + padding: 14px; +} + +.gallery-info { + padding: 18px; +} + +.gallery-info h3 { + margin: 0 0 8px; +} + +.gallery-info p { + color: var(--muted); + margin: 0; +} + +.map-section .map-card { + margin-top: 26px; + background: var(--surface); + border: 1px solid var(--card-border); + border-radius: 18px; + overflow: hidden; + box-shadow: var(--shadow); +} + +.map-card iframe { + width: 100%; + border: none; + height: 420px; + filter: saturate(1.05); +} + +.map-actions { + padding: 18px; + display: flex; + gap: 12px; + flex-wrap: wrap; +} + +.contact { + background: linear-gradient(135deg, rgba(38, 161, 90, 0.12), rgba(231, 245, 235, 0.8)); +} + +.contact-card { + max-width: 900px; + margin: 0 auto; + background: #ffffff; + border: 1px solid var(--card-border); + border-radius: 20px; + padding: 26px; + display: flex; + gap: 20px; + align-items: center; + justify-content: space-between; + box-shadow: var(--shadow); + flex-wrap: wrap; +} + +.footer { + padding: 28px 7vw 40px; + text-align: center; + background: #eaf4ea; + color: #374151; + border-top: 1px solid var(--card-border); +} + +@media (max-width: 600px) { + .hero { + padding-top: 20px; + } + + .nav { + flex-direction: column; + gap: 10px; + align-items: flex-start; + } + + .hero-content { + grid-template-columns: 1fr; + } + + .map-card iframe { + height: 320px; + } +} diff --git a/static/images/cabana.svg b/static/images/cabana.svg new file mode 100644 index 0000000..f7bb62a --- /dev/null +++ b/static/images/cabana.svg @@ -0,0 +1,21 @@ + diff --git a/static/images/fogon.svg b/static/images/fogon.svg new file mode 100644 index 0000000..3a44e1d --- /dev/null +++ b/static/images/fogon.svg @@ -0,0 +1,24 @@ + diff --git a/static/images/rio-verde.svg b/static/images/rio-verde.svg new file mode 100644 index 0000000..cc53f1e --- /dev/null +++ b/static/images/rio-verde.svg @@ -0,0 +1,24 @@ + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..94f594e --- /dev/null +++ b/templates/index.html @@ -0,0 +1,123 @@ + + +
+ + +Naturaleza en Misiones
+Acceso directo al río, fogones listos, y espacios cómodos para acampar o descansar en cabañas.
+ +Camping Fénix
+Paisaje verde, aves y agua clara para desconectar de la rutina.
+ + Ver ubicación +Servicios
+Conexión, naturaleza y comodidades para disfrutar sin preocuparte por nada.
+{{ feature }}
+Explora
+Un vistazo a los espacios y experiencias que te esperan.
+{{ item.description }}
+Cómo llegar
+Estamos listos para recibirte. Abre el mapa y marca el rumbo.
+Contacto directo
+Cuéntanos fechas, cantidad de personas y si necesitas fogón o cabaña.
+