ADD new pages

This commit is contained in:
2025-07-30 11:25:56 +00:00
parent edb558c2d5
commit cd6bac2844
8 changed files with 309 additions and 15 deletions

View File

@ -6,10 +6,10 @@
<div class="col-lg-8 col-12 mb-4 mb-lg-0">
<p class="mb-4 position-relative fs-4 fw-bold sp-module-title">VÍDEOS</p>
{% if videos_carousel %}
{% if videos %}
<div id="videosCarousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
{% for pair in videos_carousel|batch(2, null) %}
{% for pair in videos|batch(2, null) %}
<div class="carousel-item {% if loop.first %}active{% endif %}">
<div class="row">
@ -68,7 +68,7 @@
</div>
{# carousel controls buttons#}
{% if videos_carousel|length > 1 %}
{% if videos|length > 1 %}
<button class="carousel-control-prev" type="button" data-bs-target="#videosCarousel" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Anterior</span>
@ -79,7 +79,7 @@
</button>
{# <div class="carousel-indicators">
{% for pair in videos_carousel|batch(2, null) %}
{% for pair in videos|batch(2, null) %}
<button type="button" data-bs-target="#videosCarousel" data-bs-slide-to="{{ loop.index0 }}"
{% if loop.first %}class="active"{% endif %} aria-label="Slide {{ loop.index }}"></button>
{% endfor %}