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