custom/plugins/Gartencenter24Theme/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_top_bar %}
  3.      {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  4.  {% endblock %}
  5. {% block layout_header_navigation %}
  6.     <div class="row header-actions-row">
  7.         <div class="col-auto d-lg-none">
  8.             {% block layout_header_navigation_toggle %}
  9.                 <div class="header-toggle-menu">
  10.                     {% block layout_header_navigation_toggle_button %}
  11.                         <button class="btn nav-main-toggle-btn header-actions-btn"
  12.                                 type="button"
  13.                                 data-offcanvas-menu="true"
  14.                                 aria-label="{{ 'general.menuLink'|trans|striptags }}">
  15.                             {% block layout_header_navigation_toggle_button_icon %}
  16.                                 <svg width="20"
  17.                                      height="11"
  18.                                      fill="none"
  19.                                      xmlns="http://www.w3.org/2000/svg">
  20.                                     <path stroke="#fff" d="M0 .5h20M0 5.5h20M0 10.5h20" />
  21.                                 </svg>
  22.                             {% endblock %}
  23.                         </button>
  24.                     {% endblock %}
  25.                 </div>
  26.             {% endblock %}
  27.         </div>
  28.         <div class="col-lg-3 col">
  29.             {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  30.         </div>
  31.         <div class="col-lg-6 d-none d-lg-block d-xl-block">
  32.             {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  33.         </div>
  34.         <div class="col-lg-3 col-6">
  35.             {% block layout_header_actions %}
  36.                 <div class="header-actions-col">
  37.                     <div class="row justify-content-end flex-nowrap">
  38.                         {% if config('core.cart.wishlistEnabled') %}
  39.                             {{ block('layout_header_actions_wishlist') }}
  40.                         {% endif %}
  41.                         {{ block('layout_header_actions_cart') }}
  42.                         {{ block('layout_header_actions_account') }}
  43.                     </div>
  44.                 </div>
  45.             {% endblock %}
  46.         </div>
  47.     </div>
  48.     {% block layout_header_search %}
  49.         <div class="d-xl-none d-lg-none d-sm-block d-md-block">
  50.             {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  51.         </div>
  52.     {% endblock %}
  53.     {% block layout_header_mainmenu %}
  54.         {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  55.     {% endblock %}
  56. {% endblock %}