custom/plugins/Wingsacademy/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_top_bar %}
  4.         {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  5.     {% endblock %}
  6.     {% block layout_header_navigation %}
  7.         <div class="header-row layout-header">
  8.             <div class="layout-header__menu-btn">
  9.                 <div class="menu-button">
  10.                     <button class="btn nav-main-toggle-btn header-actions-btn"
  11.                             type="button"
  12.                             data-offcanvas-menu="true"
  13.                             aria-label="{{ "general.menuLink"|trans|striptags }}">
  14.                              <img src="{{ asset('bundles/wingsacademy/burger-menu.svg', 'asset') }}" alt="burger-menu-icon" >
  15.                     </button>
  16.                 </div>
  17.             </div>
  18.             {% block layout_header_logo %}
  19.                 <div class="layout-header__logo">
  20.                     {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  21.                 </div>
  22.             {% endblock %}
  23.            {#  {% block layout_header_base_navigation %}
  24.                 <div class="col-12 col-sm nav-main d-none d-lg-block">
  25.                     {% block layout_header_base_navigation_inner %}
  26.                         {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  27.                     {% endblock %}
  28.                 </div>
  29.             {% endblock %} #}
  30.             {# <div class="px-4 bg-dark box-test">Box</div> #}
  31.              {% block layout_header_actions %}
  32.                 <div class="header-actions-col layout-header__actions">
  33.                     <div class="layout-header__actions__inner row {{ gridNoGuttersClass }}">
  34.                         <div class="search-toggle">
  35.                             <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  36.                                     type="button"
  37.                                     {{ dataBsToggleAttr }}="collapse"
  38.                                     {{ dataBsTargetAttr }}="#searchCollapse"
  39.                                     aria-expanded="false"
  40.                                     aria-controls="searchCollapse"
  41.                                     aria-label="{{ "header.searchButton"|trans|striptags }}">
  42.                                 <img src="{{ asset('bundles/wingsacademy/search.svg', 'asset') }}" alt="search-icon" >
  43.                             </button>
  44.                         </div>
  45.                         {# {% block layout_header_search_desktop %}
  46.                             <div class="col-auto header-search-col header-search-display-desktop">
  47.                                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  48.                             </div>
  49.                         {% endblock %} #}
  50.                         {# {% if config('core.cart.wishlistEnabled') %}
  51.                             {% block layout_header_actions_wishlist %}
  52.                                 <div class="col-auto">
  53.                                     <div class="header-wishlist">
  54.                                         <a class="btn header-wishlist-btn header-actions-btn"
  55.                                            href="{{ path('frontend.wishlist.page') }}"
  56.                                            title="{{ 'header.wishlist'|trans|striptags }}"
  57.                                            aria-label="{{ 'header.wishlist'|trans|striptags }}">
  58.                                             {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  59.                                         </a>
  60.                                     </div>
  61.                                 </div>
  62.                             {% endblock %}
  63.                         {% endif %} #}
  64.                         {% block layout_header_actions_account %}
  65.                             <div class="col-auto">
  66.                                 <div class="account-menu">
  67.                                     {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  68.                                 </div>
  69.                             </div>
  70.                         {% endblock %}
  71.                         {% block layout_header_actions_cart %}
  72.                             <div class="col-auto">
  73.                                 <div class="header-cart"
  74.                                      data-offcanvas-cart="true">
  75.                                     <a class="btn header-cart-btn header-actions-btn"
  76.                                        href="{{ path('frontend.checkout.cart.page') }}"
  77.                                        data-cart-widget="true"
  78.                                        title="{{ 'checkout.cartTitle'|trans|striptags }}"
  79.                                        aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  80.                                         {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  81.                                     </a>
  82.                                 </div>
  83.                             </div>
  84.                         {% endblock %}
  85.                     </div>
  86.                 </div>
  87.             {% endblock %}
  88.         </div>
  89.         {% block layout_header_search %}
  90.             <div class="col-12">
  91.                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  92.             </div>
  93.         {% endblock %}  
  94.     {% endblock %}
  95. {% endblock %}