templates/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.    <!-- Required meta tags -->
  5.    <meta charset="utf-8">
  6.    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.    <!-- CSS -->
  8.    <link rel="stylesheet" href="{{asset('assets/css/style.css')}}">
  9.    <link rel="stylesheet" href="{{asset('assets/css/responsive.css')}}">
  10.    <link rel="stylesheet" href="{{asset('assets/css/bootstrap.min.css')}}">
  11.    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
  12.    <link rel="stylesheet" href="{{asset('assets/css/owl.carousel.min.css')}}">
  13.    <link rel="stylesheet" href="{{asset('assets/fontawesome/css/all.min.css')}}">
  14.    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-DugjK7Y57YB+DXc4xL4X9z33HdC5v4eO+hTFwOIL5df5QDAb+OGOzAtx6+Pdx6/dnK6U+p67ZJl7zrPYm6mpow==" crossorigin="anonymous" referrerpolicy="no-referrer" />
  15.    <link rel="shortcut icon" href="{{asset('assets/images/favicon.ico')}}">
  16.    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  17.    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  18.    <!-- CSS -->
  19.    <title>Modixom</title>
  20.    
  21. </head>
  22. <body>
  23.    <!-- header main -->
  24.    <header class="header-main">
  25.       <div class="container">
  26.          <div class="row">
  27.             <!--<div class="col-xl-2 col-lg-2 col-md-2 col-sm-2 col-12">-->
  28.             <div class="col-2">
  29.                <div class="header-logo">
  30.                   <a href="{{path('app_default')}}" data-abc="true"><img id="change-logo" src="{{asset('assets/images/logo.png')}}" style="width: 60px;" alt=""><span style="padding-left: 15px; font-size: 23px; color:black">MODIXOM</span></a>
  31.                </div>
  32.             </div>
  33.             <!--<div class="col-xl-5 col-lg-4 col-md-5 col-sm-5 col-6">-->
  34.             <div class="col-xl-6 col-lg-5 col-5 col-sm-4">
  35.                <div class="header-menu-box clearfix">
  36.                   <div class="header-navbar-menu clearfix">
  37.                      <nav class="navbar navbar-expand-lg navbar-light">
  38.                         <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  39.                            <i class="fas fa-bars"></i>
  40.                         </button>
  41.                         <div class="collapse navbar-collapse" id="navbarSupportedContent">
  42.                         {% if not app.user %}
  43.                            <ul class="navbar-nav mr-auto">
  44.                               <li class="nav-item menu-menu-parent">
  45.                                  <a class="nav-link my-auto {% if app.request.get('_route') == 'app_default' %} active{% endif %} " href="{{path('app_default')}}">Particulier</a>
  46.                               </li>
  47.                               <li class="nav-item">
  48.                                  <a class="nav-link my-auto {% if app.request.get('_route') == 'professionnels' %} active{% endif %}" href="{{path('professionnels')}}">Professionnel</a>
  49.                               </li>
  50.                         {% endif %}
  51.                               {% if app.user %}
  52. <li class="nav-item d-lg-none d-xl-none d-xxl-none">
  53.                                  <a class="nav-link my-auto" href="{{path('app_logout')}}" data-bs-toggle="modal" data-bs-target="#connexion-modal" style="font-weight:bold !important;">Se déconnecter</a>
  54.                               </li>
  55.                               {% else %}
  56.                               <li class="nav-item d-lg-none d-xl-none d-xxl-none">
  57.                                  <a class="nav-link my-auto" href="#" data-bs-toggle="modal" data-bs-target="#connexion-modal" style="font-weight:bold !important;">Se connecter</a>
  58.                               </li>
  59.                               {% endif %}
  60.                            </ul>
  61.                         </div>
  62.                      </nav>
  63.                   </div>
  64.                </div>
  65.             </div>
  66.             <!--<div class="col-xl-5 col-lg-4 col-md-5 col-sm-5 col-6">-->
  67.             <div class="col-lg-4 col-5 col-sm-6">
  68.                <div class="header-menu-box clearfix">
  69.                   <div class="header-right-btn">
  70.                      <ul>
  71.                         <!-- <li><a class="theme-btn search-btn" href="javascript:void(0)"><i class="fas fa-search"></i></a></li> -->
  72.  {% if app.user %}
  73.  <li class="d-none d-lg-block d-xl-block d-xxl-block"><a class="login-text" href="{{path('app_logout')}}" style="margin-left:40px;">Se déconnecter</a></li>
  74.                               {% else %}
  75.                                <li class="d-none d-lg-block d-xl-block d-xxl-block"><a class="login-text" href="#" data-bs-toggle="modal" data-bs-target="#connexion-modal" style="margin-left:40px;">Se connecter</a></li>
  76.                               {% endif %}
  77.                        
  78.                         <!-- Button trigger modal -->
  79.                         <!-- Modal connexion-->
  80.                         <div class="modal fade" id="connexion-modal" tabindex="-1" aria-labelledby="connexion-modal-Label" aria-hidden="true">
  81.                            <div class="modal-dialog">
  82.                               <div class="modal-content" style="z-index: 100;">
  83.                                  <div class="modal-header">
  84.                                     <h5 class="modal-title mx-auto w-100 fs-3 text-center" id="connexion-modal-Label">Connexion</h5>
  85.                                     <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  86.                                  </div>
  87.                                  <div class="modal-body">
  88.                                     <form class="row g-3 needs-validation" method="POST" action="{{ path('custom_login') }}">
  89.                                        <div class="mb-3">
  90.                                           <label for="Email-connexion" class="form-label">Email</label>
  91.                                           <input type="email" class="form-control" id="Email-connexion" name="email" aria-describedby="emailHelp">
  92.                                          
  93.                                        </div>
  94.                                        <div class="mb-3">
  95.                                              <label for="Password-connexion" class="form-label">Mot de passe</label>
  96.                                              <div class="input-group">
  97.                                                 <input type="password" class="form-control" id="exampleInputPassword1" name="password" aria-describedby="forgot-password">
  98.                                                 <button class="btn btn-outline-secondary" type="button" id="togglePassword1">
  99.                                                    <i class="fas fa-eye"></i>
  100.                                                 </button>
  101.                                              </div>
  102.                                              <div id="forgot-password" class="form-text">
  103.                                                 <a href="forgot-Password.php" style="color: #F6249D;">Mot de passe oublié ?</a>
  104.                                              </div>
  105.                                        </div>
  106.                                        <div class="mb-3 ">
  107.                                           <p>Pas encore membre ? <a class="login-text" href="" data-bs-toggle="modal" data-bs-target="#exampleModal" style="color : black; text-decoration: underline !important;">S'inscrire</a></p>
  108.                                        </div>
  109.                                        
  110.                                        <button type="submit" class="btn btn-primary">Connexion</button>
  111.                                     </form>
  112.                                  </div>
  113.                               </div>
  114.                            </div>
  115.                         </div>
  116.                         <!-- fin modal particulier -->
  117.                         <!-- Modal-pro connexion-->
  118.                         <div class="modal fade" id="connexion-modal-pro" tabindex="-1" aria-labelledby="connexion-modal-Label" aria-hidden="true">
  119.                            <div class="modal-dialog">
  120.                               <div class="modal-content" style="z-index: 100;">
  121.                                  <div class="modal-header">
  122.                                     <h5 class="modal-title mx-auto w-100 fs-3 text-center" id="connexion-modal-Label">Connexion</h5>
  123.                                     <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  124.                                  </div>
  125.                                  <div class="modal-body">
  126.                                     <form class="row g-3 needs-validation" novalidate>
  127.                                        <div class="mb-3">
  128.                                           <label for="Email-connexion" class="form-label">Email</label>
  129.                                           <input type="email" class="form-control" id="Email-connexion" aria-describedby="emailHelp">
  130.                                           <div class="valid-feedback">
  131.                                              Identifiants valides !
  132.                                           </div>
  133.                                           <div class="invalid-feedback">
  134.                                              Identifiants incorrects
  135.                                           </div>
  136.                                        </div>
  137.                                        <div class="mb-3">
  138.                                              <label for="Password-connexion" class="form-label">Mot de passe</label>
  139.                                              <div class="input-group">
  140.                                                 <input type="password" class="form-control" id="exampleInputPassword1" name="password" aria-describedby="forgot-password">
  141.                                                 <button class="btn btn-outline-secondary" type="button" id="togglePassword1">
  142.                                                    <i class="fas fa-eye"></i>
  143.                                                 </button>
  144.                                              </div>
  145.                                              <div id="forgot-password" class="form-text">
  146.                                                 <a href="forgot-Password.php" style="color: #F6249D;">Mot de passe oublié ?</a>
  147.                                              </div>
  148.                                        </div>
  149.                                        <div class="mb-3 ">
  150.                                           <p>Pas encore membre ? <a class="login-text" href="login.php" data-bs-toggle="modal" data-bs-target="#exampleModal" style="color : black; text-decoration: underline !important;">S'inscrire</a></p>
  151.                                        </div>
  152.                                        <div class="mb-3 ">
  153.                                           <input type="checkbox" class="form-check-input" id="exampleCheck1">
  154.                                           <label class="form-check-label" for="exampleCheck1">Mémoriser</label>
  155.                                        </div>
  156.                                        <a href="browse.php"><button type="submit" class="btn btn-primary bg-pro">Connexion</button></a>
  157.                                     </form>
  158.                                  </div>
  159.                               </div>
  160.                            </div>
  161.                         </div>
  162.                         <!-- fin modal-pro -->
  163.                      </ul>
  164.                   </div>
  165.                </div>
  166.             </div>
  167.          </div>
  168.       </div>
  169.    </header>
  170.    <!-- header main -->
  171.    <!-- Modal -->
  172. <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  173.     <div class="modal-dialog">
  174.         <div class="modal-content" style="z-index: 100;">
  175.             <div class="modal-header">
  176.                 <h5 class="modal-title" id="exampleModalLabel">Sélectionnez votre statut</h5>
  177.                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  178.             </div>
  179.             <div class="modal-body d-flex justify-content-center align-items-center flex-column text-center">
  180.                 <a href="{{path('inscription',{'type':'part'})}}" class="btnModem" style="width:60%">INSCRIPTION PARTICULIER</a>
  181.                 <a href="{{path('inscription',{'type':'pro'})}}" class="btnMod" style="width:60%; margin-top:20px; white-space: nowrap;">INSCRIPTION PROFESSIONNEL</a>
  182.             </div>
  183.         </div>
  184.     </div>
  185. </div>
  186.         {% block body %}{% endblock %}
  187.   <!-- footer -->
  188. <footer class="footer-main">
  189.     <div class="footer-top">
  190.         <div class="container">
  191.             <div class="row">
  192.                 <!-- <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12">
  193.                <div class="footer-widget">
  194.                   <a href="index.html"><img src="assets/images/logo.png" style="width: 100px;" alt=""></a>
  195.                   <p class="theme-description">Modixom vous permettra de trouver en un seul click les meilleurs promotions. </p>
  196.                   <div class="footer-links clearfix">
  197.                      <div class="footer-icon-box">
  198.                         <a href="" title="Facebook" style="color: #3b5998;">
  199.                            <i class="fab fa-facebook-f"></i>
  200.                         </a>
  201.                      </div>
  202.                      <div class="footer-icon-box">
  203.                         <a href="" title="Twitter" style="color: #00acee;">
  204.                            <i class="fab fa-twitter"></i>
  205.                         </a>
  206.                      </div>
  207.                      <div class="footer-icon-box">
  208.                         <a href="" title="Linkedin" style="color: #0e76a8;">
  209.                            <i class="fab fa-linkedin-in"></i>
  210.                         </a>
  211.                      </div>
  212.                   </div>
  213.                </div>
  214.             </div> -->
  215.                 <div class="col-xl-3 col-lg-3  col-md-6 col-sm-6 col-12 text-center">
  216.                   <div class="footer-widget">
  217.                      <h3 class="theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}">DÉCOUVRIR MODIXOM</h3>
  218.                      <div class="footer-menu-services">
  219.                            <ul class="menu-service-menu" style="margin-left: -30px">
  220.                               {% if app.session.get('type') == 'pro' %}
  221.                                  <li><a href="{{ path('professionnels', {}, '#propos') }}">A Propos</a></li>
  222.                               {% else %}
  223.                                  <li><a href="{{ path('app_default', {}, '#propos') }}">A Propos</a></li>
  224.                               {% endif %}
  225.                               <li><a href="recommander_commercant.php">Recommander un commerçant</a></li>
  226.                               <li><a href="browse-particulier-no-logged.php">Annonces</a></li>
  227.                            </ul>
  228.                      </div>
  229.                   </div>
  230.                </div>
  231.                 <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12">
  232.                     <div class="footer-widget">
  233.                         <h3 class="theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}">MENTIONS LÉGALES</h3>
  234.                         <div class="footer-menu-services">
  235.                             <ul class="menu-service-menu" style="margin-left: -30px">
  236.                                 <li><a href="{{path('app_mention')}}">Mentions légales</a></li>
  237.                                 <li><a href="{{path('app_cookie')}}">Gestion des cookies</a></li>
  238.                                 <li><a href="{{path('app_protection')}}">Politique de protection des données</a></li>
  239.                                 <!-- <li><a href="contact.php">Conditions de vente</a></li>
  240.                         <li><a href="contact.php">RGPD</a></li> -->
  241.                             </ul>
  242.                         </div>
  243.                     </div>
  244.                 </div>
  245.                 <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12">
  246.                     <div class="footer-widget">
  247.                         <h3 class="theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}">AIDE</h3>
  248.                         <div class="footer-menu-services">
  249.                             <ul class="menu-service-menu" style="margin-left: -30px">
  250.                                 <li><a href="{{path('contact1')}}" data-bs-toggle="modal" data-bs-target="#connexion-modal">Nous contacter</a></li>
  251.                                 <li><a href="faq-particulier.php">FAQ</a></li>
  252.                             </ul>
  253.                         </div>
  254.                     </div>
  255.                 </div>
  256.                 <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12 ">
  257.                     <div class="footer-widget">
  258.                         <h3 class="theme-title {% if app.session.get('type') == 'part' %}green{% else %}blue{% endif %}">APPLICATION</h3>
  259.                         <div class="footer-menu-services">
  260.                             <div class="row"><br>
  261.                                 <!-- App Store button -->
  262.                                 <div class="col-md-12 col-12  pb-3">
  263.                                     <a href="https://www.apple.com/fr/app-store/" target="_blank" class="market-btn apple-btn" role="button">
  264.                                         <span class="market-button-subtitle">Télécharger sur</span>
  265.                                         <span class="market-button-title">App Store</span>
  266.                                     </a>
  267.                                 </div>
  268.                                 <!-- Google Play button -->
  269.                                 <div class="col-md-12 col-12 ">
  270.                                     <a href="https://play.google.com/store/games?gl=FR&utm_source=emea_Med&utm_medium=hasem&utm_content=Oct2020&utm_campaign=Evergreen&pcampaignid=MKT-EDR-emea-fr-1001280-Med-hasem-py-Evergreen-Oct2020-Text_Search_BKWS%7CONSEM_kwid_43700008792247580&gclid=CjwKCAiAl9efBhAkEiwA4Toril0SpGeAFHdzwhXUd_zX25ptzJLjDqUqg26pTEyl6Apf3UA1SsLrhhoCuAcQAvD_BwE&gclsrc=aw.ds&pli=1" target="_blank" class="market-btn google-btn" role="button">
  271.                                         <span class="market-button-subtitle">Télécharger sur</span>
  272.                                         <span class="market-button-title">Google Play</span>
  273.                                     </a>
  274.                                 </div>
  275.                             </div>
  276.                         </div>
  277.                     </div>
  278.                 </div>
  279.             </div>
  280.         </div>
  281.     </div>
  282.     <div class="footer-copyright">
  283.         <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
  284.             <div class="copyright-text text-right" style="margin-right: 100px">
  285.                 <p><a href="index.php">© 2023 Modixom</p>
  286.             </div>
  287.         </div>
  288.     </div>
  289. </footer>
  290. <!-- footer -->
  291. <!-- back top top -->
  292. <div class="back-top-top" id="page-up">
  293.     <a href=""><i class="fas fa-arrow-up"></i>Haut</a>
  294. </div>
  295. <!-- back top top -->
  296. <!-- preloader -->
  297. <!-- preloader -->
  298. <div class="theme-preloader">
  299.          <span><img src="{{asset('assets/images/logo.png')}}" alt=""></span>
  300.       </div>
  301. <!-- preloader -->
  302. <!-- preloader -->
  303. <!-- javascript -->
  304. <script src="{{asset('assets/js/jquery.min.js')}}"></script>
  305. <script src="{{asset('assets/js/popper.min.js')}}"></script>
  306. <script src="{{asset('assets/js/bootstrap.min.js')}}"></script>
  307. <script src="{{asset('assets/js/owl.carousel.min.js')}}"></script>
  308. <script type="text/javascript" src="{{asset('assets/js/jquery.cookie.min.js')}}"></script>
  309. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
  310. <script src="{{asset('assets/js/custom.js')}}"></script>
  311. <script src="{{asset('assets/js/ck-editor.js')}}"></script>
  312. <script>
  313.     $("#pro-button").click(function() {
  314.         $("#pro-options").removeClass("d-none");
  315.     });
  316. document.addEventListener('DOMContentLoaded', function() {
  317.     document.getElementById('togglePassword1').addEventListener('click', function() {
  318.         var passwordField = document.getElementById('exampleInputPassword1');
  319.         var type = passwordField.getAttribute('type') === 'password' ? 'text' : 'password';
  320.         passwordField.setAttribute('type', type);
  321.         this.querySelector('i').classList.toggle('fa-eye-slash');
  322.     });
  323. });
  324. </script>
  325. <!-- javascript -->
  326. </body>
  327. </html>