vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/layout.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <title>{% block title %}{{ sylius.channel.name }}{% endblock %}</title>
  7.     <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  8.     <link rel="preconnect" href="https://fonts.googleapis.com">
  9.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  10.     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
  11.     {% block metatags %}
  12.     {% endblock %}
  13.     {% block stylesheets %}
  14.         {{ sylius_template_event('sylius.shop.layout.stylesheets') }}
  15.     {% endblock %}
  16.     {{ sylius_template_event('sylius.shop.layout.head') }}
  17. </head>
  18. <body class="pushable">
  19. {{ sylius_template_event('sylius.shop.layout.before_body') }}
  20. <div class="pusher" data-route="{{ app.request.get('_route') }}">
  21.     {% block top %}
  22.         <div id="menu" class="top-menu">
  23.             <a href="#" class="top-menu__link">{{ 'sylius.top_bar'|trans }}</a>
  24.             <div class="top-bar">{{ sylius_template_event('sylius.shop.layout.topbar') }}</div>
  25.         </div>
  26.     {% endblock %}
  27.     <div class="ui container">
  28.         {% block header %}
  29.             <header>
  30.                 {{ sylius_template_event('sylius.shop.layout.header') }}
  31.             </header>
  32.         {% endblock %}
  33.         {% include '@SyliusShop/_flashes.html.twig' %}
  34.         {{ sylius_template_event('sylius.shop.layout.before_content') }}
  35.         {% block content %}
  36.         {% endblock %}
  37.         {{ sylius_template_event('sylius.shop.layout.after_content') }}
  38.     </div>
  39.     {% block footer %}
  40.         {% include '@SyliusShop/_footer.html.twig' %}
  41.     {% endblock %}
  42. </div>
  43. {% block javascripts %}
  44.     {{ sylius_template_event('sylius.shop.layout.javascripts') }}
  45. {% endblock %}
  46. {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  47. {{ sylius_template_event('sylius.shop.layout.after_body') }}
  48. </body>
  49. </html>