templates/layout/user_base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}{{ "Shop" | trans }}{% endblock %}</title>
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1">
  8.     {% block meta %}
  9.         <meta name="description" content="{{ appText.meta.HEADER_DESCRIPTION[app.request.locale] }}">
  10.         <meta name="keyword" content="{{ appText.meta.HEADER_KEYWORD[app.request.locale] }}">
  11.     {% endblock %}
  12.     <link rel="icon" href="{{ asset('app/favicon.png') }}">
  13.     <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,600,700%7cPoppins:300,400,500,600,700,800,900&amp;display=swap"
  14.           rel="stylesheet">
  15.     {% block stylesheets %}
  16.         {{ encore_entry_link_tags('user') }}
  17.     {% endblock %}
  18.     <script>
  19.       let locale = "{{ app.request.locale }}"
  20.     </script>
  21. </head>
  22. <body>
  23. {% set showSelectedPharmacy = true %}
  24. {% if selectedPharmacy is defined %}
  25.     {% set showSelectedPharmacy = selectedPharmacy %}
  26. {% endif %}
  27. {{ include('elements/pagesElements/_header.html.twig') }}
  28. {{ render(controller('App\\Controller\\App\\WidgetController::categoriesSideBar')) }}
  29. <div class="app-content" up-main>
  30.     {% if showSelectedPharmacy %}
  31.         {{ include('elements/pharmacy/_show_pharmacy.html.twig') }}
  32.     {% endif %}
  33.     <div data-unpoly-product-cart></div>
  34.     {{ include('elements/_flash.html.twig') }}
  35.     {% block body %}{% endblock %}
  36. </div>
  37. {{ include('elements/pagesElements/footer.html.twig') }}
  38. {% if not app.user %}
  39.     {{ include('elements/modal/_login_modal.html.twig') }}
  40. {% endif %}
  41. <div app-cookies></div>
  42. {{ include('elements/_translation.html.twig') }}
  43. {% block javascripts %}
  44.     {{ encore_entry_script_tags('user') }}
  45. {% endblock %}
  46. </body>
  47. </html>