templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         <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>">
  7.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  8.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
  9.         {% block stylesheets %}
  10.             {{ encore_entry_link_tags('app') }}
  11.         {% endblock %}
  12.         {% block javascripts %}
  13.             {{ encore_entry_script_tags('app') }}
  14.         {% endblock %}
  15.     </head>
  16.     <body>
  17.     {% block navbar%}
  18.     <nav class="navbar" role="navigation" aria-label="main navigation">
  19.         <div class="navbar-brand">
  20.             <a class="navbar-item" href="/">
  21.                 MARTI
  22.             </a>
  23.             <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
  24.                 <span aria-hidden="true"></span>
  25.                 <span aria-hidden="true"></span>
  26.                 <span aria-hidden="true"></span>
  27.             </a>
  28.         </div>
  29.         <div id="navbarBasicExample" class="navbar-menu">
  30.             <div class="navbar-start">
  31.                 <a class="navbar-item">
  32.                     Home
  33.                 </a>
  34.                 <a class="navbar-item" href="{{path('app_compte_rendu')}}">
  35.                     Fiche conseils
  36.                 </a>
  37.                 <a class="navbar-item" href="{{path('app_home_outil')}}">
  38.                     Outils
  39.                 </a>
  40.             </div>
  41.             <div class="navbar-end">
  42.                 <div class="navbar-item">
  43.                     <div class="buttons">
  44.                         {% if not app.user%}
  45.                         <a class="button is-light">
  46.                             Log in
  47.                         </a>
  48.                         {%endif  %}
  49.                     </div>
  50.                 </div>
  51.             </div>
  52.         </div>
  53.     </nav>
  54.     {%endblock %}
  55.     <div class="">
  56.         {% block body %}{% endblock %}
  57.     </div>
  58.     </body>
  59. </html>