custom/plugins/WxdeThemeNeonon202201/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_body_inner %}
  3.         {% block base_noscript %}
  4.             <noscript class="noscript-main">
  5.                 {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
  6.                     type: 'info',
  7.                     content: 'general.noscriptNotice'|trans|sw_sanitize
  8.                 } %}
  9.             </noscript>
  10.         {% endblock %}
  11.         {% block base_header_wrapper %}
  12.             <div class="header-wrapper-spacer"></div>
  13.             <div class="header-wrapper">
  14.                 {% block base_header %}
  15.                     <header class="header-main">
  16.                         {% block base_header_inner %}
  17.                             <div class="container">
  18.                                 {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  19.                             </div>
  20.                         {% endblock %}
  21.                     </header>
  22.                 {% endblock %}
  23.                 {% block base_navigation %}
  24.                     <div class="nav-main">
  25.                         {% block base_navigation_inner %}
  26.                             {#  % sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' % #}
  27.                             {% sw_include '@Storefront/storefront/layout/navigation/navigation.secondlevel.html.twig' %}
  28.                         {% endblock %}
  29.                     </div>
  30.                 {% endblock %}
  31.                 {% block base_offcanvas_navigation %}
  32.                     {% if page.header.navigation %}
  33.                         <div class="d-none js-navigation-offcanvas-initial-content{% if context.salesChannel.navigationCategoryId == page.header.navigation.active.id %} is-root{% endif %}">
  34.                             {% block base_offcanvas_navigation_inner %}
  35.                                 {% sw_include '@Storefront/storefront/layout/navigation/offcanvas/navigation.html.twig' with { navigation: page.header.navigation } %}
  36.                             {% endblock %}
  37.                         </div>
  38.                     {% endif %}
  39.                 {% endblock %}
  40.             </div>
  41.         {% endblock %}
  42.         {% block base_main %}
  43.             <main class="content-main base-breadcrumb-wrapper">
  44.                 {% block base_flashbags %}
  45.                     <div class="flashbags container">
  46.                         {% for type, messages in app.flashes %}
  47.                             {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  48.                         {% endfor %}
  49.                     </div>
  50.                 {% endblock %}
  51.                 {% block base_main_inner %}
  52.                     <div class="container">
  53.                         {% block base_main_container %}
  54.                             <div class="container-main">
  55.                                 {% block base_breadcrumb %}
  56.                                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  57.                                         context: context,
  58.                                         category: page.product.seoCategory
  59.                                     } only %}
  60.                                 {% endblock %}
  61.                                 {% block base_content %}{% endblock %}
  62.                             </div>
  63.                         {% endblock %}
  64.                     </div>
  65.                 {% endblock %}
  66.             </main>
  67.         {% endblock %}
  68.         {% block base_footer %}
  69.             <footer class="footer-main">
  70.                 {% block base_footer_inner %}
  71.                     {% sw_include '@Storefront/storefront/layout/footer/footer.html.twig' %}
  72.                 {% endblock %}
  73.             </footer>
  74.         {% endblock %}
  75.     {% endblock %}