custom/plugins/SalvanaPferde2022/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_logo %}{% endblock %}
  3. {% block layout_header_search %}
  4.   <div class="col-12 order-0 order-sm-1 header-search-col">
  5.     <div class="row">
  6.       <div class="col-sm-auto d-none d-md-none">
  7.         {% block layout_header_navigation_toggle_tablet %}
  8.           {{ parent() }}
  9.         {% endblock %}
  10.       </div>
  11.       <div class="col d-lg-none">
  12.         {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  13.       </div>
  14.     </div>
  15.   </div>
  16. {% endblock %}
  17. {% block layout_header_actions %}
  18.   <div class="col-12 order-1 order-sm-2 header-actions-col">
  19.     <div class="row no-gutters h-100">
  20.       {% block layout_header_navigation_toggle %}
  21.         <div class="col-2 text-center d-lg-none">
  22. <div class="menu-button">
  23.                         {% block layout_header_navigation_toggle_button %}
  24.                                         <button class="btn nav-main-toggle-btn header-actions-btn"
  25.                                                 type="button"
  26.                                                 data-offcanvas-menu="true"
  27.                                                 aria-label="{{ "general.menuLink"|trans|striptags }}">
  28.                                                                 <span class="icon icon-stack">
  29.                         <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24"><defs><path d="M3 13c-.5523 0-1-.4477-1-1s.4477-1 1-1h18c.5523 0 1 .4477 1 1s-.4477 1-1 1H3zm0-7c-.5523 0-1-.4477-1-1s.4477-1 1-1h18c.5523 0 1 .4477 1 1s-.4477 1-1 1H3zm0 14c-.5523 0-1-.4477-1-1s.4477-1 1-1h18c.5523 0 1 .4477 1 1s-.4477 1-1 1H3z" id="icons-default-stack"></path></defs><use xlink:href="#icons-default-stack" fill="#758CA3" fill-rule="evenodd"></use></svg></span>
  30.                                         </button>
  31.                                     {% endblock %}
  32.                       </div>
  33.         </div>
  34.       {% endblock %}
  35.       {% block layout_header_search_toggle %}
  36.         <div class="col-2 text-center order-lg-1 d-lg-none">
  37.           <div class="search-toggle">
  38.             <button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  39.                     type="button"
  40.                     data-toggle="collapse"
  41.                     data-target="#searchCollapse"
  42.                     aria-expanded="false"
  43.                     aria-controls="searchCollapse"
  44.                     aria-label="{{ "header.searchButton"|trans|striptags }}">
  45.             <span class="icon icon-search icon-light">
  46.              <svg xmlns="http://www.w3.org/2000/svg" width="22.998" height="23.002">
  47.   <path data-name="Pfad 1497" d="M22.685 19.887l-4.478-4.479a1.077 1.077 0 00-.764-.314h-.732a9.3 9.3 0 001.977-5.75A9.342 9.342 0 009.344 0 9.342 9.342 0 000 9.344a9.342 9.342 0 009.344 9.344 9.3 9.3 0 005.75-1.977v.732a1.077 1.077 0 00.314.764l4.479 4.479a1.074 1.074 0 001.523 0l1.271-1.271a1.083 1.083 0 00.004-1.528zM9.344 15.094a5.747 5.747 0 01-5.75-5.75 5.747 5.747 0 015.75-5.75 5.747 5.747 0 015.75 5.75 5.747 5.747 0 01-5.75 5.75z" fill="#161616"></path>
  48. </svg>
  49.     </span>
  50.             </button>
  51.           </div>
  52.         </div>
  53.       {% endblock %}
  54.       {% block layout_header_actions_account %}
  55.         <div class="col-4 text-center order-lg-0 col-lg-auto mr-lg-auto header-logo-col">
  56.           {% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
  57.         </div>
  58.         {% set webnetzHeaderContent = 'webnetz.salvanaTheme.webnetzHeaderContent'|trans %}
  59.         {% if webnetzHeaderContent %}
  60.           <div class="header-custom-content-block d-none d-lg-flex col-auto ml-auto mr-3">
  61.             {{ webnetzHeaderContent|raw }}
  62.           </div>
  63.         {% endif %}
  64.         <div class="col-2 text-center order-lg-2 col-lg-auto">
  65.           <div class="account-menu">
  66.              {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  67.           </div>
  68.         </div>
  69.       {% endblock %}
  70.       {% block layout_header_actions_cart %}
  71.         <div class="col-2 text-center order-lg-3 col-lg-auto">
  72.           <div id="testitest" class="header-cart"
  73.                data-offcanvas-cart="true">
  74.             <a class="btn header-cart-btn header-actions-btn"
  75.                href="{{ path('frontend.checkout.cart.page') }}"
  76.                data-cart-widget="true"
  77.                title="{{ 'checkout.cartTitle'|trans|striptags }}"
  78.                aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
  79.               {% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
  80.             </a>
  81.           </div>
  82.         </div>
  83.       {% endblock %}
  84.     </div>
  85.   </div>
  86. {% endblock %}