custom/plugins/MetalementsTheme/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.     <div class="wct-top-bar row">
  4.         <div class="wct-usp col-4">
  5.             <i class="fa-solid fa-euro-sign"></i>
  6.             <p>Kauf auf Rechnung</p>
  7.         </div>
  8.         <div class="wct-usp col-4">
  9.             <i class="fa-solid fa-truck-fast"></i>
  10.             <p>Versandkostenfrei</p>
  11.         </div>
  12.         <div class="wct-usp col-4">
  13.             <i class="fa-solid fa-check"></i>
  14.             <p>5 Jahre Garantie auf alle Teile</p>
  15.         </div>
  16.     </div>
  17.     {% block layout_header_navigation %}
  18.         <div class="row align-items-center header-row">
  19.             {% block layout_header_search %}
  20.                 <div class="col-4 header-search-col">
  21.                     <div class="row">
  22.                         <div class="col-sm-auto d-none d-sm-block d-lg-none">
  23.                             {% block layout_header_navigation_toggle_tablet %}
  24.                                 <div class="nav-main-toggle">
  25.                                     {% block layout_header_navigation_toggle_tablet_button %}
  26.                                         <button class="btn nav-main-toggle-btn header-actions-btn" type="button" data-offcanvas-menu="true" aria-label="{{ "general.menuLink"|trans|striptags }}">
  27.                                             {% block layout_header_navigation_toggle_tablet_button_icon %}
  28.                                                 {% sw_icon 'stack' %}
  29.                                             {% endblock %}
  30.                                         </button>
  31.                                     {% endblock %}
  32.                                 </div>
  33.                             {% endblock %}
  34.                         </div>
  35.                         <div class="col">
  36.                             {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  37.                         </div>
  38.                     </div>
  39.                 </div>
  40.             {% endblock %}
  41.             {% block layout_header_logo %}
  42.                 <div class="col-4 header-logo-col">
  43.                     {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  44.                 </div>
  45.             {% endblock %}
  46.             {% block layout_header_actions %}
  47.                 <div class="col-4 header-actions-col">
  48.                     <div class="row {{ gridNoGuttersClass }}">
  49.                         {% block layout_header_navigation_toggle %}
  50.                             <div class="col d-sm-none">
  51.                                 <div class="menu-button">
  52.                                     {% block layout_header_navigation_toggle_button %}
  53.                                         <button class="btn nav-main-toggle-btn header-actions-btn" type="button" data-offcanvas-menu="true" aria-label="{{ "general.menuLink"|trans|striptags }}">
  54.                                             {% block layout_header_navigation_toggle_button_icon %}
  55.                                                 {% sw_icon 'stack' %}
  56.                                             {% endblock %}
  57.                                         </button>
  58.                                     {% endblock %}
  59.                                 </div>
  60.                             </div>
  61.                         {% endblock %}
  62.                         {% block layout_header_search_toggle %}
  63.                             <div class="col-auto d-sm-none">
  64.                                 <div class="search-toggle">
  65.                                     <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed" type="button" {{ dataBsToggleAttr }}="collapse" {{ dataBsTargetAttr }}="#searchCollapse" aria-expanded="false" aria-controls="searchCollapse" aria-label="{{ "header.searchButton"|trans|striptags }}">
  66.                                         {% sw_icon 'search' %}
  67.                                     </button>
  68.                                 </div>
  69.                             </div>
  70.                         {% endblock %}
  71.                         {% block layout_header_actions_account %}
  72.                             <div class="col-auto">
  73.                                 <div class="account-menu">
  74.                                     {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  75.                                 </div>
  76.                             </div>
  77.                         {% endblock %}
  78.                         {% if config('core.cart.wishlistEnabled') %}
  79.                             {% block layout_header_actions_wishlist %}
  80.                                 <div class="col-auto">
  81.                                     <div class="header-wishlist">
  82.                                         <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 }}">
  83.                                             {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  84.                                         </a>
  85.                                     </div>
  86.                                 </div>
  87.                             {% endblock %}
  88.                         {% endif %}
  89.                         {% block layout_header_actions_cart %}
  90.                             <div class="col-auto">
  91.                                 <div class="header-cart" data-offcanvas-cart="true">
  92.                                     <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 }}">
  93.                                         {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  94.                                     </a>
  95.                                 </div>
  96.                             </div>
  97.                         {% endblock %}
  98.                     </div>
  99.                 </div>
  100.             {% endblock %}
  101.         </div>
  102.     {% endblock %}
  103. {% endblock %}