templates/components/footer_landing.html.twig line 1

  1. <footer class="bg-[#ffcc00] text-black py-5 px-4">
  2.     <div class="container mx-auto">
  3.         <div class="flex flex-col md:flex-row items-center gap-4 md:gap-12">
  4.             <div class="flex items-center gap-2 -ml-4">
  5.                 <img src="{{ asset('/images/site/logo_footer.png') }}" alt="Roomlers Logo" class="h-16">
  6.                 <h2 class="text-2xl font-bold">{{ 'footer.roomlers'|trans }}</h2>
  7.             </div>
  8.             <div class="text-2xl font-bold text-left md:w-2/5 md:ml-20 lg:ml-80">
  9.                 {{ 'footer.tagline'|trans|raw }}
  10.             </div>
  11.         </div>
  12.         <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mt-8">
  13.             <div>
  14.                 <h3 class="text-xl font-bold mb-4">{{ 'footer.roomlers'|trans }}</h3>
  15.                 <ul class="space-y-2">
  16.                     <li><a href="{{ path('qui') }}" class="hover:underline">{{ 'footer.about_us'|trans }}</a></li>
  17.                     <li><a href="{{ path('services') }}" class="hover:underline">{{ 'footer.our_services'|trans }}</a></li>
  18.                     <li><a href="{{ path('partenaire') }}" class="hover:underline">{{ 'footer.our_partners'|trans }}</a></li>
  19.                     <li><a href="{{ path('contact') }}" class="hover:underline">{{ 'footer.contact_us'|trans }}</a></li>
  20.                 </ul>
  21.             </div>
  22.             <div>
  23.                 <h3 class="text-xl font-bold mb-4">{{ 'footer.help_and_advice'|trans }}</h3>
  24.                 <ul class="space-y-2">
  25.                     <li><a href="{{ path('attestation') }}" class="hover:underline">{{ 'footer.accommodation_prereservation'|trans }}</a></li>
  26.                     <li><a href="{{ path('assurance') }}" class="hover:underline">{{ 'footer.home_insurance'|trans }}</a></li>
  27.                 </ul>
  28.             </div>
  29.             <div>
  30.                 <h3 class="text-xl font-bold mb-4">{{ 'footer.guides'|trans }}</h3>
  31.                 <ul class="space-y-2">
  32.                     <!-- Hidden Links -->
  33.                 </ul>
  34.             </div>
  35.         </div>
  36.         <div class="mt-8 text-center text-sm">
  37.             <p>
  38.                 <span id="copyright"></span> |
  39.                 <a href="{{ path('mentions_legales') }}" class="hover:underline">{{ 'footer.legal_notices'|trans }}</a> |
  40.                 <a href="{{ path('cookies') }}" class="hover:underline">{{ 'footer.cookie_policy'|trans }}</a> |
  41.                 <a href="{{ path('privacy') }}" class="hover:underline">{{ 'footer.privacy_policy'|trans }}</a> |
  42.                 <a href="{{ path('cgv') }}" class="hover:underline">{{ 'footer.terms_and_conditions'|trans }}</a>
  43.             </p>
  44.             <div class="flex justify-center items-center mt-4 space-x-4">
  45.                 <a href="https://www.instagram.com/roomlers/" target="_blank" rel="noopener noreferrer">
  46.                     <img src="{{ asset('/images/icons/instagram.png') }}" alt="Instagram" class="h-6">
  47.                 </a>
  48.                 <a href="https://www.linkedin.com/company/roomlers/" target="_blank" rel="noopener noreferrer">
  49.                     <img src="{{ asset('/images/icons/linkedin.png') }}" alt="LinkedIn" class="h-6">
  50.                 </a>
  51.                 <a href="https://www.facebook.com/roomlers?locale=fr_FR" target="_blank" rel="noopener noreferrer">
  52.                     <img src="{{ asset('/images/icons/noir.png') }}" alt="Facebook" class="h-6">
  53.                 </a>
  54.             </div>
  55.         </div>
  56.     </div>
  57. </footer>
  58. <script>
  59.     // Récupérer l'élément copyright
  60.     const copyrightElement = document.getElementById('copyright');
  61.     // Obtenir l'année en cours
  62.     const currentYear = new Date().getFullYear();
  63.     // Définir le texte du copyright
  64.     copyrightElement.textContent = `© ${currentYear} Roomlers`;
  65. </script>