custom/plugins/Goesting/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_navigation %}
  5.         <div class="row align-items-center justify-content-between header-row">
  6.             {% block layout_header_logo %}
  7.                 <div class="col-12 col-lg-auto header-logo-col">
  8.                     {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  9.                 </div>
  10.             {% endblock %}
  11.             {% block layout_header_nav_actions %}
  12.                 <div class="col-12 col-lg-auto">
  13.                     <div class="row">
  14.                         {% block layout_header_nav %}
  15.                             <div class="col-12 col-lg-auto header-nav-col">
  16.                                 {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  17.                             </div>
  18.                         {% endblock %}
  19.                         {% block layout_header_actions %}
  20.                             <div class="col-12 col-lg-auto header-actions-col">
  21.                                 <div class="row {{ gridNoGuttersClass }}">
  22.                                     {% block layout_header_navigation_toggle %}
  23.                                         <div class="col d-sm-none">
  24.                                             <div class="menu-button">
  25.                                                 {% block layout_header_navigation_toggle_button %}
  26.                                                     <button class="btn nav-main-toggle-btn header-actions-btn"
  27.                                                             type="button"
  28.                                                             data-offcanvas-menu="true"
  29.                                                             aria-label="{{ "general.menuLink"|trans|striptags }}">
  30.                                                         {% block layout_header_navigation_toggle_button_icon %}
  31.                                                             {% sw_icon 'stack' %}
  32.                                                         {% endblock %}
  33.                                                     </button>
  34.                                                 {% endblock %}
  35.                                             </div>
  36.                                         </div>
  37.                                     {% endblock %}
  38.                                     {% block layout_header_search_toggle %}
  39.                                         <div class="col-auto d-sm-none">
  40.                                             <div class="search-toggle">
  41.                                                 <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  42.                                                         type="button"
  43.                                                         {{ dataBsToggleAttr }}="collapse"
  44.                                                         {{ dataBsTargetAttr }}="#searchCollapse"
  45.                                                         aria-expanded="false"
  46.                                                         aria-controls="searchCollapse"
  47.                                                         aria-label="{{ "header.searchButton"|trans|striptags }}">
  48.                                                     {% sw_icon 'search' %}
  49.                                                 </button>
  50.                                             </div>
  51.                                         </div>
  52.                                     {% endblock %}
  53.                                     {% if config('core.cart.wishlistEnabled') %}
  54.                                         {% block layout_header_actions_wishlist %}
  55.                                             <div class="col-auto">
  56.                                                 <div class="header-wishlist">
  57.                                                     <a class="btn header-wishlist-btn header-actions-btn"
  58.                                                     href="{{ path('frontend.wishlist.page') }}"
  59.                                                     title="{{ 'header.wishlist'|trans|striptags }}"
  60.                                                     aria-label="{{ 'header.wishlist'|trans|striptags }}">
  61.                                                         {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  62.                                                     </a>
  63.                                                 </div>
  64.                                             </div>
  65.                                         {% endblock %}
  66.                                     {% endif %}
  67.                                     {% block layout_header_actions_account %}
  68.                                         <div class="col-auto">
  69.                                             <div class="account-menu">
  70.                                                 {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  71.                                             </div>
  72.                                         </div>
  73.                                     {% endblock %}
  74.                                     {% block layout_header_actions_cart %}
  75.                                         <div class="col-auto">
  76.                                             <div class="header-cart"
  77.                                                 data-offcanvas-cart="true">
  78.                                                 <a class="btn header-cart-btn header-actions-btn"
  79.                                                 href="{{ path('frontend.checkout.cart.page') }}"
  80.                                                 data-cart-widget="true"
  81.                                                 title="{{ 'checkout.cartTitle'|trans|striptags }}"
  82.                                                 aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  83.                                                     {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  84.                                                 </a>
  85.                                             </div>
  86.                                         </div>
  87.                                     {% endblock %}
  88.                                 </div>
  89.                             </div>
  90.                         {% endblock %}
  91.                     </div>
  92.                 </div>
  93.             {% endblock %}
  94.         </div>
  95.     {% endblock %}