{# templates/faq/index.html.twig #}{% extends 'vitrine/base.html.twig' %}{% block title %}{% trans %}Galerie{% endtrans %}{% endblock %}{% block description %}{% trans %}Découvrez tout l'univers du spa à la bière{% endtrans %}{% endblock %}{% block stylesheets %} {{ parent() }} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.7.2/css/lightgallery.min.css" integrity="sha512-F2E+YYE1gkt0T5TVajAslgDfTEUQKtlu4ralVq78ViNxhKXQLrgQLLie8u1tVdG2vWnB3ute4hcdbiBtvJQh0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />{% endblock %}{% block javascripts %} {{ parent() }} <script src="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.7.2/lightgallery.min.js" integrity="sha512-jEJ0OA9fwz5wUn6rVfGhAXiiCSGrjYCwtQRUwI/wRGEuWRZxrnxoeDoNc+Pnhx8qwKVHs2BRQrVR9RE6T4UHBg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>{% endblock %}{% block main %} <div class="w-full flexcol items-center z-10 relative "> <section class="flexcol gap-16 pt-32"> <h2 class="text-center w-full text-4xl"> {% trans %}Galerie{% endtrans %} </h2>{# <div class="flex gap-10 flex-wrap w-full justify-center">#}{# <a href="#" class="active clickable not-animate">{% trans %}Tous{% endtrans %}</a>#}{# <a href="#" class"clickable not-animate">{% trans %}Paris{% endtrans %}</a>#}{# <a href="#" class"clickable not-animate">{% trans %}Genève{% endtrans %}</a>#}{# <a href="#" class"clickable not-animate">{% trans %}Lyon{% endtrans %}</a>#}{# <a href="#" class"clickable not-animate">{% trans %}Strasbourg{% endtrans %}</a>#}{# </div>#} <div class="flexcol gap-16" data-town="{% trans %}Tous{% endtrans %}"> <div id="gallery_taaka" class="flexcol gap-4" data-town="{% trans %}Paris{% endtrans %}"> <div class="image-layout flexcol gap-4"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-13.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-13.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-14.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-14.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-15.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-15.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-16.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-16.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-17.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-17.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-18.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-18.jpg')}}"> </a> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-19.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-19.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-20.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-20.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-21.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-21.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-22.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-22.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-23.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-23.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-24.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover" src="{{asset('/vitrine/images/gallery/photo-24.jpg')}}"> </a> </div> </div> </div> <div class="image-layout hidden flexcol gap-4"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-1.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-1.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-2.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-2.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-3.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-3.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-4.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-4.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-5.webp')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-5.webp')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-6.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-6.jpg')}}" > </a> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-7.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-7.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-8.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-8.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-9.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-9.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-10.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-10.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-11.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-11.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-12.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-12.jpg')}}"> </a> </div> </div> </div> <div class="image-layout hidden flexcol gap-4"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-25.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-25.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-26.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-26.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-27.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-27.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-28.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-28.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-29.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-29.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-30.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-30.jpg')}}" > </a> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-31.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-31.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-32.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-32.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-33.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-33.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-34.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-34.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-35.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-35.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-36.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-36.jpg')}}"> </a> </div> </div> </div> <div class="image-layout hidden flexcol gap-4"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-37.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-37.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-38.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-38.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-39.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-39.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-40.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-40.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-41.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-41.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-42.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-42.jpg')}}" > </a> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 h-min overflow-hidden"> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-43.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-43.jpg')}}"> </a> <a href="{{asset('/vitrine/images/gallery/photo-44.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-44.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-45.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-45.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-46.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-46.jpg')}}"> </a> </div> <div class="flexcol h-full gap-4"> <a href="{{asset('/vitrine/images/gallery/photo-47.jpg')}}" class="h-1/3 min-h-64 overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-47.jpg')}}" > </a> <a href="{{asset('/vitrine/images/gallery/photo-48.jpg')}}" class="h-2/3 min-h-[550px] overflow-hidden" data-sub-html=" "> <img alt="Generique picture" loading="lazy" class="h-full w-full object-cover image-brightness" src="{{asset('/vitrine/images/gallery/photo-48.jpg')}}"> </a> </div> </div> </div> </div> <div class="flex justify-center w-full"> <button id="load-more-images" type="button" class="px-12 py-3 font-semibold bg-vitrineOrange text-sm w-max hover:opacity-100 hover:text-vitrineOrange hover:bg-white relative fade-in"> {% trans %}Plus{% endtrans %} </button> </div> </div> </section> {% include "vitrine/layout/footer.html.twig" %} </div> <script> const license = "494A2C92-4FAE-4040-8348-9E5CDBF9D92E"; lightGallery(document.getElementById('gallery_taaka'), { licenseKey: license, selector: 'a', download: false, }); const loadMoreImages = document.getElementById('load-more-images'); const imageLayout = document.querySelectorAll('.image-layout'); const imageLayouts = Array.from(imageLayout); let currentIndex = 1; const updateButtonVisibility = () => { if (currentIndex >= imageLayouts.length) { loadMoreImages.style.display = 'none'; } } updateButtonVisibility(); loadMoreImages.addEventListener('click', () => { if (currentIndex < imageLayouts.length) { imageLayouts[currentIndex].classList.remove('hidden'); currentIndex++; updateButtonVisibility(); } }); </script>{% endblock %}