templates/layout/header/header.html.twig line 1

Open in your IDE?
  1. {# Desktop #}
  2. <div data-nav-target="header" class="{% if not editmode %}sticky top-0 z-1500{% endif%}  bg-white max-w-screen-xxl">
  3.   <div class="container items-center justify-between hidden px-6 py-4 lg:flex fhd:px-0">
  4.     {# LOGO #}
  5.     <a class="w-56" href="/{{ app.request.locale }}" title="{{ 'topbar-homepage' | trans }}">
  6.       <img src="{{ pimcore_website_config('logo') }}" alt="logo" />
  7.     </a>
  8.     {# Navigation #}
  9.     {% include 'layout/navigation/navbar.html.twig' %}
  10.   </div>
  11. </div>
  12. {# Mobile #}
  13. <div id="mobile-navigation" class="sticky top-0 flex items-center justify-between p-4 bg-white shadow-md lg:shadow-none lg:hidden z-1500">
  14.   {# LOGO #}
  15.   <a class="ml-2" href="/{{ app.request.locale }}" title="{{ 'topbar-homepage' | trans }}">
  16.     <img class="w-auto h-12" src="{{ pimcore_website_config('logo') }}" alt="logo" />
  17.   </a>
  18.   <div class="flex items-center mr-4 space-x-4">
  19.     <a class="w-6 h-6" href="{{ path('search_index', { 'form[q]': 'search.keywords.news' | trans }) }}">
  20.       {% include 'icons/search.svg.twig' ignore missing with {
  21.         class: 'h-6 w-6 text-black'
  22.       } %}
  23.     </a>
  24.     {# Mobile Menu Button #}
  25.     {# <div class="w-16 h-16 pt-1">
  26.       <a class=" burger" data-action="nav#toggle">
  27.         <span></span>
  28.         <span></span>
  29.         <span></span>
  30.       </a>
  31.     </div> #}
  32.   </div>
  33. </div>