Compare commits

...

10 Commits

Author SHA1 Message Date
823663c6d2 feat: Update footer year dynamically and improve text styling 2026-02-01 00:25:30 -03:00
0e22046413 feat: Update multiple gallery images for enhanced visual content 2026-02-01 00:11:39 -03:00
f284bd2004 feat: Update gallery image wrapper height for responsive design 2026-02-01 00:11:33 -03:00
f05c7cdd0b feat: Update gallery item titles for improved clarity and consistency 2026-02-01 00:04:34 -03:00
96478c2deb refactor: Comment out descriptions in gallery items for clarity 2026-01-31 23:31:41 -03:00
78174e9e69 feat: Update image paths in gallery to use dynamic base URL 2026-01-31 23:29:34 -03:00
google-labs-jules[bot]
fbeb91688c Update gallery images in React frontend
Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
2026-02-01 02:19:21 +00:00
google-labs-jules[bot]
925d5f484f Add YouTube Shorts video gallery to React app
- Added `VIDEO_ITEMS` constant with YouTube Shorts IDs to `src/App.jsx`.
- Added a new `<section>` for videos in `src/App.jsx`.
- Ported video grid styles from `static/css/style.css` to `src/styles.css`, including the 9:16 aspect ratio fix.
- Updated `static/css/style.css` to ensure consistent styling (if not already present).

Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
2026-02-01 01:15:01 +00:00
google-labs-jules[bot]
d24508174b feat: Add video gallery section with YouTube Shorts
- Update app.py to pass video IDs to template
- Add video grid section to index.html
- Add responsive 9:16 styling for Shorts in style.css
- Add unit tests for video content presence

Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
2026-02-01 00:57:26 +00:00
google-labs-jules[bot]
af93b49a14 Add video gallery section with YouTube Shorts
- Update app.py to include video IDs
- Add video section to index.html
- Add CSS for vertical video aspect ratio
- Add basic integration test

Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
2026-02-01 00:41:22 +00:00
23 changed files with 1899 additions and 46 deletions

10
app.log
View File

@@ -1,10 +0,0 @@
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 410-907-091
127.0.0.1 - - [31/Jan/2026 22:23:59] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [31/Jan/2026 22:23:59] "GET /static/css/style.css HTTP/1.1" 200 -

15
app.py
View File

