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>
This commit is contained in:
@@ -88,6 +88,29 @@
|
||||
</div>
|
||||
</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">
|
||||
<div class="container">
|
||||
<div class="section-header">
|
||||
|
||||
Reference in New Issue
Block a user