custom/plugins/DmSanettaTheme/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 %}{% endblock %}
  3. {% block layout_header_search %}
  4.     <div class="{% if not context.customer %}col-sm-10{% else %}col-sm-10{% endif %} col-xs-10 col-lg-auto order-1 header-search-col">
  5.         <div class="row">
  6.             <div class="col-auto d-block d-lg-none nav-main-container">
  7.                 {% block layout_header_navigation_toggle_tablet %}
  8.                     <div class="nav-main-toggle">
  9.                         {% block layout_header_navigation_toggle_tablet_button %}
  10.                             <button class="btn nav-main-toggle-btn header-actions-btn" type="button" data-offcanvas-menu="true" aria-label="{{ "general.menuLink"|trans|striptags }}">
  11.                                 {% block layout_header_navigation_toggle_tablet_button_icon %}
  12.                                     {% sw_icon 'stack' %}
  13.                                 {% endblock %}
  14.                             </button>
  15.                         {% endblock %}
  16.                     </div>
  17.                 {% endblock %}
  18.             </div>
  19.             <div class="col">
  20.                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  21.             </div>
  22.         </div>
  23.     </div>
  24. {% endblock %}
  25. {% block layout_header_actions %}
  26.     <div class="col-md-2 col-xs-2 order-1 col-lg-auto order-sm-2 header-actions-col">
  27.         <div class="row {{ gridNoGuttersClass }}">
  28.             {% if config('core.cart.wishlistEnabled') %}
  29.                 {% block layout_header_actions_wishlist %}
  30.                     {% if context.customer %}
  31.                         <div class="col-auto d-none d-lg-block">
  32.                             <div class="header-wishlist">
  33.                                 <a class="btn header-wishlist-btn header-actions-btn" href="{{ path('frontend.wishlist.page') }}" title="{{ 'header.wishlist'|trans|striptags }}" aria-label="{{ 'header.wishlist'|trans|striptags }}">
  34.                                     {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  35.                                 </a>
  36.                             </div>
  37.                         </div>
  38.                     {% endif %}
  39.                 {% endblock %}
  40.             {% endif %}
  41.             {% block layout_header_actions_account %}
  42.                 <div class="col-auto">
  43.                     <div class="d-lg-block d-none account-menu">
  44.                         {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  45.                     </div>
  46.                 </div>
  47.             {% endblock %}
  48.             {% block layout_header_actions_cart %}
  49.                 <div class="col-auto">
  50.                     <div class="header-cart" data-offcanvas-cart="true">
  51.                         <a class="btn header-cart-btn header-actions-btn" href="{{ path('frontend.checkout.cart.page') }}" data-cart-widget="true" title="{{ 'checkout.cartTitle'|trans|striptags }}" aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  52.                             {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  53.                         </a>
  54.                     </div>
  55.                 </div>
  56.             {% endblock %}
  57.         </div>
  58.     </div>
  59. {% endblock %}