custom/plugins/ATNTheme/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. {% use '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  3. {% block layout_top_bar %}
  4. {#{{ dump(page.product.sortedProperties.elements[0].options.elements) }}#}
  5. {% endblock %}
  6. {% block layout_header_navigation %}
  7.     <div class="row align-items-center header-row">
  8.         {% block layout_header_logo %}
  9.             {{ parent() }}
  10.         {% endblock %}
  11.         <div class="container col">
  12.             <div class="row header-controls">
  13.                 {% block layout_header_search %}
  14.                     <div class="col-12 order-2 col-sm order-sm-1 header-search-col">
  15.                         <div class="row">
  16.                             <div class="col-sm-auto d-none d-sm-block d-lg-none">
  17.                                 {% block layout_header_navigation_toggle_tablet %}
  18.                                     {{ parent() }}
  19.                                 {% endblock %}
  20.                             </div>
  21.                             <div class="col">
  22.                                 {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  23.                             </div>
  24.                         </div>
  25.                     </div>
  26.                 {% endblock %}
  27.                 {% block layout_header_actions %}
  28.                     <div class="col-12 order-1 col-sm-auto order-sm-2 header-actions-col">
  29.                         <div class="row no-gutters">
  30.                             {% block layout_header_navigation_toggle %}
  31.                                 {{ parent() }}
  32.                             {% endblock %}
  33.                             {% block layout_header_search_toggle %}
  34.                                 <div class="col-auto">
  35.                                     <div class="search-toggle">
  36.                                         <button
  37.                                             class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
  38.                                             type="button"
  39.                                             data-toggle="collapse"
  40.                                             data-target="#searchCollapse"
  41.                                             aria-expanded="false"
  42.                                             aria-controls="searchCollapse"
  43.                                             aria-label="{{ "header.searchButton"|trans|striptags }}">
  44. {#                                            {% sw_icon 'search'style {#}
  45. {#                                                'namespace': 'ATNTheme',#}
  46. {#                                                'pack': 'wbn',#}
  47. {#                                                'size': 'lg'#}
  48. {#                                            } %}#}
  49.                                             <i class="icon wbn-icon-search"></i>
  50.                                         </button>
  51.                                     </div>
  52.                                 </div>
  53.                             {% endblock %}
  54.                             {% if config('core.cart.wishlistEnabled') %}
  55.                                 {% block layout_header_actions_wishlist %}
  56.                                     {{ parent() }}
  57.                                 {% endblock %}
  58.                             {% endif %}
  59.                             {% block layout_header_actions_account %}
  60.                                 <div class="col-auto">
  61.                                     <div class="account-menu">
  62.                                         {% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
  63.                                     </div>
  64.                                 </div>
  65.                             {% endblock %}
  66.                             {% block layout_header_actions_cart %}
  67.                                 <div class="col-auto">
  68.                                     <div class="header-contact">
  69.                                         <a data-toggle="modal" class="btn header-contact-btn header-actions-btn"
  70.                                            data-url="{{ path('frontend.cms.page', { id: config('core.basicInformation.contactPage') }) }}"
  71.                                            href="{{ path('frontend.cms.page', { id: config('core.basicInformation.contactPage') }) }}"
  72.                                            title="{{ 'ATNTheme.header.serviceContactLink'|trans|striptags }}">
  73. {#                                            {% sw_icon 'envelope' style {#}
  74. {#                                                'namespace': 'ATNTheme',#}
  75. {#                                                'pack': 'wbn',#}
  76. {#                                                'size': 'md'#}
  77. {#                                            } %}#}
  78.                                             <i class="icon wbn-icon-envelope"></i>
  79.                                         </a>
  80.                                     </div>
  81.                                 </div>
  82.                                 {{ parent() }}
  83.                                 {{ block('layout_header_top_bar_language') }}
  84.                                 {{ block('layout_header_top_bar_currency') }}
  85.                             {% endblock %}
  86.                         </div>
  87.                     </div>
  88.                 {% endblock %}
  89.                 <div class="nav-main col-12 order-lg-3">
  90.                     {% block base_navigation_inner %}
  91.                         {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  92.                     {% endblock %}
  93.                 </div>
  94.             </div>
  95.         </div>
  96.     </div>
  97. {% endblock %}
  98. {% block layout_header_navigation_toggle_button_icon %}
  99.     <i class="icon wbn-icon-menu"></i>
  100. {% endblock %}
  101. {% block layout_header_navigation_toggle_tablet_button_icon %}
  102.     <i class="icon wbn-icon-menu"></i>
  103. {% endblock %}