templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1" />
  6.         <title>{% block title %}Welcome!{% endblock %}</title>
  7.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  8.         {#TODO solution provisoire pour font custom pour un client#}
  9.         <link href="https://fonts.cdnfonts.com/css/arial-2" rel="stylesheet">
  10.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  11.         {% block stylesheets %}
  12.             {{ encore_entry_link_tags('app') }}
  13.         {% endblock %}
  14.         {% block javascripts %}
  15.             <script src="{{ asset('js/lib/handlebars.runtime.min-v4.7.7.js') }}"></script>
  16.             <script src="{{ asset('js/template/template.js') }}"></script>
  17.             {{ encore_entry_script_tags('app') }}
  18.         {% endblock %}
  19.     </head>
  20.     {#TODO solution provisoire pour font custom pour un client#}
  21. {#    {% set fontCustom = (app.user and app.user.email == "ffr@ffr")  %}#}
  22. {#    <body data-turbo="false" class="bg-white dark:bg-dark-950 {{ fontCustom ? "font-custom" : "" }}">#}
  23.     {#TODO custom font en attente#}
  24.     <body data-turbo="false" class="bg-white dark:bg-dark-950">
  25.     {% block header %}{% endblock %}
  26.     {% block body %}{% endblock %}
  27.     {% block footer %}{% endblock %}
  28.     </body>
  29. </html>