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.         <meta content='maximum-scale=1.0, initial-scale=1.0, width=device-width' name='viewport'> 
  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.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  9.         {% block stylesheets %}
  10.             {{ encore_entry_link_tags('app') }}
  11.             <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  12.              {# <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous"> #}
  13.             <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous" defer></script>
  14.             <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  15.             <link rel="stylesheet" href="{{asset('css/style.css')}}">
  16.             <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  17.             <link href="https://fonts.cdnfonts.com/css/bw-nista-grotesk-demo" rel="stylesheet">
  18.             <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer">
  19.         {% endblock %}
  20.         {% block javascripts %}
  21.             {{ encore_entry_script_tags('app') }}
  22.         {% endblock %}
  23.     </head>
  24.     <body>
  25.     <div class="navbarbg">
  26.         <div class="container">
  27.             <nav class="navbar navbar-expand-lg navbar-light">
  28.                 {# {{ app.session.get('_locale') }} #}
  29.                 {{ app.user.id | default('') }}
  30.                 <a target class="navbar-brand" href="{{path('app_home_index')}}">
  31.                     <img alt="" id="ct-loadding" src="{{asset('img/logo2.png')}}" width="250px" class="logo" type="image/svg">
  32.                 </a>
  33.                 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
  34.                         <span class="navbar-toggler-icon"></span>
  35.                     </button>
  36.                 <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
  37.                     <ul class="navbar-nav ml-auto mt-2 mt-lg-0 ">
  38.                         {% if not app.user %}
  39.                         <li class="nav-item">
  40.                             <a class="nav-link" href="{{path('login')}}">Connexion</a>
  41.                         </li>
  42.                         <li class="nav-item">
  43.                             <a class="nav-link" href="{{path('app_user_new')}}">Inscription</a>
  44.                         </li>
  45.                         {% else %}
  46.                         <li class="nav-item">
  47.                             <a class="nav-link " href="{{ path('profile') }}">
  48.                                 <i class="fa fa-user" aria-hidden="true"></i> Profile
  49.                             </a>
  50.                         </li>
  51.                         
  52.                         {% endif %}
  53.                         <li class="nav-item active">
  54.                             <a class="btn btn-success" href="{{ path('cart_index') }}">
  55.                             <i class="fas fa-shopping-cart"></i> Panier</a>
  56.                         </li>
  57.                         {# {% if not app.user %}
  58.                         
  59.                         <li class="nav-item">
  60.                             <a class="nav-link" href="{{path('login')}}">Sign in</a>
  61.                         </li>
  62.                         <li class="nav-item">
  63.                             <a class="nav-link" href="{{path('app_user_new')}}">Register</a>
  64.                         </li>
  65.                         {% else %}
  66.                         
  67.                         <li class="nav-item">
  68.                             <a class="nav-link " href="{{ path('profile') }}">
  69.                                 <i class="fa fa-user" aria-hidden="true"></i> Profile</a>
  70.                         </li>
  71.                         <li class="nav-item">
  72.                             <a class="nav-link" href="{{ path('logout') }}">
  73.                                 <i class="fa fa-sign-out-alt" style="color:#320258;" aria-hidden="true"></i>
  74.                                 <span class="mobile-inline"></span>
  75.                             </a>
  76.                         </li>
  77.                         {% endif %} #}
  78.                     </ul>
  79.                 </div>
  80.             </nav>
  81.         </div>
  82.     </div>
  83.     {# {% for type, flash_messages in app.session.flashbag.all() %}
  84.       {% for flash_message in flash_messages %}
  85.           {% if type == 'success' %}
  86.               <div class="alert alert-success fixed-bottom">
  87.                   {{ flash_message }}
  88.               </div>
  89.           {% elseif type == 'error' %}
  90.               <div class="alert alert-danger fixed-bottom">
  91.                   {{ flash_message }}
  92.               </div>
  93.           {% else %}
  94.               <div class="alert alert-info fixed-bottom">
  95.                   {{ flash_message }}
  96.               </div>
  97.           {% endif %}
  98.       {% endfor %}
  99.     {% endfor %} #}
  100.        <div class="container">{% block body %}{% endblock %}</div>
  101.        <span style="width: 100%; display: inline-block;"></span>
  102.   <footer class="navbarbg">
  103.   <div class="container">
  104.     <div class="row">
  105.       <div class="col-xl-5 col-lg-6 col-md-6">
  106.         <div>
  107.           <a target class="navbar-brand" href="#">
  108.                 <img alt="" src="{{asset('img/logo2.png')}}" width="250px" class="logo" type="image/svg">
  109.                 </a>
  110.           <p class="mb-30 footer-desc"> Le spécialiste du pneu d’occasion en ligne, qualité garantie.
  111.         </div>
  112.       </div>
  113.       <div class="col-xl-3 col-lg-3 col-md-6">
  114.         <div>
  115.           <h4>Liens Rapides</h4>
  116.           <ul class="list-unstyled">
  117.             <li>
  118.               <a href="#" class="text-decoration-none">Accueil</a>
  119.             </li>
  120.             <li>
  121.               <a href="#" class="text-decoration-none">Connexion</a>
  122.             </li>
  123.             <li>
  124.               <a href="#" class="text-decoration-none">Inscription</a>
  125.             </li>
  126.             <li>
  127.               <a href="#" class="text-decoration-none">Panier</a>
  128.             </li>
  129.           </ul>
  130.         </div>
  131.       </div>
  132.       <div class="col-xl-3 col-lg-3 col-md-6">
  133.         <div>
  134.           <h4>Newsletter</h4>
  135.           <div>
  136.             <label for="Newsletter" class="form-label">Inscrivez vous à notre Newsletter</label>
  137.             <input type="text" class="form-control" Placeholder="Inscrivez votre e-mail">
  138.             <button class="btn btn-danger mt-3">S'inscrire</button>
  139.           </div>
  140.         </div>
  141.       </div>
  142.     </div>
  143.     <div class="d-flex justify-content-center">
  144.       <div class="copyright">
  145.         <p>Developed  by <a href="#" target="_blank">Hicham.tech</a></p>
  146.       </div>
  147.     </div>
  148.   </div>
  149. </footer>
  150.     </body>
  151. </html>