vendor/crehler/mojebambino-engine/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_search %}
  3.     <div class="col-12 order-2 col-md order-sm-1 header-search-col">
  4.         <div class="row">
  5.             {# remove #}
  6.             <div class="col">
  7.                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  8.             </div>
  9.         </div>
  10.     </div>
  11. {% endblock %}
  12. {% block layout_header_actions %}
  13.     <div class="col-12 order-1 col-md-auto order-md-2 header-actions-col">
  14.         <div class="row no-gutters">
  15.             {% block layout_header_navigation_toggle %}
  16.                 <div class="col-auto d-lg-none">
  17.                     <div class="menu-button">
  18.                         {% block layout_header_navigation_toggle_button %}
  19.                             <button class="btn nav-main-toggle-btn header-actions-btn"
  20.                                     type="button"
  21.                                     data-offcanvas-menu="true"
  22.                                     aria-label="{{ "general.menuLink"|trans|striptags }}">
  23.                                 {% block layout_header_navigation_toggle_button_icon %}
  24.                                     {% sw_icon 'stack' %}
  25.                                 {% endblock %}
  26.                                 <label>{{ "bambino.header.menuButton"|trans|raw }}</label>
  27.                             </button>
  28.                         {% endblock %}
  29.                     </div>
  30.                 </div>
  31.             {% endblock %}
  32.             {% block layout_header_search_toggle %}
  33. {#                 remove#}
  34.             {% endblock %}
  35.             {% block layout_header_actions_account %}
  36.                 {{ parent() }}
  37.             {% endblock %}
  38.             <div class="col-auto">
  39.                 <div>
  40.                     <a class="btn header-actions-btn"
  41.                        href="{{ path('frontend.shopping-list.page') }}"
  42.                        data-shopping-list-widget="true"
  43.                        title="{{ "bambino.header.desktop.shoppingList"|trans|raw }}"
  44.                        aria-label="{{ "bambino.header.desktop.shoppingList"|trans|raw }}">
  45.                         {% sw_include "@CrehlerShoppingList/storefront/layout/header/actions/shopping-list-widget.html.twig" %}
  46.                     </a>
  47.                 </div>
  48.             </div>
  49.             <div class="col-auto">
  50.                 <div>
  51.                     <a class="btn header-actions-btn"
  52.                        href="{{ path('frontend.checkout.cart.page') }}"
  53.                        title="{{ "bambino.header.desktop.quickOrder"|trans|raw }}"
  54.                        aria-label="{{ "bambino.header.desktop.quickOrder"|trans|raw }}">
  55.                         {% sw_icon 'cockpit' %}
  56.                         <label class="d-none d-lg-block">{{ "bambino.header.desktop.quickOrder"|trans|raw }}</label>
  57.                         <label class="d-lg-none">{{ "bambino.header.mobile.quickOrder"|trans|raw }}</label>
  58.                     </a>
  59.                 </div>
  60.             </div>
  61.             {% block layout_header_actions_cart %}
  62.                 <div class="col-auto">
  63.                     <div class="header-cart"
  64.                          data-offcanvas-cart="true">
  65.                         <a class="btn header-cart-btn header-actions-btn"
  66.                            href="{{ path('frontend.checkout.cart.page') }}"
  67.                            data-cart-widget="true"
  68.                            title="{{ 'checkout.cartTitle'|trans|striptags }}"
  69.                            aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  70.                             {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  71.                         </a>
  72.                     </div>
  73.                 </div>
  74.             {% endblock %}
  75.         </div>
  76.     </div>
  77. {% endblock %}