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