custom/plugins/C108VisareTheme/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_actions %}
  11.                 <div class="col-12 order-1 order-sm-2 header-actions-col">
  12.                     <div class="row no-gutters">
  13.                         
  14.                         {% block layout_header_navigation_toggle %}
  15.                             <div class="col d-sml-none">
  16.                                 <div class="menu-button">
  17.                                     {% block layout_header_navigation_toggle_button %}
  18.                                         <button class="btn nav-main-toggle-btn header-actions-btn"
  19.                                                 type="button"
  20.                                                 data-offcanvas-menu="true"
  21.                                                 aria-label="{{ "general.menuLink"|trans|striptags }}">
  22.                                             {% block layout_header_navigation_toggle_button_icon %}
  23.                                                 {% sw_icon 'stack' %}
  24.                                             {% endblock %}
  25.                                         </button>
  26.                                     {% endblock %}
  27.                                 </div>
  28.                             </div>
  29.                         {% endblock %}
  30.                         {% if config('core.cart.wishlistEnabled') %}
  31.                             {% block layout_header_actions_wishlist %}
  32.                                 <div class="col-auto">
  33.                                     <div class="header-wishlist">
  34.                                         <a class="btn header-wishlist-btn header-actions-btn"
  35.                                            href="{{ path('frontend.wishlist.page') }}"
  36.                                            title="{{ 'header.wishlist'|trans|striptags }}"
  37.                                            aria-label="{{ 'header.wishlist'|trans|striptags }}">
  38.                                             {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  39.                                         </a>
  40.                                     </div>
  41.                                 </div>
  42.                             {% endblock %}
  43.                         {% endif %}
  44.                         {% block layout_header_actions_account %}
  45.                             <div class="col-auto">
  46.                                 <div class="account-menu">
  47.                                     {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  48.                                 </div>
  49.                             </div>
  50.                         {% endblock %}
  51.                         {% block layout_header_actions_cart %}
  52.                             <div class="col-auto">
  53.                                 <div class="header-cart"
  54.                                      data-offcanvas-cart="true">
  55.                                     <a class="btn header-cart-btn header-actions-btn"
  56.                                        href="{{ path('frontend.checkout.cart.page') }}"
  57.                                        data-cart-widget="true"
  58.                                        title="{{ 'checkout.cartTitle'|trans|striptags }}"
  59.                                        aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  60.                                         {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  61.                                     </a>
  62.                                 </div>
  63.                             </div>
  64.                         {% endblock %}
  65.                         
  66.                     </div>
  67.                 </div>
  68.             {% endblock %}
  69.         </div>
  70.     {% endblock %}
  71. {% endblock %}