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" href="{{ asset('build/images/favicon.ico') }}">
  7.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  8.         {% block stylesheets %}
  9.             {{ encore_entry_link_tags('app') }}
  10.         {% endblock %}
  11.         {% block javascripts %}
  12.             {{ encore_entry_script_tags('app') }}
  13.         {% endblock %}
  14.     </head>
  15.     <body>
  16.         <div id="background" class="container-fluid px-0" style="background-image: url(
  17.                     '{{asset("build/images/pexels-bob-ronald-14578740.jpg")}}'
  18.                 )">
  19.             {% block header %}  
  20.                 <a href="{{ path('app_home') }}">
  21.                     <img src="{{ asset('build/images/specprix_logo.png') }}" class="img-fluid" alt="specprix logo">
  22.                 </a> 
  23.             {% endblock %}
  24.             <div class="row ms-0 me-0">
  25.                 {% block submenu %}  {% endblock %}
  26.                 {% block body %}{% endblock %}
  27.             </div>
  28.   
  29.         </div>
  30.         {% block footer %}  
  31.             <footer class="d-flex flex-wrap justify-content-between align-items-center border-top">
  32.                 <p class="col-md-4 mb-0 text-body-secondary">© 2023 Specprix</p>
  33.                 <a href="{{ path('app_home') }}" class="col-md-4 d-flex align-items-center justify-content-center mb-3 mb-md-0 me-md-auto link-body-emphasis text-decoration-none">
  34.                     <img src="{{ asset('build/images/specprix_logo.png') }}" class="img-fluid" alt="specprix logo">
  35.                 </a>
  36.                 <ul class="nav col-md-4 justify-content-end">
  37.                     <li class="nav-item">
  38.                         <a href="{{ path('app_home') }}" class="nav-link px-2 text-body-secondary">Home</a>
  39.                     </li>
  40.                     <li class="nav-item">
  41.                         <a href="{{ path('app_legal') }}" class="nav-link px-2 text-body-secondary">About</a>
  42.                     </li>
  43.                 </ul>
  44.             </footer>
  45.         {% endblock %}  
  46.     </body>
  47. </html>