templates/partials/layout/footer.html.twig line 1

Open in your IDE?
  1. {% set contactInformations = sulu_snippet_load_by_area('ContactInformations_area',null, app.ContactInformations) %}
  2.   {% set logos = sulu_snippet_load_by_area('logos_area',null) %}
  3. <footer class="footer relative bg-blue text-white h-[900px] overflow-hidden"
  4.   section-shade="dark">
  5.   <div class="footer-translate lg:h-full max-lg:!transform-none">
  6.     <div class="grid grid-cols-1 lg:grid-cols-[2fr_1.5fr] xl:grid-cols-3 lg:h-full">
  7.       {# left col #}
  8.       <div class="hidden xl:block overflow-hidden relative">
  9.         <div
  10.           class="absolute bottom-10 left-0 translate-x-[155px] -rotate-90 origin-bottom-left leading-[0.8] pointer-events-none">
  11.           <div class="text-[155px] whitespace-nowrap uppercase tracking-[0.13em]">{{ logos.content.footerLogoText }}</div>
  12.         </div>
  13.       </div>
  14.       {# center col #}
  15.       <div class="border-x border-white/5 pt-16  lg:pt-60">
  16.         <div class="flex flex-col justify-end lg:h-full">
  17.           {# Text content #}
  18.           <div class="flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14">
  19.             <div>
  20.               <p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsAdressTitle}}</p>
  21.               <address class="text-sm not-italic">
  22.                 <p class="font-extrabold">{{contactInformations.content.contactsCompanyName}}</p>
  23.                 <p class="mt-1">
  24.                   <span>{{contactInformations.content.contactsCompanyAdress}}</span>
  25.                 </p>
  26.               </address>
  27.             </div>
  28.             <div>
  29.               <p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsPhoneText}}</p>
  30.               <p class="mt-1">
  31.                 <a class=""
  32.                   href="tel:{{contactInformations.content.contactsPhone}}">{{contactInformations.content.contactsPhone}}</a>
  33.               </p>
  34.             </div>
  35.             <div>
  36.               <p class="uppercase text-[10px] font-extrabold">{{contactInformations.content.contactsEmailText}}</p>
  37.               <p class="mt-1">
  38.                 {% include 'partials/layout/contact_email.html.twig' with { email: contactInformations.content.contactsEmail } %}
  39.               </p>
  40.             </div>
  41.           </div>
  42.           {# Socials #}
  43.           <div
  44.             class="grid grid-cols-4 mx-8 lg:mx-0 mb-8 border-x lg:border-x-0 border-y border-white/5 divide-x divide-white/5">
  45.             {% for social in contactInformations.content.socials %}
  46.             <div class="h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group">
  47.               <a href="{{social.socialUrl}}"
  48.                 class="flex items-center justify-center w-full h-full text-[0px]"
  49.                 target="blank">
  50.                 {{social.socialName}}
  51.                 <svg class="block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease">
  52.                   <use xlink:href="#{{social.socialName}}"></use>
  53.                 </svg>
  54.               </a>
  55.             </div>
  56.             {% endfor %}
  57.           </div>
  58.           {# Footer menu #}
  59.           <div class="px-8 xl:px-12 pb-14 lg:mt-auto text-white/80">
  60.             <nav>
  61.               <ul class="flex flex-col md:flex-row gap-6 md:gap-8 text-sm tracking-tight whitespace-nowrap">
  62.               {% for item in sulu_navigation_root_tree('footer', 4) %}
  63.                 <li>
  64.                   <a class="text-white/80"
  65.                     href="{{ sulu_content_path(item.url) }}">{{item.title}}</a>
  66.                 </li>
  67.               {% endfor %}
  68.               </ul>
  69.             </nav>
  70.             <div class="text-sm tracking-tight mt-8">
  71.               <p class="text-white/80">
  72.                 <span>
  73.                   
  74.                    © {{ 'now' | date('Y') }}. {{ "OAKS GROUP SA. All rights reserved." | trans }}
  75.                 </span>
  76.                 <span class="block mt-2 whitespace-nowrap">
  77.                   {{ "Designed by" | trans }}
  78.                   <a class="text-white/80 underline"
  79.                     href="https://ewm.swiss/"
  80.                     target="blank">{{ "EWM Agency" | trans }}</a>
  81.                 </span>
  82.               </p>
  83.             </div>
  84.           </div>
  85.         </div>
  86.       </div>
  87.       {# right col #}
  88.       <div class="absolute right-0 bottom-0 flex items-center justify-end overflow-hidden pointer-events-none z_bg">
  89.         <svg
  90.           class="relative aspect-square min-w-[100vw] lg:min-w-[55vw] right-[0vw] translate-x-1/2 text-white/5 pointer-events-none yellow_bg">
  91.           <use xlink:href="#circle"></use>
  92.         </svg>
  93.       </div>
  94.     </div>
  95.   </div>
  96. </footer>