templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}Welcome!{% endblock %}</title>
  6.     <link rel="icon"
  7.           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.     {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  9.     {% block stylesheets %}
  10.         {{ encore_entry_link_tags('app') }}
  11.     {% endblock %}
  12.     {% block javascripts %}
  13.         {{ encore_entry_script_tags('app') }}
  14.     {% endblock %}
  15.     <meta name="viewport" content="width=device-width, initial-scale=1">
  16.     <link rel="preconnect" href="https://fonts.googleapis.com">
  17.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  18.     <link href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  19. </head>
  20. <body>
  21. {% block header %}
  22.     {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  23.         {% include "layout/header.html.twig" %}
  24.     {% endif %}
  25. {% endblock %}
  26. {% block body %}
  27. <main class="main">
  28.     <div class="wrapper">
  29.         {% block main %}{% endblock %}
  30.     </div>
  31. </main>
  32. {% endblock %}
  33. </body>
  34. </html>