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

Open in your IDE?
  1. {% set footerpages = build_property_nav(document, 'navigationFooter').pages|filter(page => page.visible) %}
  2. <div class="py-8 bg-white sm:py-5">
  3.     <div class="container content-between justify-between px-5 space-y-3 sm:space-y-0 sm:flex sm:flex-col lg:flex-row sm:justify-between max-w-screen-xxl fhd:px-0">
  4.     <div class="flex flex-wrap items-center justify-center gap-4 lg:mb-0">
  5.       {% set sigel = pimcore_website_config('footer_sigle_icons') %}
  6.       {% if sigel and sigel.children is defined %}
  7.         {% for sigel in sigel.children %}
  8.           {{ sigel
  9.           ? sigel.thumbnail('race-owner-logo').html({
  10.             cacheBuster: true,
  11.             pictureAttributes: { class: 'w-36 ' },
  12.             imgAttributes: { class: 'w-36 ' }
  13.           })|raw }}
  14.         {% endfor %}
  15.       {% endif %}
  16.     </div>
  17.     <div class="flex py-8 text-center place-items-center place-content-center">
  18.       <p class="text-xs text-neutral-500">{{ pimcore_website_config('footer_disclaimer') }}</p>
  19.     </div>
  20.         <div class="text-lg text-center">
  21.         {{ pimcore_website_config('bar_copyright')|raw }}
  22.         </div>
  23.         <ul class="flex justify-center space-x-3">
  24.             <li class="flex items-center space-x-3">
  25.                 <a href="/{{app.request.locale}}" class="text-sm">
  26.                     {{ "footerbar-homepage"|trans }}
  27.                   </a>
  28.                 {% if footerpages %}<div class="h-3 border-r"></div>{% endif %}
  29.             </li>
  30.             {% for page in footerpages %}
  31.                 <li class="flex items-center space-x-3">
  32.                     <a class="text-sm {{ page.active ? 'font-bold' : '' }}" href="{{ page.href }}" target="{{ page.target }}">
  33.                         {{ page.label }}
  34.                     </a>
  35.                     {% if not loop.last %}
  36.                         <div class="h-3 border-r"></div>
  37.                     {% endif %}
  38.                 </li>
  39.             {% endfor %}
  40.         </ul>
  41.     </div>
  42. </div>