templates/website/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="description" content="La Marguerite est une association qui soutient les patients atteints de maladies chroniques, ainsi que les personnes aidantes. Nous valorisons l'expérience des patients.">
  6.         <meta name="keywords" content="association, limoges, landouge, patients, malades, chronique, soutient, aidants, ateliers, détente, bien-être, santé, nutrition, prévention, accompagnement, aide">
  7.         <meta name="robots" content="index, follow">
  8.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9.         <meta name="author" content="La Marguerite">
  10.         <link rel="canonical" href="https://www.lamargueriteasso.com">
  11.         <meta property="og:title" content="La Marguerite">
  12.         <meta property="og:description" content="La Marguerite est une association qui soutient les malades chroniques & aidants.">
  13.         <meta property="og:url" content="https://www.lamargueriteasso.com">
  14.         <meta property="og:type" content="website">
  15.         <title>La Marguerite - {{ block('title') }}</title>
  16.         <link rel="icon" href="/website/Assets/logo.png">
  17.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
  18.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
  19.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
  20.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
  21.         <link rel="stylesheet" href="/website/main.css">
  22.         
  23.     </head>
  24.     <body>
  25.         <!-- Header -->    
  26.         
  27.         <nav class="header fixed-top">
  28.             <div class="container">
  29.                 <div class="row align-items-center">
  30.                     <div class="col-2">
  31.                         <img class="header__logo" src="/website/Assets/logo_sans_fond.png" alt="Logo de la marguerite">
  32.                         
  33.                     </div>
  34.                     <div class="col-10 d-flex align-items-end">
  35.                         <input type="checkbox" id="burger" class="header__burger">
  36.                         <label for="burger" class="mb-0 header__burger-icon">☰</label>
  37.                         <div id="menu" class="header__menu">
  38.                             <ul>
  39.                                 {% if app.request.get('_route') == 'home' %}
  40.                                 <li class="selected"><a href="/">Accueil</a></li>
  41.                                 {% else %}
  42.                                 <li><a href="/">Accueil</a></li>
  43.                                 {% endif %}
  44.                                 {% if app.request.get('_route') == 'missions' %}
  45.                                 <li class="selected"><a href="/missions">Nos missions</a></li>
  46.                                 {% else %}
  47.                                 <li><a href="/missions">Nos missions</a></li>
  48.                                 {% endif %}
  49.                                 {% if app.request.get('_route') == 'adherents' %}
  50.                                 <li class="selected"><a href="/adherents">Associations Adhérentes</a></li>
  51.                                 {% else %}
  52.                                 <li><a href="/adherents">Associations Adhérentes</a></li>
  53.                                 {% endif %}
  54.                                 {% if app.request.get('_route') == 'ateliers' %}
  55.                                 <li class="selected"><a href="/ateliers">Ateliers</a></li>
  56.                                 {% else %}
  57.                                 <li><a href="/ateliers">Ateliers</a></li>
  58.                                 {% endif %}
  59.                                 {% if app.request.get('_route') == 'actualites' %}
  60.                                 <li class="selected"><a href="/actualites">Actualités</a></li>
  61.                                 {% else %}
  62.                                 <li><a href="/actualites">Actualités</a></li>
  63.                                 {% endif %}
  64.                                 {% if app.request.get('_route') == 'adhesions' %}
  65.                                 <li class="selected"><a href="/adhesions">Adhésion & dons</a></li>
  66.                                 {% else %}
  67.                                 <li><a href="/adhesions">Adhésion & dons</a></li>
  68.                                 {% endif %}
  69.                                 {% if app.request.get('_route') == 'contact' %}
  70.                                 <li class="selected"><a href="/contact">Contact</a></li>
  71.                                 {% else %}
  72.                                 <li><a href="/contact">Contact</a></li>
  73.                                 {% endif %}
  74.                             </ul>
  75.                         </div>
  76.                     </div>
  77.                 </div>
  78.             </div>
  79.         </nav>
  80.         
  81.         
  82.         <main class="main">
  83.         <!-- Background IMGs -->
  84.     
  85.             <img class="bg__top" src="/website/Assets/bg-top.svg" alt="Image de fond haut">
  86.             {# <img class="bg__bottom" src="/website/Assets/bg-btm.svg" alt="Image de fond bas"> #}
  87.             {% if app.request.get('_route') == 'home' %}
  88.                 {% if notification %}
  89.                     <div id="notification" class="container notification">
  90.                         <label for="notification_cross">X</label>
  91.                         <input type="checkbox" id="notification_cross">
  92.                         <div class="row">
  93.                             <div class="col">
  94.                                 <div class="notification__inner">
  95.                                     <h2 id="notification_title">{{notification.title}}</h2>
  96.                                     <p id="notification_text">{{notification.text}}</p>
  97.                                 </div>
  98.                             </div>
  99.                         </div>
  100.                     </div>
  101.             {% else %}
  102.             {% endif %}
  103.             {% endif %}
  104.     
  105.     
  106.             <h1>La Marguerite - <strong>{{ block('title') }} </strong></h1>
  107.         
  108.             {% block body %}
  109.             {% endblock %}
  110.         </main>
  111.         
  112.     <!-- Footer -->
  113.         <footer class="footer">
  114.             <div class="container footer__haut">
  115.                 <div class="row">
  116.         
  117.                     <div class="col-4">
  118.                         <ul>
  119.                             <li><h3>Centre Associatif</h3></li>
  120.                             <li><h4>Pour les malades & leurs aidants.</h4></li>
  121.                             <li><h4>Reconnu d'utilité publique.</h4></li>
  122.                             <li><h4><a href="/legal" class="footer__legal">Mentions légales</a></h4></li>
  123.                         </ul>
  124.                     </div>
  125.                     <div class="col-4">
  126.                         <ul>
  127.                             <li><h3>Prendre Contact</h3></li>
  128.                             <li><h4>La Marguerite&#8203; 95 rue Abbé Pierre&#8203; 87100 Limoges.</h4></li>
  129.                             <li><h4>Mail : contact@&#8203;lamargueriteasso&#8203;.fr</h4></li>
  130.                             <li><h4>Tel : 05 55 01 35 94</h4></li>
  131.                         </ul>
  132.                     </div>
  133.                     <div class="col-4">
  134.                         <ul>
  135.                             <li><h3>Nos Réseaux</h3></li>
  136.                             <li><a href="https://www.facebook.com/LaMargueriteAsso"><img src="/website/Assets/facebook.png" alt="Logo de Facebook"><h4>LaMarguerite&#8203;Asso</h4></a></li>
  137.                             <li><a href="https://www.linkedin.com/company/lamarguerite/"><img src="/website/Assets/linkedin.png" alt="Logo de Linkedin"><h4>La Marguerite</h4></a></li>
  138.                             <li><a href="https://www.youtube.com/channel/UC0qMyPw3YZ_N-wYHXkeC1jg"><img src="/website/Assets/youtube.png" alt="Logo de Youtube"><h4>La Marguerite</h4></a></li>
  139.         
  140.                         </ul>
  141.                     </div>
  142.         
  143.                 </div>
  144.             </div>
  145.         
  146.             <div class="container footer__bas">
  147.         
  148.                 <div class="row">
  149.                     
  150.                     <div class="col-12 footer__carrousel">
  151.                         <h3>La Marguerite remercie ses Financeurs</h3>
  152.                         <div id="carouselExample" class="owl-carousel owl-theme footer__carrouselInner">
  153.                             {% for partner in partners %}
  154.                                 <div class="item">
  155.                                     <a href="{{partner.url}}"><img src="/assets/images/{{partner.img.id}}.{{partner.img.extension}}" class="d-block w-100" alt="logo de {{partner.name}}"></a>
  156.                                 </div>
  157.                             {% endfor %}
  158.                             
  159.                             <!-- Ajoutez plus d'items de carrousel ici -->
  160.                         </div>
  161.                     </div>
  162.         
  163.                 </div>
  164.         
  165.             </div>
  166.         </footer>
  167.         
  168.         
  169.         <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  170.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
  171.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  172.         <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
  173.         
  174.         <script>
  175.         {# Carousel footer #}
  176.         $(document).ready(function(){
  177.             $("#carouselExample").owlCarousel({
  178.                 items: 3,
  179.                 loop: true,
  180.                 margin: 0,
  181.                 dots : false,
  182.                 nav: true,
  183.                 navText: ["<div class='nav-btn prev-slide'></div>", "<div class='nav-btn next-slide'></div>"],
  184.                 slideBy: 1, // Nombre d'items à déplacer lors de la navigation
  185.                 autoplay: true, // Active le défilement automatique
  186.                 autoplayTimeout: 3000, // Définit le délai de défilement automatique à 2 secondes
  187.                 responsive: {
  188.                     0: {
  189.                         items: 1
  190.                     },
  191.                     600: {
  192.                         items: 3
  193.                     },
  194.                     1000: {
  195.                         items: 3
  196.                     }
  197.                 }
  198.             });
  199.         });
  200.         {# Responsive Header #}
  201.         $(window).scroll(function() {
  202.             var header = $('.header');
  203.             header.toggleClass('sticky', $(window).scrollTop() >= 50);
  204.         });
  205.         {# Cookie #}
  206.         function setCookie(name, value, days) {
  207.             const date = new Date();
  208.             date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
  209.             const expires = "expires=" + date.toUTCString();
  210.             document.cookie = name + "=" + value + ";" + expires + ";path=/";
  211.         }
  212.         function getCookie(name) {
  213.             const nameEQ = name + "=";
  214.             const ca = document.cookie.split(';');
  215.             for (let i = 0; i < ca.length; i++) {
  216.                 let c = ca[i];
  217.                 while (c.charAt(0) == ' ') c = c.substring(1, c.length);
  218.                 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
  219.             }
  220.             return null;
  221.         }
  222.         function deleteCookie(name) {
  223.             document.cookie = name + '=; Max-Age=0; path=/';
  224.         }
  225.         
  226.         </script>
  227.         {% block javascripts %}
  228.             {{ encore_entry_script_tags('app') }}
  229.         {% endblock %}
  230.     </body>
  231. </html>