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