custom/plugins/AmMacTrade/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 %}{% endblock %}
  3. {% block layout_header_search %}
  4.     <div class="col-12 order-2 col-sm order-sm-1 header-search-col">
  5.         <div class="row">
  6.             <div class="col-sm-auto d-sm-block d-lg-none">
  7.                 {% block layout_header_navigation_toggle_tablet %}
  8.                     <div class="nav-main-toggle">
  9.                         {% block layout_header_navigation_toggle_tablet_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.                                 {% block layout_header_navigation_toggle_tablet_button_icon %}
  15.                                     <img src="{{ asset('assets/images/icon_burger.svg', "@AmMacTrade") }}" alt="Menü" />
  16.                                 {% endblock %}
  17.                             </button>
  18.                         {% endblock %}
  19.                     </div>
  20.                 {% endblock %}
  21.             </div>
  22.             <div class="col">
  23.                 <div class="logo-mobile-mactrade">
  24.                     <a href="/">
  25.                         <img src="https://www.mactrade.de/media/6a/31/19/1626536005/MacTrade.svg" alt="MacTrade" height="40">
  26.                     </a>
  27.                 </div>
  28.             </div>
  29.             <div class="col mob-search">
  30.                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  31.             </div>
  32.         </div>
  33.     </div>
  34. {% endblock %}
  35. {% block layout_header_actions %}
  36.     <div class="col-12 order-1 col-sm-auto order-sm-2 header-actions-col">
  37.         <div class="row no-gutters">
  38.             {% block layout_header_navigation_toggle %}
  39.                 <div class="col-2 d-sm-none">
  40.                     <div class="menu-button">
  41.                         {% block layout_header_navigation_toggle_button %}
  42.                             <button class="btn nav-main-toggle-btn header-actions-btn"
  43.                                     type="button"
  44.                                     data-offcanvas-menu="true"
  45.                                     aria-label="{{ "general.menuLink"|trans|striptags }}">
  46.                                 {% block layout_header_navigation_toggle_button_icon %}
  47.                                 {#{% sw_icon 'stack' %}#}
  48.                                 <img src="{{ asset('assets/images/icon_burger.svg', "@AmMacTrade") }}" alt="Menü" />
  49.                                 {% endblock %}
  50.                             </button>
  51.                         {% endblock %}
  52.                     </div>
  53.                 </div>
  54.             {% endblock %}
  55.             <div class="logo-mobile-mactrade">
  56.                 <a href="/">
  57.                     <img src="https://www.mactrade.de/media/6a/31/19/1626536005/MacTrade.svg" alt="MacTrade" height="40">
  58.                 </a>
  59.             </div>
  60.             {% block layout_header_actions_c2_widget %}
  61.                 <div class="col-auto header-c2-widget-wrapper">
  62.                     <div id="header-c2-widget">
  63.                         {#<iframe src="https://www.c2-circle.com/partner/static/mactrade/pdp-banner.html" frameborder="0"></iframe>#}
  64.                     </div>
  65.                 </div>
  66.             {% endblock %}
  67.             {% block layout_header_actions_apple_dealer %}
  68.                 <div class="col">
  69.                     <div id="logo-apple-dealer">
  70.                         <img src="{{ asset('assets/images/logo_apple-autorisierter-haendler.svg', "@AmMacTrade") }}" alt="Apple Autorisierter Händler" height="32" class="hidden-phone hidden-tablet" />
  71.                         <img src="{{ asset('assets/images/logo_apple-autorisierter-haendler-mobile.svg', "@AmMacTrade") }}" alt="Apple Autorisierter Händler" height="28" class="hidden-desktop" />
  72.                     </div>
  73.                 </div>
  74.             {% endblock %}
  75.             {% block layout_header_search_toggle %}
  76.                 <div class="col-auto d-sm-none">
  77.                     <div class="search-toggle">
  78.                         <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  79.                                 type="button"
  80.                                 data-toggle="collapse"
  81.                                 data-target="#searchCollapse"
  82.                                 aria-expanded="false"
  83.                                 aria-controls="searchCollapse"
  84.                                 aria-label="{{ "header.searchButton"|trans|striptags }}">
  85.                             <img src="{{ asset('assets/images/ico_suche.svg', "@AmMacTrade") }}" alt="Suche" />
  86.                         </button>
  87.                     </div>
  88.                 </div>
  89.             {% endblock %}
  90.             {% if config('core.cart.wishlistEnabled') %}
  91.                 {% block layout_header_actions_wishlist %}
  92.                     <div class="col-auto">
  93.                         <div class="header-wishlist">
  94.                             <a class="btn header-wishlist-btn header-actions-btn"
  95.                                href="{{ path('frontend.wishlist.page') }}"
  96.                                title="{{ 'header.wishlist'|trans|striptags }}"
  97.                                aria-label="{{ 'header.wishlist'|trans|striptags }}">
  98.                                 {% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  99.                             </a>
  100.                         </div>
  101.                     </div>
  102.                 {% endblock %}
  103.             {% endif %}
  104.             {% block layout_header_actions_account %}
  105.                 <div class="col-auto">
  106.                     <div class="account-menu">
  107.                         {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  108.                     </div>
  109.                 </div>
  110.             {% endblock %}
  111.             {% block layout_header_actions_cart %}
  112.                 <div class="col-auto">
  113.                     <div class="header-cart"
  114.                          data-offcanvas-cart="true">
  115.                         <a class="btn header-cart-btn header-actions-btn"
  116.                            href="{{ path('frontend.checkout.cart.page') }}"
  117.                            data-cart-widget="true"
  118.                            title="{{ 'checkout.cartTitle'|trans|striptags }}"
  119.                            aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  120.                             {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  121.                         </a>
  122.                     </div>
  123.                 </div>
  124.             {% endblock %}
  125.         </div>
  126.     </div>
  127. {% endblock %}