carousel.html.twig 554 B

123456789101112
  1. <div class="swiper">
  2. <div class="swiper-wrapper">
  3. {% for image in page.media.images %}
  4. <div class="swiper-slide">
  5. <img class="lazy loader" src="{{ url('theme://images/loader/rolling.svg') }}" data-src="{{ image.url }}" alt="{{ page.title }}" />
  6. </div>
  7. {% endfor %}
  8. </div>
  9. <div class="swiper-button-prev"></div>
  10. <div class="swiper-button-next"></div>
  11. <div id="close-carousel" class="picto" data-src="{{ url('theme://images/pictos/cross.svg') }}" aria-hidden="true"></div>
  12. </div>