custom/plugins/WxdeThemeWojoer202201/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.                         {% endblock %}
  28.                     </div>
  29.                 {% endblock %}
  30.                 {% block base_offcanvas_navigation %}
  31.                     {% if page.header.navigation %}
  32.                         <div class="d-none js-navigation-offcanvas-initial-content{% if context.salesChannel.navigationCategoryId == page.header.navigation.active.id %} is-root{% endif %}">
  33.                             {% block base_offcanvas_navigation_inner %}
  34.                                 {% sw_include '@Storefront/storefront/layout/navigation/offcanvas/navigation.html.twig' with { navigation: page.header.navigation } %}
  35.                             {% endblock %}
  36.                         </div>
  37.                     {% endif %}
  38.                 {% endblock %}
  39.             </div>
  40.         {% endblock %}
  41.         {% block base_main %}
  42.             <main class="content-main base-breadcrumb-wrapper">
  43.                 {% block base_flashbags %}
  44.                     <div class="flashbags container">
  45.                         {% for type, messages in app.flashes %}
  46.                             {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with { type: type, list: messages } %}
  47.                         {% endfor %}
  48.                     </div>
  49.                 {% endblock %}
  50.                 {% block base_main_inner %}
  51.                     <div class="container">
  52.                         {% block base_main_container %}
  53.                             <div class="container-main">
  54.                                 {% block base_breadcrumb %}
  55.                                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  56.                                         context: context,
  57.                                         category: page.product.seoCategory
  58.                                     } only %}
  59.                                 {% endblock %}
  60.                                 {% block base_content %}{% endblock %}
  61.                             </div>
  62.                         {% endblock %}
  63.                     </div>
  64.                 {% endblock %}
  65.             </main>
  66.         {% endblock %}
  67.         {% block base_footer %}
  68.             <footer class="footer-main">
  69.                 {% block base_footer_inner %}
  70.                     {% sw_include '@Storefront/storefront/layout/footer/footer.html.twig' %}
  71.                 {% endblock %}
  72.             </footer>
  73.         {% endblock %}
  74.     {% endblock %}