custom/plugins/LiamoriaBaseTheme/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. {% endblock %}
  4. {% block layout_header_logo %}
  5.     <div class="col-12 col-lg-auto header-logo-col">
  6.         {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  7.     </div>
  8. {% endblock %}
  9. {% block layout_header_search %}
  10.     <div class="col-12 order-2 col-sm order-sm-1 header-search-col">
  11.         <div class="row">
  12.             <div class="col-sm-auto d-none d-sm-block d-lg-none">
  13.                 {% block layout_header_navigation_toggle_tablet %}
  14.                     <div class="nav-main-toggle">
  15.                         {% block layout_header_navigation_toggle_tablet_button %}
  16.                             <button class="btn nav-main-toggle-btn header-actions-btn"
  17.                                     type="button"
  18.                                     data-offcanvas-menu="true"
  19.                                     aria-label="{{ "general.menuLink"|trans|striptags }}">
  20.                                 {% block layout_header_navigation_toggle_tablet_button_icon %}
  21.                                     {% sw_icon 'stack' %}
  22.                                 {% endblock %}
  23.                             </button>
  24.                         {% endblock %}
  25.                     </div>
  26.                 {% endblock %}
  27.             </div>
  28.             <div class="col">
  29.                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  30.             </div>
  31.         </div>
  32.     </div>
  33. {% endblock %}
  34. {% block layout_header_search_toggle %}
  35.     <div class="col-auto">
  36.         <div class="account-menu">
  37.             {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  38.         </div>
  39.     </div>
  40.     <div class="col-auto">
  41.         <div class="search-toggle">
  42.             <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  43.                     type="button"
  44.             {{ dataBsToggleAttr }}="collapse"
  45.             {{ dataBsTargetAttr }}="#searchCollapse"
  46.             aria-expanded="false"
  47.             aria-controls="searchCollapse"
  48.             aria-label="{{ "header.searchButton"|trans|striptags }}">
  49.             {% sw_icon 'search' %}
  50.             </button>
  51.         </div>
  52.     </div>
  53. {% endblock %}
  54. {% block layout_header_actions_account %}
  55. {% endblock %}