custom/plugins/MadBodymedTheme/src/Resources/views/storefront/layout/header/header.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
  2. {% block layout_header_navigation %}
  3.     <div class="row align-items-center header-row">
  4.         {% block layout_header_logo %}
  5.             <div class="col-auto d-xl-none p-0 header-menu-button-col">
  6.                 <div class="menu-button">
  7.                     {% block layout_header_navigation_toggle_button %}
  8.                         <button class="btn nav-main-toggle-btn header-actions-btn"
  9.                                 type="button"
  10.                                 data-offcanvas-menu="true"
  11.                                 aria-label="{{ "general.menuLink"|trans|striptags }}">
  12.                             {% block layout_header_navigation_toggle_button_icon %}
  13.                                 {% sw_icon 'stack' %}
  14.                             {% endblock %}
  15.                         </button>
  16.                     {% endblock %}
  17.                 </div>
  18.             </div>
  19.             {{ parent() }}
  20.             <div class="col-auto d-none d-md-flex header-highlight-nav-col">
  21.                 <div class="header-highlight-nav">
  22.                     <a class="header-highlight-nav-item {% if activeRoute is same as('frontend.offer.listing') %} active{% endif %}"
  23.                        href="{{ "general.allProducts.link"|trans }}"
  24.                        itemprop="url"
  25.                        title="{{ "general.allProducts.name"|trans }}">
  26.                         {{ "general.allProducts.name"|trans }}
  27.                     </a>
  28.                     <a class="header-highlight-nav-item {% if activeRoute is same as('frontend.offer.listing') %} active{% endif %}"
  29.                        href="/Angebote/"
  30.                        itemprop="url"
  31.                        title="{{ "offers.linkTitel"|trans }}">
  32.                         {{ "offers.linkName"|trans }}
  33.                     </a>
  34.                 </div>
  35.             </div>
  36.         {% endblock %}
  37.         {% block layout_header_search %}
  38.             <div class="col-12 d-xl-none header-search-wrap">
  39.                 {{ parent() }}
  40.             </div>
  41.         {% endblock %}
  42.         {% block layout_header_actions %}
  43.             <div class="col-12 order-1 col-sm-auto order-sm-2 header-actions-col">
  44.                 <div class="row no-gutters">
  45.                     {% block layout_header_navigation_toggle %}
  46.                     {% endblock %}
  47.                     {% block layout_header_search_toggle %}
  48.                       <div class="col-auto d-xl-none">
  49.                             <div class="search-toggle">
  50.                                 <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  51.                                         type="button"
  52.                                         data-toggle="collapse"
  53.                                         data-target="#searchCollapse"
  54.                                         aria-expanded="false"
  55.                                         aria-controls="searchCollapse"
  56.                                         aria-label="{{ "header.searchButton"|trans|striptags }}">
  57.                                     {% sw_icon 'search' %}
  58.                                     <div class="d-none d-sm-block header-actions-btn-text">{{ "header.searchButton"|trans|striptags }}</div>
  59.                                 </button>
  60.                             </div>
  61.                         </div>
  62.                         <div class="d-none d-xl-block">
  63.                             <div id="searchCollapse">
  64.                                 <div class="col-3 col-sm header-search-col">
  65.                                     <div class="row">
  66.                                         <div class="col">
  67.                                             {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  68.                                         </div>
  69.                                     </div>
  70.                                 </div>
  71.                             </div>
  72.                         </div>
  73.                     {% endblock %}
  74.                     {% if shopware.config.core.cart.wishlistEnabled %}
  75.                         {% block layout_header_actions_wishlist %}
  76.                             {{ parent() }}
  77.                         {% endblock %}
  78.                     {% endif %}
  79.                     {% block layout_header_actions_account %}
  80.                         {{ parent() }}
  81.                     {% endblock %}
  82.                     {% block layout_header_actions_cart %}
  83.                       {{ parent() }}
  84.                     {% endblock %}
  85.                 </div>
  86.             </div>
  87.         {% endblock %}
  88.     </div>
  89.     <div class="row align-items-center nav-row">
  90.         <div class="nav-main d-none d-xl-block col-12">
  91.             {% block base_navigation_inner %}
  92.                 {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  93.             {% endblock %}
  94.         </div>
  95.     </div>
  96. {% endblock %}
  97. {% block layout_header_navigation_toggle_tablet %}
  98. {% endblock %}