@@ -1,3 +1,5 @@
from datetime import datetime
from flask import Flask, render_template from flask import Flask, render_template
app = Flask(__name__) app = Flask(__name__)
@@ -60,6 +62,17 @@ GALLERY_ITEMS = [
}, },
] ]
VIDEO_ITEMS = [
"656GdIPFvjE",
"5OpuBwlszB0",
"QtFkxb3wcYQ",
"OdMX991dFCg",
"EpDvw0fQP8Q",
"BCvTlTp3Gmo",
"LEojsBDbV0A",
"mPpbDCaG3D8",
]
FEATURES = [ FEATURES = [
"WiFi en todo el camping", "WiFi en todo el camping",
"Arroyo dentro de la propiedad", "Arroyo dentro de la propiedad",
@@ -80,11 +93,13 @@ def home():
return render_template( return render_template(
"index.html", "index.html",
gallery_items=GALLERY_ITEMS, gallery_items=GALLERY_ITEMS,
video_items=VIDEO_ITEMS,
features=FEATURES, features=FEATURES,
map_embed_url=MAP_EMBED_URL, map_embed_url=MAP_EMBED_URL,
map_link=MAP_LINK, map_link=MAP_LINK,
whatsapp_link=WHATSAPP_LINK, whatsapp_link=WHATSAPP_LINK,
whatsapp_number=WHATSAPP_NUMBER, whatsapp_number=WHATSAPP_NUMBER,
year=datetime.now().year,
) )

1674
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,60 +1,103 @@
const IMAGE_BASE = `${import.meta.env.BASE_URL}images/`
const HERO_FEATURES = ['WiFi Satelital', 'Arroyo Natural', 'Parrillas', 'Pet Friendly'] const HERO_FEATURES = ['WiFi Satelital', 'Arroyo Natural', 'Parrillas', 'Pet Friendly']
const FEATURES = [ const FEATURES = [
'WiFi en todo el camping', // 'WiFi en todo el camping',
'Arroyo dentro de la propiedad', 'Arroyo dentro de la propiedad',
'Parrillas listas para usar', 'Parrillas listas para usar',
'Cantina y proveeduría' 'Cantina'
] ]
const GALLERY_ITEMS = [ const GALLERY_ITEMS = [
{ {
title: 'Río y vegetación', title: 'Claro del bosque con flor roja',
description: 'Senderos junto al agua con sombra natural.', // description: 'Pradera amplia con árboles al fondo; en primer plano se ven hojas grandes y una flor roja.',
image: 'https://placehold.co/800x600/2F4F4F/FFFFFF?text=Rio+y+Naturaleza' image: `${IMAGE_BASE}IMG_4222.webp`
}, },
{ {
title: 'Área de fogón', title: 'Amplio espacio verde',
description: 'Espacio amplio para compartir y cocinar al fuego.', // description: 'Pasto corto y arboleda densa; aparece un cartel rojo/blanco en el centro-derecha.',
image: 'https://placehold.co/800x600/EAD7C3/2F4F4F?text=Area+de+Fogon' image: `${IMAGE_BASE}IMG_4223.webp`
}, },
{ {
title: 'Cabañas acogedoras', title: 'Parrillas',
description: 'Descanso cómodo rodeado de naturaleza.', // description: 'Parrilla/asador de ladrillo con rejilla y cenizas, ubicada bajo árboles con vista a un claro.',
image: 'https://placehold.co/800x600/2F4F4F/FFFFFF?text=Cabanas' image: `${IMAGE_BASE}IMG_4224.webp`
}, },
{ {
title: 'Zona de acampe', title: 'Parrillas',
description: 'Amplios espacios verdes para instalar tu carpa.', // description: 'Misma parrilla desde un ángulo muy similar; se aprecia la estructura y el entorno de bosque y césped.',
image: 'https://placehold.co/800x600/EAD7C3/2F4F4F?text=Zona+de+Acampe' image: `${IMAGE_BASE}IMG_4225.webp`
}, },
{ {
title: 'Parrillas equipadas', title: 'Parrillas',
description: 'Parrillas listas con todo lo necesario para cocinar.', // description: 'Vista desde la cabecera de la parrilla hacia una gran explanada con pinos y un cartel a lo lejos.',
image: 'https://placehold.co/800x600/2F4F4F/FFFFFF?text=Parrillas' image: `${IMAGE_BASE}IMG_4227.webp`
}, },
{ {
title: 'Arroyo cristalino', title: 'Gran cantidad de sombra natural',
description: 'Agua fresca y clara dentro del predio para disfrutar.', // description: 'Campo abierto con pinos a la izquierda, monte al fondo y cielo con nubes marcadas.',
image: 'https://placehold.co/800x600/EAD7C3/2F4F4F?text=Arroyo' image: `${IMAGE_BASE}IMG_4228.webp`
}, },
{ {
title: 'Senderos naturales', title: 'Cruce del arroyo',
description: 'Caminos rodeados de vegetación para explorar.', // description: 'Camino de tierra que desemboca en una pasada/puentecito de hormigón entre árboles y vegetación.',
image: 'https://placehold.co/800x600/2F4F4F/FFFFFF?text=Senderos' image: `${IMAGE_BASE}IMG_4229.webp`
}, },
{ {
title: 'Área de descanso', title: 'Parrillas',
description: 'Espacios con sombra para relajarse y disfrutar.', // description: 'Parrilla en primer plano y, detrás, agua calma con árboles alrededor y un tronco flotando.',
image: 'https://placehold.co/800x600/EAD7C3/2F4F4F?text=Descanso' image: `${IMAGE_BASE}IMG_4232.webp`
}, },
{ {
title: 'Vista panorámica', title: 'Parrilla sobre la orilla',
description: 'Hermosos paisajes de la selva misionera.', // description: 'Primer plano de la pared de ladrillos y rejilla, con el agua y ramas colgantes de fondo.',
image: 'https://placehold.co/800x600/2F4F4F/FFFFFF?text=Vista+Panoramica' image: `${IMAGE_BASE}IMG_4233.webp`
},
{
title: 'Arroyo tranquila con mesa rústica',
// description: 'Vista de la arroyo con árboles; en primer plano aparece una mesa de madera tipo carrete.',
image: `${IMAGE_BASE}IMG_4234.webp`
},
{
title: 'Arroyo',
// description: 'Agua calma tipo arroyo, con árboles a ambos lados y reflejo del cielo nublado.',
image: `${IMAGE_BASE}IMG_4235.webp`
},
{
title: 'Puente de cemento sobre el arroyo',
// description: 'Vista del arroyo con la esquina de un vado/entrada de cemento en primer plano y vegetación densa alrededor.',
image: `${IMAGE_BASE}IMG_4236.webp`
},
{
title: 'Arroyo pedregoso con corriente pequeña',
// description: 'Tramo de arroyo bajo y rocoso, con pequeñas corrientes y mucha vegetación cerrada.',
image: `${IMAGE_BASE}IMG_4237.webp`
},
{
title: 'Claros del campo',
// description: 'Gran explanada de pasto con árboles; al fondo se ve un tractor y una estructura tipo quincho/galpón.',
image: `${IMAGE_BASE}IMG_4238.webp`
},
{
title: 'Cruce sombreado sobre el arroyo',
// description: 'Cruce de tierra/cemento junto al agua, con sombras de árboles y el arroyo extendiéndose hacia el fondo.',
image: `${IMAGE_BASE}IMG_4240.webp`
} }
] ]
const VIDEO_ITEMS = [
'656GdIPFvjE',
'5OpuBwlszB0',
'QtFkxb3wcYQ',
'OdMX991dFCg',
'EpDvw0fQP8Q',
'BCvTlTp3Gmo',
'LEojsBDbV0A',
'mPpbDCaG3D8'
]
const MAP_EMBED_URL = 'https://www.google.com/maps?q=Fenix%20Camping%20Misiones&output=embed' const MAP_EMBED_URL = 'https://www.google.com/maps?q=Fenix%20Camping%20Misiones&output=embed'
const MAP_LINK = 'https://maps.app.goo.gl/7LycqCiKgPXpbSUf8' const MAP_LINK = 'https://maps.app.goo.gl/7LycqCiKgPXpbSUf8'
const WHATSAPP_NUMBER = '+543765253409' const WHATSAPP_NUMBER = '+543765253409'
@@ -92,8 +135,8 @@ function App() {
Tu refugio para <br />reconectar con la calma. Tu refugio para <br />reconectar con la calma.
</h1> </h1>
<p className="hero-subtitle"> <p className="hero-subtitle">
Camping Fénix ofrece acceso directo al río, espacios verdes y todas las comodidades para una escapada Camping Fénix ofrece acceso directo al arroyo, espacios verdes y todas las comodidades para una escapada
perfecta en la selva. perfecta en el interior de Misiones.
</p> </p>
<div className="hero-actions"> <div className="hero-actions">
@@ -156,6 +199,29 @@ function App() {
</div> </div>
</section> </section>
<section id="videos" className="section videos-section">
<div className="container">
<div className="section-header">
<span className="eyebrow">Experiencia</span>
<h2>Vive la naturaleza</h2>
<p>Un vistazo a lo que te espera en Camping Fénix.</p>
</div>
<div className="video-grid">
{VIDEO_ITEMS.map((videoId) => (
<div className="video-wrapper" key={videoId}>
<iframe
src={`https://www.youtube.com/embed/${videoId}`}
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen
></iframe>
</div>
))}
</div>
</div>
</section>
<section id="ubicacion" className="section map-section"> <section id="ubicacion" className="section map-section">
<div className="container"> <div className="container">
<div className="section-header"> <div className="section-header">
@@ -200,7 +266,7 @@ function App() {
</div> </div>
<div className="footer-bottom"> <div className="footer-bottom">
<p>&copy; {year} Camping Fénix. Misiones, Argentina.</p> <p className="text-light">&copy; {year} Camping Fénix. Misiones, Argentina.</p>
</div> </div>
</div> </div>
</footer> </footer>

View File

@@ -359,6 +359,44 @@ p {
gap: 2rem; gap: 2rem;
} }
/* Videos Section */
.videos-section {
background-color: var(--bg-body);
}
.video-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
justify-content: center;
}
.video-wrapper {
position: relative;
width: 100%;
/* 9:16 Aspect Ratio */
padding-bottom: 177.77%;
background: var(--bg-surface);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-soft);
transition: transform 0.3s ease;
}
.video-wrapper:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.gallery-item { .gallery-item {
background: var(--bg-surface); background: var(--bg-surface);
border-radius: var(--radius-md); border-radius: var(--radius-md);
@@ -374,7 +412,7 @@ p {
.gallery-image-wrapper { .gallery-image-wrapper {
width: 100%; width: 100%;
height: 250px; height: clamp(280px, 32vw, 380px);
overflow: hidden; overflow: hidden;
background-color: var(--secondary); /* placeholder color */ background-color: var(--secondary); /* placeholder color */
} }
@@ -447,10 +485,14 @@ p {
border-top: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 2rem; padding-top: 2rem;
font-size: 0.85rem; font-size: 0.85rem;
color: rgba(255, 255, 255, 0.6); color: var(--text-light);
} }
/* Utilities */ /* Utilities */
.text-light {
color: var(--text-light);
}
.hidden { .hidden {
display: none; display: none;
} }

View File

@@ -400,6 +400,44 @@ p {
color: var(--primary); color: var(--primary);
} }
/* Videos Section */
.videos-section {
background-color: var(--bg-body);
}
.video-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
justify-content: center;
}
.video-wrapper {
position: relative;
width: 100%;
/* 9:16 Aspect Ratio */
padding-bottom: 177.77%;
background: var(--bg-surface);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-soft);
transition: transform 0.3s ease;
}
.video-wrapper:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
/* Map Section */ /* Map Section */
.map-section { .map-section {
background-color: var(--bg-alt); background-color: var(--bg-alt);
@@ -447,10 +485,14 @@ p {
border-top: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 2rem; padding-top: 2rem;
font-size: 0.85rem; font-size: 0.85rem;
color: rgba(255, 255, 255, 0.6); color: var(--text-light);
} }
/* Utilities */ /* Utilities */
.text-light {
color: var(--text-light);
}
.hidden { .hidden {
display: none; display: none;
} }

BIN
static/images/IMG_4222.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 KiB

BIN
static/images/IMG_4223.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

BIN
static/images/IMG_4224.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

BIN
static/images/IMG_4225.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 KiB

BIN
static/images/IMG_4227.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 KiB

BIN
static/images/IMG_4228.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

BIN
static/images/IMG_4229.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

BIN
static/images/IMG_4232.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 KiB

BIN
static/images/IMG_4233.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 KiB

BIN
static/images/IMG_4234.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

BIN
static/images/IMG_4235.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

BIN
static/images/IMG_4236.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

BIN
static/images/IMG_4237.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

BIN
static/images/IMG_4238.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

BIN
static/images/IMG_4240.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

View File

@@ -88,6 +88,29 @@
</div> </div>
</section> </section>
<section id="videos" class="section videos-section">
<div class="container">
<div class="section-header">
<span class="eyebrow">Experiencia</span>
<h2>Vive la naturaleza</h2>
<p>Un vistazo a lo que te espera en Camping Fénix.</p>
</div>
<div class="video-grid">
{% for video_id in video_items %}
<div class="video-wrapper">
<iframe
src="https://www.youtube.com/embed/{{ video_id }}"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen>
</iframe>
</div>
{% endfor %}
</div>
</div>
</section>
<section id="ubicacion" class="section map-section"> <section id="ubicacion" class="section map-section">
<div class="container"> <div class="container">
<div class="section-header"> <div class="section-header">
@@ -115,7 +138,7 @@
</div> </div>
<div class="footer-bottom"> <div class="footer-bottom">
<p>&copy; 2024 Camping Fénix. Misiones, Argentina.</p> <p class="text-light">&copy; {{ year }} Camping Fénix. Misiones, Argentina.</p>
</div> </div>
</div> </div>
</footer> </footer>

View File

@@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react'
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
publicDir: 'static',
server: { server: {
host: true, host: true,
port: 5173 port: 5173