vendor/creativect/twepa-theme/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-sm-center header-row">
  4.         {% block layout_header_logo %}
  5.             <div class="col-2 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-md order-md-1 header-search-col">
  11.                 <div class="row">
  12.                     <div class="col-md-auto d-none d-md-block d-lg-none">
  13.                         {% block layout_header_navigation_toggle_tablet %}{% endblock %}
  14.                     </div>
  15.                     <div class="col">
  16.                         {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  17.                     </div>
  18.                 </div>
  19.             </div>
  20.         {% endblock %}
  21.         {% if block('layout_header_customer_service') is defined %}
  22.             {{ block('layout_header_customer_service') }}
  23.         {% endif %}
  24.         {% block layout_header_actions %}
  25.             <div class="col-10 order-1 col-md-auto order-md-2 header-actions-col">
  26.                 <div class="row align-items-center justify-content-end {{ gridNoGuttersClass }}">
  27.                     {% block layout_header_search_toggle %}{% endblock %}
  28.                     {% block layout_header_actions_account %}
  29.                         {{ parent() }}
  30.                     {% endblock %}
  31.                     {% if config('core.cart.wishlistEnabled') %}
  32.                         {% block layout_header_actions_wishlist %}
  33.                             <div class="col-auto">
  34.                                 <div class="header-wishlist">
  35.                                     <a class="btn header-wishlist-btn header-actions-btn"
  36.                                        href="{{ path('frontend.wishlist.page') }}"
  37.                                        title="{{ 'header.wishlist'|trans|striptags }}"
  38.                                        aria-label="{{ 'header.wishlist'|trans|striptags }}">
  39.                                         {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  40.                                         <span class="content d-none d-md-block">{{ "header.wishlist.label"|trans|striptags }}</span>
  41.                                     </a>
  42.                                 </div>
  43.                             </div>
  44.                         {% endblock %}
  45.                     {% endif %}
  46.                     {% block layout_header_actions_cart %}
  47.                         <div class="col-auto">
  48.                             <div class="header-cart"
  49.                                  data-offcanvas-cart="true">
  50.                                 <a class="btn header-cart-btn header-actions-btn"
  51.                                    href="{{ path('frontend.checkout.cart.page') }}"
  52.                                    data-cart-widget="true"
  53.                                    title="{{ 'checkout.cartTitle'|trans|striptags }}"
  54.                                    aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  55.                                     {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  56.                                 </a>
  57.                             </div>
  58.                         </div>
  59.                     {% endblock %}
  60.                     {% block layout_header_navigation_toggle %}
  61.                         <div class="col-auto d-sm-none">
  62.                             <div class="menu-button">
  63.                                 {% block layout_header_navigation_toggle_button %}
  64.                                     {{ parent() }}
  65.                                 {% endblock %}
  66.                             </div>
  67.                         </div>
  68.                         {% block layout_header_navigation_toggle_tablet_button %}
  69.                             <div class="col-sm-auto d-none d-sm-block d-xl-none">
  70.                                 <button class="btn nav-main-toggle-btn header-actions-btn"
  71.                                         type="button"
  72.                                         data-offcanvas-menu="true"
  73.                                         aria-label="{{ "general.menuLink"|trans|striptags }}">
  74.                                     {% block layout_header_navigation_toggle_tablet_button_icon %}
  75.                                         {% sw_icon 'stack' %}
  76.                                     {% endblock %}
  77.                                 </button>
  78.                             </div>
  79.                         {% endblock %}
  80.                     {% endblock %}
  81.                 </div>
  82.             </div>
  83.         {% endblock %}
  84.     </div>
  85. {% endblock %}