templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.         <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
  7.         <title>{% block title %}Welcome!{% endblock %}</title>
  8.         <link rel="icon" href="{{asset('img/favicon-16x16.png')}}">
  9.         <link rel="stylesheet" href="{{ asset('css/style.css') }}">
  10.        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
  11.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css">
  12.         <link rel="stylesheet" href="{{asset('slick/slick.css')}}">
  13.         <link rel="stylesheet" href="{{asset('slick/slick-theme.css')}}">
  14.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
  15.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  16.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"  >
  17.         <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
  18.         <link rel="preconnect" href="https://fonts.googleapis.com">
  19.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  20.         <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  21.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js" integrity="sha512-3gJwYpMe3QewGELv8k/BX9vcqhryRdzRMxVfq6ngyWXwo03GFEzjsUm8Q7RZcHPHksttq7/GFoxjCVUjkjvPdw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  22.         {% if app.user%}
  23.         {%else%}
  24.         <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
  25.         {%endif%}
  26.         
  27.         <script src="https://kit.fontawesome.com/d2408fdc07.js" crossorigin="anonymous"></script>
  28.         {% block stylesheet %}
  29.            
  30.         {% endblock %}
  31.         {% block javascripts %}
  32.          
  33.         {% endblock %}
  34.         <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-065YCH9G8X"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-065YCH9G8X'); </script>
  35.       
  36.     </head>
  37.     <body>
  38.     <style>
  39.         @media (max-width: 1400px) { 
  40.             section{
  41.                 background-size:contain!important;
  42.             }
  43.         }
  44.         .joinUsResp {
  45.         border: white solid 2px!important; 
  46.     }
  47.         .formResp i {
  48.             left: -19px!important;
  49.             bottom: -8px!important;
  50.         }
  51.         .searchResp{
  52.             margin-right:45px!important;
  53.         }
  54.         </style>
  55. {% if app.user %}
  56.     {% include 'cms.html.twig' %}
  57. {% endif %}
  58.          <!-- effet flou  -->
  59.         <div class="side-bar-content bg-red">
  60.             <div class="row" style="width: 100%; height: 100%; margin: 0;">
  61.                 <div class="col-2 blur"></div>
  62.                 <div class="col-10 content">
  63.                     <div class="d-flex justify-content-between align-items-center" style="width:100%;height:50px;margin-top:20px;margin-bottom:32px;">
  64.                         <a href="{{path('app_home')}}">
  65.                             <img style="width:40%;margin-left:14px;" src="{{asset('img/accueil/Groupe 134.svg')}}" alt="logo" style="cursor:pointer;">
  66.                         </a>     
  67.                     
  68.                         <i class="fa-regular fa-circle-xmark circlemark" style="width:20px;height:20px;color:white;margin-right:20px;cursor:pointer;"></i>
  69.                     </div>
  70.                      <div class="div d-flex">
  71.                      <form style="margin-bottom:30px;" action="{{path('resultatRecherche')}}" class="formResp d-flex w-100"method="post" >
  72.                             <input type="search" name="search" class="searchResp"  placeholder="{% trans %}tapez-votre-recherche{% endtrans %}">                            
  73.                             <i class="searchLink fa-solid fa-magnifying-glass" style="color:white"></i>
  74.                             <input type="submit" hidden />
  75.                     </form> 
  76.   
  77.                     </div>
  78.                     
  79.                     <div class="nav-links">
  80.                         <ul style="margin:0;padding:0;padding-right:20px;margin-left: 20px;">
  81.                             <li>
  82.                                 
  83.                 
  84.                                 
  85.                                 <a class="nav-link {% if app.request.get('_route') == 'app_industrialisation' %}active{% endif %}" aria-current="page" href="{{path('app_industrialisation',{'locale':app.request.locale})}}">{% trans %}navbar-menu-industrialisation{% endtrans %}</a>
  86.                             </li>
  87.                             <hr>
  88.                             <li>
  89.                                 <a class="nav-link {% if app.request.get('_route') == 'formations' %}active{% endif %}" href="{{path('formations',{'locale':app.request.locale})}}" >{% trans %}navbar-menu-formation{% endtrans %}</a>
  90.                             </li>
  91.                             <hr>
  92.                             <li>
  93.                                 <a class="nav-link {% if app.request.get('_route') == 'app_digitalManufacturingServices' %}active{% endif %}" href="{{path('app_digitalManufacturingServices',{'locale':app.request.locale})}}">{% trans %}navbar-menu-digital{% endtrans %}</a>
  94.                             </li>
  95.                             <hr>
  96.                             {% if app.user %}
  97.                            <div class="dropdown-text">
  98.                             <a class="nav-link-text" id="dropdown-toggle-text">{% trans %}navbar-manufacturingerp{% endtrans %}</a>
  99.                             </div>
  100.                         </li>
  101.                 <li>
  102.                  <div class="dropdown-text dropdown-content-text">
  103.                         
  104.                         <a class="{% if app.request.get('_route') == 'app_manufacturingERP' %}active{% endif %}" href="{{ path('app_manufacturingERP',{'locale':app.request.locale}) }}" style="padding-top: 6px!important;padding-bottom: 6px!important;    color: #0C24B3;">{% trans %}navbar-menu-erp-presentation{% endtrans %}</a>
  105.                         <a class="{% if app.request.get('_route') == 'presentationERP' %}active{% endif %}" href="{{ path('presentationERP',{'locale':app.request.locale}) }}" style="padding-top: 6px!important;padding-bottom: 6px!important;    color: #0C24B3;">{% trans %}navbar-menu-erp-fonctionnalites{% endtrans %}</a>
  106.                     </div>
  107.               
  108.                     <script>
  109.                       document.addEventListener("DOMContentLoaded", function() {
  110.                         const dropdownToggleText = document.getElementById("dropdown-toggle-text");
  111.                         const dropdownContentText = document.querySelector(".dropdown-content-text");
  112.                         const marge = document.querySelector(".testMarge");  // Corrigé le ':' par un ';'
  113.                         dropdownToggleText.addEventListener("click", function() {
  114.                             if (dropdownContentText.style.display === "block") {
  115.                                 dropdownContentText.style.display = "none";
  116.                                 marge.style.marginTop = "0px";  // Retire la marge
  117.                             } else {
  118.                                 dropdownContentText.style.display = "block";
  119.                                 marge.style.marginTop = "98px";  // Ajoute la marge
  120.                             }
  121.                         });
  122.                         document.addEventListener("click", function(event) {
  123.                             if (!event.target.matches(".nav-link-text") && !event.target.matches(".dropdown-content-text a")) {
  124.                                 dropdownContentText.style.display = "none";
  125.                                 marge.style.marginTop = "0px";  // Retire la marge
  126.                             }
  127.                         });
  128.                     });
  129.                                         </script>
  130.                 </li>
  131.                 <hr>
  132.                  {% endif %}
  133.                 <li class="testMarge">
  134.                     <a class="nav-link {% if app.request.get('_route') == 'app_baseOutils' %}active{% endif %}" href="{{path('app_baseOutils',{'locale':app.request.locale})}}">{% trans %}navbar-menu-baseoutils{% endtrans %}</a>
  135.                 </li>
  136.                             <hr>
  137.                             <li>
  138.                                 <a class="nav-link {% if app.request.get('_route') == 'app_societe' %}active{% endif %}" href="{{path('app_societe',{'locale':app.request.locale})}}">{% trans %}navbar-menu-societe{% endtrans %}</a>
  139.                             </li>
  140.                             <hr>
  141.                             <li>
  142.                                 <a class="nav-link {% if app.request.get('_route') == 'app_actualites' %}active{% endif %}" href="{{path('app_actualites',{'locale':app.request.locale})}}">{% trans %}navbar-menu-actu{% endtrans %}</a>
  143.                             </li>
  144.                             <hr>
  145.                             <li>
  146.                                 <a class="nav-link {% if app.request.get('_route') == 'app_contact' %}active{% endif %}" href="{{path('app_contact',{'locale':app.request.locale})}}">{% trans %}navbar-menu-contact{% endtrans %}</a>
  147.                             </li>
  148.                             <hr> 
  149.                            
  150.                            
  151.                             <div class="d-flex justify-content-between" style="margin-top:16px">
  152.                                 <div class="col-3 joinUs joinUsResp">
  153.      
  154.                                     <li class="nav-item">
  155.                                         <a class="nav-link {% if app.request.get('_route') == 'app_joinus' %}active{% endif %}" href="{{path('app_joinus',{'locale':app.request.locale})}}">JOIN US</a>
  156.                                     </li>
  157.                                 </div>
  158.                                 <li class="nav-item">
  159.                             <a href="https://www.linkedin.com/company/cpi-luxembourg" target="_blank"><img class="img-fluid" src="{{asset('img/accueil/linkedIn.png')}}" alt="linkedIn"></a>
  160.                                 </li>
  161.                             </div>
  162.                                        
  163.                               
  164.                            
  165.                             <li>
  166.                                
  167.                                     <p style="font-size:8px!important;color:white;text-decoration:none;margin:0;padding:0;margin-top:15px;margin-bottom:25px;"> <a href="{{ path('politique',{'locale':app.request.locale})}}"  style="font-size:12px!important;">{% trans %}footer-text3{% endtrans %}</a>  | <a href="{{ path('cookies',{'locale':app.request.locale})}}"  style="font-size:12px!important;">Cookies</a> </p>
  168.                                 
  169.                             </li>
  170.                             <li class="d-none">
  171.                                 <p style="font-size:12px;font-weight:bold;color:#7393FA; margin-top:15px;margin-bottom: 0!important;">{% trans %}footer-text2{% endtrans %}</p>
  172.                                  <div class="d-flex justify-content-between" style="margin:0;padding:0">
  173.                                     <a href="https://www.wintool.com/en" target="_blank" style="text-decoration:none;"><img src="{{asset('img/accueil/wintool-ag-logo-vector-white.png')}}" alt="" style="margin:0;padding:0"></a>
  174.                                     <a href="https://www.3ds.com/fr/" target="_blank" style="text-decoration:none;"><img src="{{asset('img/accueil/delmiaworks-logo.png')}}" style="margin:0;padding:0;width:135px;margin-left: 15px;" alt=""></a>
  175.                                 </div>
  176.                             </li>
  177.                             
  178.                                
  179.                             
  180.                         </ul>
  181.                     </div>
  182.                     
  183.                 </div>
  184.             </div>
  185.         </div>
  186.         <div class="side-bar">
  187.                 <a href="{{path('app_home')}}">
  188.                     <img src="{{asset('img/industrialisation/Groupe 287.svg')}}" alt="logo" style="cursor:pointer;">
  189.                 </a>
  190.               
  191.                     
  192.                 <div class="d-flex">
  193.                    
  194.                    <div class="radio-nav" style="margin-right:15px;">
  195.                                             <a href="{{path('changerLocale',{'locale':'fr'})}}" style="color:black;text-decoration:none;" class="{% if app.request.locale == 'fr' %}radio-nav-active{% endif %}">FR</a>  
  196.                                             <a href="{{path('changerLocale',{'locale':'en'})}}" style="color:black;text-decoration:none;" class="{% if app.request.locale == 'en' %}radio-nav-active{% endif %}">EN</a>
  197.                                         </div>
  198.                     <img src="{{asset('img/burger-menu-svgrepo-com.svg')}}" alt="menu burger logo" class="menu-hamburger" style="width: 30px!important;cursor:pointer;">
  199.                 </div>    
  200.         </div>
  201.           
  202.         
  203.        
  204.         <script>
  205.             const menuHamburger = document.querySelector(".menu-hamburger");
  206.             const sideBarContent = document.querySelector(".side-bar-content");
  207.             let buttonClose = document.querySelector(".circlemark");
  208.                 menuHamburger.addEventListener('click', () => {
  209.                 if (sideBarContent.style.display === 'block') {
  210.                     sideBarContent.style.display = 'none';
  211.                   
  212.                 } else {
  213.                     sideBarContent.style.display = 'block';
  214.                    
  215.                 }
  216.                 });
  217.                 buttonClose.addEventListener('click', () => {
  218.                     if (sideBarContent.style.display === 'block') {
  219.                         sideBarContent.style.display = 'none';
  220.                       
  221.                     } else {
  222.                         sideBarContent.style.display = 'block';
  223.                        
  224.                     }
  225.                     });
  226.         </script>
  227.     <header>
  228.         
  229.         <div class="navigation-header container-fluid" style="border-bottom: solid 2px blue;">
  230.             <div class="row py-4 d-flex" id="header" style=" margin-right:5%!important">
  231.                 <div class=" col-4 col-md-2 d-flex  align-items-center justify-content-center justify-content-md-end"  id="logo-responsive">
  232.                     <div class="logo">
  233.                         <a href="{{path('app_home')}}"><img class="d-block" style="width:150px !important;" src="{{asset('img/industrialisation/Groupe 287.svg')}}" alt="accueil" /></a>
  234.                     
  235.                     </div>
  236.                 </div>
  237.             
  238.                 <div class="col-10 d-flex justify-content-lg-end justify-content-center" >
  239.                     <nav class="navbar navbar-expand-lg ">
  240.                         <div class="container-fluid">
  241.                             <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  242.                                 <span class="navbar-toggler-icon"></span>
  243.                             </button>
  244.                             <div class="collapse navbar-collapse " id="navbarNav">
  245.                                 <ul class="navbar-nav " style="padding:0;position: relative;top: 14px;">
  246.                                     <li class="nav-item nav-edit  d-flex flex-column align-items-center justify-content-between" style="text-transform:uppercase">
  247.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':1})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  248.                                         <a class="nav-link {% if app.request.get('_route') == 'app_industrialisation' %}active{% endif %}" aria-current="page" href="{{path('app_industrialisation',{'locale':app.request.locale})}}">{% trans %}navbar-menu-industrialisation{% endtrans %}</a>
  249.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  250.                                     </li>
  251.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between">
  252.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':2})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  253.                                         <a class="nav-link {% if app.request.get('_route') == 'formations' %}active{% endif %}" href="{{path('formations',{'locale':app.request.locale})}}" >{% trans %}navbar-menu-formation{% endtrans %}</a>
  254.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  255.                                     </li>
  256.                                     <li class="nav-item nav-edit  d-flex flex-column align-items-center justify-content-between">
  257.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':53})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  258.                                         <a class="nav-link {% if app.request.get('_route') == 'app_digitalManufacturingServices' %}active{% endif %}" href="{{path('app_digitalManufacturingServices',{'locale':app.request.locale})}}">{% trans %}navbar-menu-digital{% endtrans %}</a>
  259.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  260.                                     </li>
  261.                                     {% if app.user %}
  262.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between ">
  263.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':60})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  264.                                         <div class="dropdown d-flex flex-column align-items-center justify-content-between">
  265.                                             <a class="nav-link {% if app.request.get('_route') == 'app_manufacturingERP' %}active{% endif %}" style="cursor:pointer;margin-bottom:20px">{% trans %}navbar-manufacturingerp{% endtrans %}</a>
  266.                                             <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  267.                                             <div class="dropdown-content dropdown-base">
  268.                                                 <a class="{% if app.request.get('_route') == 'app_manufacturingERP' %}active{% endif %}" href="{{ path('app_manufacturingERP',{'locale':app.request.locale}) }}">{% trans %}navbar-menu-erp-presentation{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':54})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</a>
  269.                                                 <a class="{% if app.request.get('_route') == 'presentationERP' %}active{% endif %}" href="{{ path('presentationERP',{'locale':app.request.locale}) }}">{% trans %}navbar-menu-erp-fonctionnalites{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':55})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</a>
  270.                                             </div>
  271. </div>
  272.                                                 <script>
  273.                                                     // Récupérez le lien MANUFACTURING et le menu déroulant
  274.                                                     const manufacturingLink = document.querySelector('.dropdown a');
  275.                                                     const dropdownContent = document.querySelector('.dropdown .dropdown-content');
  276.                                                     // Ajoutez un gestionnaire d'événement au lien
  277.                                                     manufacturingLink.addEventListener('click', function (e) {
  278.                                                         e.preventDefault(); // Empêche le lien de suivre le lien href
  279.                                                         // Vérifiez si le menu est actuellement caché
  280.                                                         if (dropdownContent.style.display === 'none' || !dropdownContent.style.display) {
  281.                                                             // Affichez le menu déroulant avec une hauteur adaptée au contenu
  282.                                                             dropdownContent.style.display = 'block';
  283.                                                             dropdownContent.style.height = 'auto';
  284.                                                             const height = dropdownContent.clientHeight + 'px';
  285.                                                             dropdownContent.style.height = '0'; // Réinitialisez la hauteur à 0
  286.                                                             setTimeout(() => {
  287.                                                                 dropdownContent.style.height = height; // Appliquez la hauteur réelle pour l'animation
  288.                                                             }, 0);
  289.                                                         } else {
  290.                                                             // Masquez le menu déroulant
  291.                                                             dropdownContent.style.height = '0';
  292.                                                             setTimeout(() => {
  293.                                                                 dropdownContent.style.display = 'none';
  294.                                                             }, 300); // Durée de l'animation CSS
  295.                                                         }
  296.                                                     });
  297.                                                 </script>
  298.                                     </li>
  299.                                     {% endif %}
  300.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between">
  301.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':56})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  302.                                         <a class="nav-link {% if app.request.get('_route') == 'app_baseOutils' %}active{% endif %}" href="{{path('app_baseOutils',{'locale':app.request.locale})}}">{% trans %}navbar-menu-baseoutils{% endtrans %}</a>
  303.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  304.                                     </li>
  305.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between">
  306.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':57})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  307.                                         <a class="nav-link {% if app.request.get('_route') == 'app_societe' %}active{% endif %}" href="{{path('app_societe',{'locale':app.request.locale})}}">{% trans %}navbar-menu-societe{% endtrans %}</a>
  308.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  309.                                     </li>
  310.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between">
  311.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':58})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  312.                                         <a class="nav-link {% if app.request.get('_route') == 'app_actualites' %}active{% endif %}" href="{{path('app_actualites',{'locale':app.request.locale})}}">{% trans %}navbar-menu-actu{% endtrans %}</a>
  313.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  314.                                     </li>
  315.                                     <li class="nav-item nav-edit d-flex flex-column align-items-center justify-content-between">
  316.                                         {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':59})}}"><button type="button"  style="" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  317.                                         <a class="nav-link {% if app.request.get('_route') == 'app_contact' %}active{% endif %}" href="{{path('app_contact',{'locale':app.request.locale})}}">{% trans %}navbar-menu-contact{% endtrans %}</a>
  318.                                         <img class="circle-hover-nav" src="{{asset('img/iconizer-image-rond-bleu-2.svg')}}" alt="">
  319.                                     </li>
  320.                         
  321.                                     <div class="joinUs">
  322.                                         <li class="nav-item">
  323.                                             <a class="nav-link {% if app.request.get('_route') == 'app_joinus' %}active{% endif %}" href="{{path('app_joinus',{'locale':app.request.locale})}}">JOIN US</a>
  324.                                         </li>
  325.                                     </div>
  326.                                     
  327.                                         
  328.                                         <div class="radio-nav">
  329.                                             <a href="{{path('changerLocale',{'locale':'fr'})}}" style="color:black;text-decoration:none;" class="{% if app.request.locale == 'fr' %}radio-nav-active{% endif %}">FR</a>  
  330.                                             <a href="{{path('changerLocale',{'locale':'en'})}}" style="color:black;text-decoration:none;" class="{% if app.request.locale == 'en' %}radio-nav-active{% endif %}">EN</a>
  331.                                         </div>
  332.                                         
  333.                                         <script>
  334.                                             document.querySelectorAll('input[name="language"]').forEach(function(radio) {
  335.                                                 radio.addEventListener('change', function() {
  336.                                                     console.log("Langue du site:", this.value); // Affiche la valeur dans la console
  337.                                                     document.getElementById('languageForm').submit();
  338.                                                 });
  339.                                             });
  340.                                         </script>
  341.                                    
  342.                                    <li id="search-icon">
  343.                                                 <i class="searchLinkDesktop fa-solid fa-magnifying-glass"></i>
  344.                                             </li>
  345.                                    
  346.                                 </ul>
  347.                             </div>
  348.                         </div>
  349.                     </nav>
  350.                 </div>
  351.             </div>
  352.         </div>
  353.         <div class="container-form" id="search-container">
  354.     <form action="{{path('resultatRecherche')}}" method="post">
  355.         <input type="search" name="search" placeholder="{% trans %}tapez-votre-recherche{% endtrans %}">
  356.         <input type="submit" hidden />
  357.     </form>
  358. </div>
  359. <script>
  360. document.addEventListener("DOMContentLoaded", function () {
  361.     const searchIcon = document.getElementById("search-icon");
  362.     const searchContainer = document.getElementById("search-container");
  363.     searchIcon.addEventListener("click", function (event) {
  364.         // Empêcher la propagation du clic pour éviter la fermeture immédiate
  365.         event.stopPropagation();
  366.         if (searchContainer.style.height === "0px" || searchContainer.style.height === "") {
  367.             // Afficher le formulaire
  368.             searchContainer.style.height = "90px";
  369.             searchContainer.style.opacity = "1";
  370.             // Ajouter un gestionnaire d'événements de clic au document pour masquer le formulaire
  371.             document.addEventListener("click", function closeSearchContainer() {
  372.                 // Masquer le formulaire
  373.                 searchContainer.style.height = "0px";
  374.                 searchContainer.style.opacity = "0";
  375.                 // Retirer le gestionnaire d'événements une fois le formulaire masqué
  376.                 document.removeEventListener("click", closeSearchContainer);
  377.             });
  378.         } else {
  379.             // Masquer le formulaire
  380.             searchContainer.style.height = "0px";
  381.             searchContainer.style.opacity = "0";
  382.         }
  383.     });
  384.     // Empêcher la propagation du clic depuis le conteneur du formulaire
  385.     searchContainer.addEventListener("click", function (event) {
  386.         event.stopPropagation();
  387.     });
  388. });
  389. </script>
  390.         {% if app.user %}
  391.         {% endif %}
  392.     
  393.     
  394.     
  395.     
  396. </header>
  397.         {% block body %}
  398.         
  399.         
  400.         
  401.         {% endblock %}
  402. <div class="footer ">
  403.     <div class="container">
  404.                     <div class=" row text">
  405.                         <div class="d-md-block d-none col-xl-3 col-4 d-flex align-items-center justify-content-center justify-content-lg-start pictureFooter deleteResponsive deleteResponsiveTablet">
  406.                             <a href ="#"><img class="d-md-block d-none w-75 img-fluid pictureFooter" src="{{asset('img/accueil/footer.png')}}" alt="accueil" /></a>    
  407.                         </div>
  408.                         <div class="col-xl-3 col-md-4 col-6 justify-content-center justify-content-lg-start ">
  409.                             <div class="txt1">
  410.                                 <p>LUXEMBOURG</p>
  411.                             </div>
  412.                             <div class="d-flex flex-column">                            
  413.                                 <p>21, rue de l'innovation,</p>
  414.                                 <p>1896 Kockelscheuer</p>
  415.                                 <p>Tél : +352 26 17 68 81</p>
  416.                                 <p>Email: info@cpi.lu</p>
  417.                             </div>
  418.                             <div class="row mt-4 deleteResponsiveTablet">
  419.                                 <div class="suivez-nous">
  420.                                     <p>{% trans %}footer-text1{% endtrans %}:</p>
  421.                             
  422.                                     <a href="https://www.linkedin.com/company/cpi-luxembourg" target="_blank"><img class="img-fluid" src="{{asset('img/accueil/linkedIn.png')}}" alt="linkedIn"></a>
  423.                                 </div>
  424.                                 {% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':80})}}"><button type="button"  style="position:relative;top:20px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}
  425.                             </div>
  426.                         
  427.                         </div>
  428.                     
  429.             
  430.                         <div class="col-xl-3 col-md-4 col-6  justify-content-center justify-content-lg-start ">
  431.                             <div class="txt2">
  432.                                 <p>FRANCE</p>
  433.                             </div>
  434.                             <div class="d-flex flex-wrap flex-xl-column flex-row"> 
  435.                                 <p>Buropole Services</p>
  436.                                 <p>478, rue de la Découverte</p>
  437.                                 <p>MiniParc 3 • CS 67624</p>
  438.                                 <p>31676 LABEGE</p><br>
  439.                                 <p>Tél.: +33 (0)5 81 91 90 42</p>
  440.                                 <p>Email: info@cpi.lu</p>
  441.                             </div>
  442.                         </div>
  443.                         
  444.                         <div class="col-md-3 deleteResponsive deleteResponsiveTablet">
  445.                             <div class="txt2">
  446.                                 <p>{% trans %}footer-text2{% endtrans %}{% if app.user %}<a href="{{path('app_dictionnaire_edit',{'id':81})}}"><button type="button"  style="margin-left:10px" class="btn btn-warning"><i class="fa-solid fa-pen"></i></button></a>{% endif %}</p>
  447.                                 
  448.                             </div>
  449.                             <div class="row">
  450.                                 <div class="partenariat">
  451.                                     <div class="col">
  452.                                         <a href="#"><img class="img-fluid" src="{{asset('img/societe/09-Logo Wintool Logo.png')}}" alt="wintool"></a>
  453.                                     </div>
  454.                                     
  455.                     
  456.                                 </div>
  457.                                 
  458.                             </div>
  459.                             <div class="row mt-5">
  460.                                 <div class="partenariat">
  461.                                     <div class="col">
  462.                                         <a href="#"><img class="img-fluid" src="{{asset('img/societe/03-logo dassault system-01.png')}}" alt="delmia2"></a>
  463.                                     </div>
  464.                                     
  465.                                     <br>
  466.                                 </div>
  467.                             </div>
  468.                         </div>
  469.                     </div>
  470.             
  471.  
  472.         
  473.     </div>
  474. </div>
  475. <div class="footer2">
  476.     <div class="container ">
  477.         <div class="row pt-1 d-flex flex-column flex-md-row " >
  478.             <div class="col-md-4 col-12  d-flex justify-content-center justify-content-md-start justify-content-xl-center" >
  479.                 <p class="txt1">EVAMILL S.A. -©2023 - All Rights Reserved</p>  
  480.             </div>
  481.             <div class="col-md-4 col-12 d-flex justify-content-center justify-content-md-start justify-content-xl-center deleteResponsive" >
  482.             <style>
  483.                 .txt2 a:hover{
  484.                     opacity: 0.8;
  485.                 }
  486.             </style>
  487.                 <p class="txt2" style="position:relative;bottom:3px;"><a href="{{ path('politique',{'locale':app.request.locale})}}">{% trans %}footer-text3{% endtrans %}</a> | <a href="{{ path('cookies',{'locale':app.request.locale})}}" >Cookies</a></p>
  488.             </div>
  489.              
  490.             <div class="col-md-4 col-12 d-flex justify-content-center justify-content-md-start justify-content-xl-center">
  491.                 <p class="txt3" ><a href="https://www.piranha.lu/" target="_blank" style="text-decoration:none !important">Designed by Piranha et Petits Poissons <span id="footerRouge">Rouges</span></a></p>   
  492.             </div>
  493.         </div>
  494.     </div>
  495. </div>
  496.         <script src="{{ asset('js/jquery-latest.min.js')}}"></script>
  497.         <script src="{{asset('slick/slick.js')}}"></script>
  498.        
  499.         <!-- pour les  annimation de scroll -->
  500.         {% if app.user%}
  501.         {%else%}
  502.         <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
  503.         {%endif%}
  504.     <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/classic/ckeditor.js"></script>
  505.        
  506.        <script type="text/javascript" src="{{ asset('cookies/jquery.ihavecookies.js')}}"></script>
  507.  <script type="text/javascript">
  508.                     
  509.             var options = {
  510.                 title: '{% if app.request.locale == 'fr' %}Acceptation des cookies{% else %}Cookie Policy{% endif %} ',
  511.                 message: "{% if app.request.locale == 'fr' %}Nous utilisons des cookies nécessaires au fonctionnement de ce site Web et également des cookies nous permettant d'analyser notre trafic.{% else %}We use cookies that are required for the operation of this website, they are cookies that enable us to analyze the website traffic.{% endif %}",
  512.                 delay: 600,
  513.                 expires: 1,
  514.                 link: "{{ path('politique',{'locale':app.request.locale})}}",
  515.                 onAccept: function(){
  516.                     var myPreferences = $.fn.ihavecookies.cookie();
  517.                     console.log('Yay! The following preferences were saved...');
  518.                     console.log(myPreferences);
  519.                 },
  520.                 uncheckBoxes: true,
  521.                 acceptBtnLabel: '{% if app.request.locale == 'fr' %}Tout accepter{% else %}Accept all{% endif %}',
  522.                 refuseBtnLabel: '{% if app.request.locale == 'fr' %}Tout refuser{% else %}Refuse all{% endif %}',
  523.                 advancedBtnLabel: '{% if app.request.locale == 'fr' %}Personnaliser{% else %}Customize{% endif %}',
  524.                 moreInfoLabel: '{% if app.request.locale == 'fr' %}En savoir plus{% else %}Read more{% endif %}',
  525.                 cookieTypesTitle: '{% if app.request.locale == 'fr' %}Choisissez les cookies que vous souhaitez accepter{% else %}Choose the cookies you want to accept{% endif %}',
  526.                 fixedCookieTypeLabel: '{% if app.request.locale == 'fr' %}Nécessaires{% else %}Required{% endif %}',
  527.                 fixedCookieTypeDesc: 'These are essential for the website to work correctly.',
  528.                 uncheckBoxes: true,
  529.                 cookieTypes: [
  530.                 
  531.                 {
  532.                     type: '{% if app.request.locale == 'fr' %}Préférences{% else %}Preferences{% endif %}',
  533.                     value: 'préférences',
  534.                     description: 'Cookies related to site visits, browser types, etc.'
  535.                 },
  536.                 {
  537.                     type: '{% if app.request.locale == 'fr' %}Fonctionnels{% else %}Functional{% endif %}',
  538.                     value: 'fonctionnels',
  539.                     description: 'Cookies related to site visits, browser types, etc.'
  540.                 },
  541.                 {
  542.                     type: '{% if app.request.locale == 'fr' %}Marketing{% else %}Marketing{% endif %}',
  543.                     value: 'marketing',
  544.                     description: 'Cookies related to site visits, browser types, etc.'
  545.                 },
  546.                 
  547.             ],
  548.             }
  549.             $(document).ready(function() {
  550.                 $('body').ihavecookies(options);
  551.                 if ($.fn.ihavecookies.preference('marketing') === true) {
  552.                     console.log('This should run because marketing is accepted.');
  553.                 }
  554.                 $('.ihavecookiesBtn').on('click', function(e){
  555.                     e.preventDefault()
  556.                     $('body').ihavecookies(options, 'reinit');
  557.                 });
  558.             });
  559.              // Toggle advanced cookie options
  560.             $('body').on('click', '#gdpr-cookie-advanced', function(){
  561.                 // Uncheck all checkboxes except for the disabled 'necessary'
  562.                 // one and set 'data-auto' to OFF for all. The user can now
  563.                 // select the cookies they want to accept.
  564.                 $('input[name="gdpr[]"]:not(:disabled)').attr('data-auto', 'off').prop('checked', false);
  565.                 $('#gdpr-cookie-types').slideDown('fast', function(){
  566.                     $('#gdpr-cookie-advanced').prop('disabled', true);
  567.                     $('#gdpr-cookie-advanced').hide();
  568.                     $('#gdpr-cookie-refuse').hide();
  569.                     $('#gdpr-cookie-accept').html('{% if app.request.locale == 'fr' %}Accepter{% else %}Accept{% endif %}');
  570.                 });
  571.             });
  572.         
  573.         </script>
  574.     <link href="{{ asset('cookies/cookies.css')}}" rel="stylesheet">
  575.         <script type="text/javascript">
  576.             $(document).ready(function(){
  577.                 $('.slider-demo-formation').slick({
  578.                     arrows: true,
  579.                     infinite:true,
  580.                     prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  581.                     nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  582.                     slidesToShow:4,
  583.                     slidesToScroll:4,
  584.                     responsive:[{
  585.                         breakpoint:1024,
  586.                         settings:{
  587.                             slidesToShow:2,            
  588.                         }
  589.                     },{
  590.                         breakpoint:900,
  591.                         settings:{
  592.                             slidesToShow:1,
  593.                         }
  594.                     }],
  595.                 });
  596.             });
  597.             $(document).ready(function(){
  598.                 $('.slider-demo-actu').slick({
  599.                     arrows: true,
  600.                     infinite:true,
  601.                     prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  602.                     nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  603.                     slidesToShow:4,
  604.                     slidesToScroll:4,
  605.                     responsive:[{
  606.                         breakpoint:1024,
  607.                         settings:{
  608.                             slidesToShow:2,            
  609.                         }
  610.                     },{
  611.                         breakpoint:900,
  612.                         settings:{
  613.                             slidesToShow:1,
  614.                         }
  615.                     }],
  616.                 });
  617.             });
  618.             $(document).ready(function(){
  619.                 $('.slider-demo-partenaire').slick({
  620.                     arrows: true,
  621.                     infinite:true,
  622.                     prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  623.                     nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  624.                     slidesToShow:4,
  625.                     slidesToScroll:4,
  626.                     responsive:[{
  627.                         breakpoint:1024,
  628.                         settings:{
  629.                             slidesToShow:2,            
  630.                         }
  631.                     },{
  632.                         breakpoint:900,
  633.                         settings:{
  634.                             slidesToShow:1,
  635.                         }
  636.                     }],
  637.                 });
  638.             });
  639.         </script>
  640.         <script type="text/javascript">
  641.             $(document).ready(function() {
  642.                 $('.imgAnimee img').captall({
  643.                     backgroundColor: 'rgba(0,0,255,0.5)',
  644.                     animation: 'slide',
  645.                     caption:'<button class="EnSavoirPlus">En savoir plus</button>',
  646.                     textAlign:'center',
  647.                     slideTo:'center',
  648.                     paddingTop:300,
  649.                     paddingBottom:300,
  650.                 });
  651.             });
  652.         </script>
  653.         <script type="text/javascript">
  654.                 // Affiche flèche quand hover sur le paragraphe BOX 1
  655.                 let box1 = document.querySelector('.box-doc-1');
  656.                 let text1 = document.querySelector('.p1box');
  657.                 let iconArrow1 = document.querySelector('.arrow1');
  658.                 let box2 = document.querySelector('.box-doc-2');
  659.                 let text2 = document.querySelector('.p2box');
  660.                 let iconArrow2 = document.querySelector('.arrow2');
  661.                 let box3 = document.querySelector('.box-doc-3');
  662.                 let text3 = document.querySelector('.p3box');
  663.                 let iconArrow3 = document.querySelector('.arrow3');
  664.                 let box4 = document.querySelector('.box-doc-4');
  665.                 let text4 = document.querySelector('.p4box');
  666.                 let iconArrow4 = document.querySelector('.arrow4');
  667.                 let box5 = document.querySelector('.box-doc-5');
  668.                 let text5 = document.querySelector('.p5box');
  669.                 let iconArrow5 = document.querySelector('.arrow5');
  670.                 let box6 = document.querySelector('.box-doc-6');
  671.                 let text6 = document.querySelector('.p6box');
  672.                 let iconArrow6 = document.querySelector('.arrow6');
  673.                 
  674.                 box1.addEventListener('mouseenter', function() {
  675.                     iconArrow1.style.visibility = 'visible';
  676.                     text1.style.fontWeight = '500';
  677.                     text1.style.color = '#fff';
  678.                 });
  679.                 box1.addEventListener('mouseleave', function() {    
  680.                     iconArrow1.style.visibility = 'hidden';
  681.                     text1.style.fontWeight = '300';
  682.                     text1.style.color = 'rgba(255, 255, 255, 0.713)';
  683.                 });
  684.                 box2.addEventListener('mouseenter', function() {
  685.                     iconArrow2.style.visibility = 'visible';
  686.                     text2.style.fontWeight = '500';
  687.                     text2.style.color = '#fff';
  688.                 });
  689.                 box2.addEventListener('mouseleave', function() {    
  690.                     iconArrow2.style.visibility = 'hidden';
  691.                     text2.style.fontWeight = '300';
  692.                     text2.style.color = 'rgba(255, 255, 255, 0.713)';
  693.                 });
  694.                 box3.addEventListener('mouseenter', function() {
  695.                     iconArrow3.style.visibility = 'visible';
  696.                     text3.style.fontWeight = '500';
  697.                     text3.style.color = '#fff';
  698.                 });
  699.                 box3.addEventListener('mouseleave', function() {    
  700.                     iconArrow3.style.visibility = 'hidden';
  701.                     text3.style.fontWeight = '300';
  702.                     text3.style.color = 'rgba(255, 255, 255, 0.713)';
  703.                 });
  704.                 box4.addEventListener('mouseenter', function() {
  705.                     iconArrow4.style.visibility = 'visible';
  706.                     text4.style.fontWeight = '500';
  707.                     text4.style.color = '#fff';
  708.                 });
  709.                 box4.addEventListener('mouseleave', function() {    
  710.                     iconArrow4.style.visibility = 'hidden';
  711.                     text4.style.fontWeight = '300';
  712.                     text4.style.color = 'rgba(255, 255, 255, 0.713)';
  713.                 });
  714.                 box5.addEventListener('mouseenter', function() {
  715.                     iconArrow5.style.visibility = 'visible';
  716.                     text5.style.fontWeight = '500';
  717.                     text5.style.color = '#fff';
  718.                 });
  719.                 box5.addEventListener('mouseleave', function() {    
  720.                     iconArrow5.style.visibility = 'hidden';
  721.                     text5.style.fontWeight = '300';
  722.                     text5.style.color = 'rgba(255, 255, 255, 0.713)';
  723.                 });
  724.                 box6.addEventListener('mouseenter', function() {
  725.                     iconArrow6.style.visibility = 'visible';
  726.                     text6.style.fontWeight = '500';
  727.                     text6.style.color = '#fff';
  728.                 });
  729.                 box6.addEventListener('mouseleave', function() {    
  730.                     iconArrow6.style.visibility = 'hidden';
  731.                     text6.style.fontWeight = '300';
  732.                     text6.style.color = 'rgba(255, 255, 255, 0.713)';
  733.                 });
  734.                 // Affiche flèche quand hover sur le paragraphe BOX 2
  735.                 let box12 = document.querySelector('.box-doc-1-2');
  736.                 let text12 = document.querySelector('.p1box-2');
  737.                 let iconArrow12 = document.querySelector('.arrow1-2');
  738.                 let box22 = document.querySelector('.box-doc-2-2');
  739.                 let text22 = document.querySelector('.p2box-2');
  740.                 let iconArrow22 = document.querySelector('.arrow2-2');
  741.                 let box32 = document.querySelector('.box-doc-3-2');
  742.                 let text32 = document.querySelector('.p3box-2');
  743.                 let iconArrow32 = document.querySelector('.arrow3-2');
  744.                 let box42 = document.querySelector('.box-doc-4-2');
  745.                 let text42 = document.querySelector('.p4box-2');
  746.                 let iconArrow42 = document.querySelector('.arrow4-2');
  747.                 let box52 = document.querySelector('.box-doc-5-2');
  748.                 let text52 = document.querySelector('.p5box-2');
  749.                 let iconArrow52 = document.querySelector('.arrow5-2');
  750.                 let box62 = document.querySelector('.box-doc-6-2');
  751.                 let text62 = document.querySelector('.p6box-2');
  752.                 let iconArrow62 = document.querySelector('.arrow6-2');
  753.                 
  754.                 box12.addEventListener('mouseenter', function() {
  755.                     iconArrow12.style.visibility = 'visible';
  756.                     text12.style.fontWeight = '500';
  757.                     text12.style.color = '#fff';
  758.                 });
  759.                 box12.addEventListener('mouseleave', function() {    
  760.                     iconArrow12.style.visibility = 'hidden';
  761.                     text12.style.fontWeight = '300';
  762.                     text12.style.color = 'rgba(255, 255, 255, 0.713)';
  763.                 });
  764.                 box22.addEventListener('mouseenter', function() {
  765.                     iconArrow22.style.visibility = 'visible';
  766.                     text22.style.fontWeight = '500';
  767.                     text22.style.color = '#fff';
  768.                 });
  769.                 box22.addEventListener('mouseleave', function() {    
  770.                     iconArrow22.style.visibility = 'hidden';
  771.                     text22.style.fontWeight = '300';
  772.                     text22.style.color = 'rgba(255, 255, 255, 0.713)';
  773.                 });
  774.                 box32.addEventListener('mouseenter', function() {
  775.                     iconArrow32.style.visibility = 'visible';
  776.                     text32.style.fontWeight = '500';
  777.                     text32.style.color = '#fff';
  778.                 });
  779.                 box32.addEventListener('mouseleave', function() {    
  780.                     iconArrow32.style.visibility = 'hidden';
  781.                     text32.style.fontWeight = '300';
  782.                     text32.style.color = 'rgba(255, 255, 255, 0.713)';
  783.                 });
  784.                 box42.addEventListener('mouseenter', function() {
  785.                     iconArrow42.style.visibility = 'visible';
  786.                     text42.style.fontWeight = '500';
  787.                     text42.style.color = '#fff';
  788.                 });
  789.                 box42.addEventListener('mouseleave', function() {    
  790.                     iconArrow42.style.visibility = 'hidden';
  791.                     text42.style.fontWeight = '300';
  792.                     text42.style.color = 'rgba(255, 255, 255, 0.713)';
  793.                 });
  794.                 box52.addEventListener('mouseenter', function() {
  795.                     iconArrow52.style.visibility = 'visible';
  796.                     text52.style.fontWeight = '500';
  797.                     text52.style.color = '#fff';
  798.                 });
  799.                 box52.addEventListener('mouseleave', function() {    
  800.                     iconArrow52.style.visibility = 'hidden';
  801.                     text52.style.fontWeight = '300';
  802.                     text52.style.color = 'rgba(255, 255, 255, 0.713)';
  803.                 });
  804.                 box62.addEventListener('mouseenter', function() {
  805.                     iconArrow62.style.visibility = 'visible';
  806.                     text62.style.fontWeight = '500';
  807.                     text62.style.color = '#fff';
  808.                 });
  809.                 box62.addEventListener('mouseleave', function() {    
  810.                     iconArrow62.style.visibility = 'hidden';
  811.                     text62.style.fontWeight = '300';
  812.                     text62.style.color = 'rgba(255, 255, 255, 0.713)';
  813.                 });
  814.                 // Affiche flèche quand hover sur le paragraphe BOX 3
  815.                 let box13 = document.querySelector('.box-doc-1-3');
  816.                 let text13 = document.querySelector('.p1box-3');
  817.                 let iconArrow13 = document.querySelector('.arrow1-3');
  818.                 let box23 = document.querySelector('.box-doc-2-3');
  819.                 let text23 = document.querySelector('.p2box-3');
  820.                 let iconArrow23 = document.querySelector('.arrow2-3');
  821.                 let box33 = document.querySelector('.box-doc-3-3');
  822.                 let text33 = document.querySelector('.p3box-3');
  823.                 let iconArrow33 = document.querySelector('.arrow3-3');
  824.                 let box43 = document.querySelector('.box-doc-4-3');
  825.                 let text43 = document.querySelector('.p4box-3');
  826.                 let iconArrow43 = document.querySelector('.arrow4-3');
  827.                 let box53 = document.querySelector('.box-doc-5-3');
  828.                 let text53 = document.querySelector('.p5box-3');
  829.                 let iconArrow53 = document.querySelector('.arrow5-3');
  830.                 let box63 = document.querySelector('.box-doc-6-3');
  831.                 let text63 = document.querySelector('.p6box-3');
  832.                 let iconArrow63 = document.querySelector('.arrow6-3');
  833.                 
  834.                 box13.addEventListener('mouseenter', function() {
  835.                     iconArrow13.style.visibility = 'visible';
  836.                     text13.style.fontWeight = '500';
  837.                     text13.style.color = '#fff';
  838.                 });
  839.                 box13.addEventListener('mouseleave', function() {    
  840.                     iconArrow13.style.visibility = 'hidden';
  841.                     text13.style.fontWeight = '300';
  842.                     text13.style.color = 'rgba(255, 255, 255, 0.713)';
  843.                 });
  844.                 box23.addEventListener('mouseenter', function() {
  845.                     iconArrow23.style.visibility = 'visible';
  846.                     text23.style.fontWeight = '500';
  847.                     text23.style.color = '#fff';
  848.                 });
  849.                 box23.addEventListener('mouseleave', function() {    
  850.                     iconArrow23.style.visibility = 'hidden';
  851.                     text23.style.fontWeight = '300';
  852.                     text23.style.color = 'rgba(255, 255, 255, 0.713)';
  853.                 });
  854.                 box33.addEventListener('mouseenter', function() {
  855.                     iconArrow33.style.visibility = 'visible';
  856.                     text33.style.fontWeight = '500';
  857.                     text33.style.color = '#fff';
  858.                 });
  859.                 box33.addEventListener('mouseleave', function() {    
  860.                     iconArrow33.style.visibility = 'hidden';
  861.                     text33.style.fontWeight = '300';
  862.                     text33.style.color = 'rgba(255, 255, 255, 0.713)';
  863.                 });
  864.                 box43.addEventListener('mouseenter', function() {
  865.                     iconArrow43.style.visibility = 'visible';
  866.                     text43.style.fontWeight = '500';
  867.                     text43.style.color = '#fff';
  868.                 });
  869.                 box43.addEventListener('mouseleave', function() {    
  870.                     iconArrow43.style.visibility = 'hidden';
  871.                     text43.style.fontWeight = '300';
  872.                     text43.style.color = 'rgba(255, 255, 255, 0.713)';
  873.                 });
  874.                 box53.addEventListener('mouseenter', function() {
  875.                     iconArrow53.style.visibility = 'visible';
  876.                     text53.style.fontWeight = '500';
  877.                     text53.style.color = '#fff';
  878.                 });
  879.                 box53.addEventListener('mouseleave', function() {    
  880.                     iconArrow53.style.visibility = 'hidden';
  881.                     text53.style.fontWeight = '300';
  882.                     text53.style.color = 'rgba(255, 255, 255, 0.713)';
  883.                 });
  884.                 box63.addEventListener('mouseenter', function() {
  885.                     iconArrow63.style.visibility = 'visible';
  886.                     text63.style.fontWeight = '500';
  887.                     text63.style.color = '#fff';
  888.                 });
  889.                 box63.addEventListener('mouseleave', function() {    
  890.                     iconArrow63.style.visibility = 'hidden';
  891.                     text63.style.fontWeight = '300';
  892.                     text63.style.color = 'rgba(255, 255, 255, 0.713)';
  893.                 });
  894.                 // Affiche flèche quand hover sur le paragraphe BOX 4
  895.                 let box14 = document.querySelector('.box-doc-1-4');
  896.                 let text14 = document.querySelector('.p1box-4');
  897.                 let iconArrow14 = document.querySelector('.arrow1-4');
  898.                 let box24 = document.querySelector('.box-doc-2-4');
  899.                 let text24 = document.querySelector('.p2box-4');
  900.                 let iconArrow24 = document.querySelector('.arrow2-4');
  901.                 let box34 = document.querySelector('.box-doc-3-4');
  902.                 let text34 = document.querySelector('.p3box-4');
  903.                 let iconArrow34 = document.querySelector('.arrow3-4');
  904.                 let box44 = document.querySelector('.box-doc-4-4');
  905.                 let text44 = document.querySelector('.p4box-4');
  906.                 let iconArrow44 = document.querySelector('.arrow4-4');
  907.                 let box54 = document.querySelector('.box-doc-5-4');
  908.                 let text54 = document.querySelector('.p5box-4');
  909.                 let iconArrow54 = document.querySelector('.arrow5-4');
  910.                 let box64 = document.querySelector('.box-doc-6-4');
  911.                 let text64 = document.querySelector('.p6box-4');
  912.                 let iconArrow64 = document.querySelector('.arrow6-4');
  913.                 
  914.                 box14.addEventListener('mouseenter', function() {
  915.                     iconArrow14.style.visibility = 'visible';
  916.                     text14.style.fontWeight = '500';
  917.                     text14.style.color = '#fff';
  918.                 });
  919.                 box14.addEventListener('mouseleave', function() {    
  920.                     iconArrow14.style.visibility = 'hidden';
  921.                     text14.style.fontWeight = '300';
  922.                     text14.style.color = 'rgba(255, 255, 255, 0.713)';
  923.                 });
  924.                 box24.addEventListener('mouseenter', function() {
  925.                     iconArrow24.style.visibility = 'visible';
  926.                     text24.style.fontWeight = '500';
  927.                     text24.style.color = '#fff';
  928.                 });
  929.                 box24.addEventListener('mouseleave', function() {    
  930.                     iconArrow24.style.visibility = 'hidden';
  931.                     text24.style.fontWeight = '300';
  932.                     text24.style.color = 'rgba(255, 255, 255, 0.713)';
  933.                 });
  934.                 box34.addEventListener('mouseenter', function() {
  935.                     iconArrow34.style.visibility = 'visible';
  936.                     text34.style.fontWeight = '500';
  937.                     text34.style.color = '#fff';
  938.                 });
  939.                 box34.addEventListener('mouseleave', function() {    
  940.                     iconArrow34.style.visibility = 'hidden';
  941.                     text34.style.fontWeight = '300';
  942.                     text34.style.color = 'rgba(255, 255, 255, 0.713)';
  943.                 });
  944.                 box44.addEventListener('mouseenter', function() {
  945.                     iconArrow44.style.visibility = 'visible';
  946.                     text44.style.fontWeight = '500';
  947.                     text44.style.color = '#fff';
  948.                 });
  949.                 box44.addEventListener('mouseleave', function() {    
  950.                     iconArrow44.style.visibility = 'hidden';
  951.                     text44.style.fontWeight = '300';
  952.                     text44.style.color = 'rgba(255, 255, 255, 0.713)';
  953.                 });
  954.                 box54.addEventListener('mouseenter', function() {
  955.                     iconArrow54.style.visibility = 'visible';
  956.                     text54.style.fontWeight = '500';
  957.                     text54.style.color = '#fff';
  958.                 });
  959.                 box54.addEventListener('mouseleave', function() {    
  960.                     iconArrow54.style.visibility = 'hidden';
  961.                     text54.style.fontWeight = '300';
  962.                     text54.style.color = 'rgba(255, 255, 255, 0.713)';
  963.                 });
  964.                 box64.addEventListener('mouseenter', function() {
  965.                     iconArrow64.style.visibility = 'visible';
  966.                     text64.style.fontWeight = '500';
  967.                     text64.style.color = '#fff';
  968.                 });
  969.                 box64.addEventListener('mouseleave', function() {    
  970.                     iconArrow64.style.visibility = 'hidden';
  971.                     text64.style.fontWeight = '300';
  972.                     text64.style.color = 'rgba(255, 255, 255, 0.713)';
  973.                 });
  974.                  // Affiche flèche quand hover sur le paragraphe BOX 5
  975.                 let box15 = document.querySelector('.box-doc-1-5');
  976.                 let text15 = document.querySelector('.p1box-5');
  977.                 let iconArrow15 = document.querySelector('.arrow1-5');
  978.                 let box25 = document.querySelector('.box-doc-2-5');
  979.                 let text25 = document.querySelector('.p2box-5');
  980.                 let iconArrow25 = document.querySelector('.arrow2-5');
  981.                 let box35 = document.querySelector('.box-doc-3-5');
  982.                 let text35 = document.querySelector('.p3box-5');
  983.                 let iconArrow35 = document.querySelector('.arrow3-5');
  984.                 let box45 = document.querySelector('.box-doc-4-5');
  985.                 let text45 = document.querySelector('.p4box-5');
  986.                 let iconArrow45 = document.querySelector('.arrow4-5');
  987.                 let box55 = document.querySelector('.box-doc-5-5');
  988.                 let text55 = document.querySelector('.p5box-5');
  989.                 let iconArrow55 = document.querySelector('.arrow5-5');
  990.                 let box65 = document.querySelector('.box-doc-6-5');
  991.                 let text65 = document.querySelector('.p6box-5');
  992.                 let iconArrow65 = document.querySelector('.arrow6-5');
  993.                 
  994.                 box15.addEventListener('mouseenter', function() {
  995.                     iconArrow15.style.visibility = 'visible';
  996.                     text15.style.fontWeight = '500';
  997.                     text15.style.color = '#fff';
  998.                 });
  999.                 box15.addEventListener('mouseleave', function() {    
  1000.                     iconArrow15.style.visibility = 'hidden';
  1001.                     text15.style.fontWeight = '300';
  1002.                     text15.style.color = 'rgba(255, 255, 255, 0.713)';
  1003.                 });
  1004.                 box25.addEventListener('mouseenter', function() {
  1005.                     iconArrow25.style.visibility = 'visible';
  1006.                     text25.style.fontWeight = '500';
  1007.                     text25.style.color = '#fff';
  1008.                 });
  1009.                 box25.addEventListener('mouseleave', function() {    
  1010.                     iconArrow25.style.visibility = 'hidden';
  1011.                     text25.style.fontWeight = '300';
  1012.                     text25.style.color = 'rgba(255, 255, 255, 0.713)';
  1013.                 });
  1014.                 box35.addEventListener('mouseenter', function() {
  1015.                     iconArrow35.style.visibility = 'visible';
  1016.                     text35.style.fontWeight = '500';
  1017.                     text35.style.color = '#fff';
  1018.                 });
  1019.                 box35.addEventListener('mouseleave', function() {    
  1020.                     iconArrow35.style.visibility = 'hidden';
  1021.                     text35.style.fontWeight = '300';
  1022.                     text35.style.color = 'rgba(255, 255, 255, 0.713)';
  1023.                 });
  1024.                 box45.addEventListener('mouseenter', function() {
  1025.                     iconArrow45.style.visibility = 'visible';
  1026.                     text45.style.fontWeight = '500';
  1027.                     text45.style.color = '#fff';
  1028.                 });
  1029.                 box45.addEventListener('mouseleave', function() {    
  1030.                     iconArrow45.style.visibility = 'hidden';
  1031.                     text45.style.fontWeight = '300';
  1032.                     text45.style.color = 'rgba(255, 255, 255, 0.713)';
  1033.                 });
  1034.                 box55.addEventListener('mouseenter', function() {
  1035.                     iconArrow55.style.visibility = 'visible';
  1036.                     text55.style.fontWeight = '500';
  1037.                     text55.style.color = '#fff';
  1038.                 });
  1039.                 box55.addEventListener('mouseleave', function() {    
  1040.                     iconArrow55.style.visibility = 'hidden';
  1041.                     text55.style.fontWeight = '300';
  1042.                     text55.style.color = 'rgba(255, 255, 255, 0.713)';
  1043.                 });
  1044.                 box65.addEventListener('mouseenter', function() {
  1045.                     iconArrow65.style.visibility = 'visible';
  1046.                     text65.style.fontWeight = '500';
  1047.                     text65.style.color = '#fff';
  1048.                 });
  1049.                 box65.addEventListener('mouseleave', function() {    
  1050.                     iconArrow65.style.visibility = 'hidden';
  1051.                     text65.style.fontWeight = '300';
  1052.                     text65.style.color = 'rgba(255, 255, 255, 0.713)';
  1053.                 });
  1054.                 // gère les différent catégorie challenge
  1055.                 
  1056.                 let buttonChallenge1 =  document.querySelector('.challenge-button-1'); 
  1057.                 let buttonChallenge2 =  document.querySelector('.challenge-button-2'); 
  1058.                 let buttonChallenge3 =  document.querySelector('.challenge-button-3'); 
  1059.                 let buttonChallenge4 =  document.querySelector('.challenge-button-4'); 
  1060.                 let buttonChallenge5 =  document.querySelector('.challenge-button-5'); 
  1061.                 let containerDoc1 =  document.querySelector('.container-document-1'); 
  1062.                 let containerDoc2 =  document.querySelector('.container-document-2'); 
  1063.                 let containerDoc3 =  document.querySelector('.container-document-3'); 
  1064.                 let containerDoc4 =  document.querySelector('.container-document-4'); 
  1065.                 let containerDoc5 =  document.querySelector('.container-document-5'); 
  1066.                 buttonChallenge1.addEventListener('click', function() {
  1067.                     containerDoc1.style.display = 'block';
  1068.                     containerDoc2.style.display = 'none';
  1069.                     containerDoc3.style.display = 'none';
  1070.                     containerDoc4.style.display = 'none';
  1071.                     containerDoc5.style.display = 'none';
  1072.                     buttonChallenge1.style.backgroundColor = '#2462FF';
  1073.                     buttonChallenge2.style.backgroundColor = 'transparent';
  1074.                     buttonChallenge3.style.backgroundColor = 'transparent';
  1075.                     buttonChallenge4.style.backgroundColor = 'transparent';
  1076.                     buttonChallenge5.style.backgroundColor = 'transparent';
  1077.                 });
  1078.                 buttonChallenge2.addEventListener('click', function() {
  1079.                     containerDoc2.style.display = 'block';
  1080.                     containerDoc1.style.display = 'none';
  1081.                     containerDoc3.style.display = 'none';
  1082.                     containerDoc4.style.display = 'none';
  1083.                     containerDoc5.style.display = 'none';
  1084.                     buttonChallenge1.style.backgroundColor = 'transparent';
  1085.                     buttonChallenge2.style.backgroundColor = '#2462FF';
  1086.                     buttonChallenge3.style.backgroundColor = 'transparent';
  1087.                     buttonChallenge4.style.backgroundColor = 'transparent';
  1088.                     buttonChallenge5.style.backgroundColor = 'transparent';
  1089.                     
  1090.                 });
  1091.                 buttonChallenge3.addEventListener('click', function() {
  1092.                     containerDoc3.style.display = 'block';
  1093.                     containerDoc1.style.display = 'none';
  1094.                     containerDoc2.style.display = 'none';
  1095.                     containerDoc4.style.display = 'none';
  1096.                     containerDoc5.style.display = 'none';
  1097.                     buttonChallenge1.style.backgroundColor = 'transparent';
  1098.                     buttonChallenge2.style.backgroundColor = 'transparent';
  1099.                     buttonChallenge3.style.backgroundColor = '#2462FF';
  1100.                     buttonChallenge4.style.backgroundColor = 'transparent';
  1101.                     buttonChallenge5.style.backgroundColor = 'transparent';
  1102.                 });
  1103.                 buttonChallenge4.addEventListener('click', function() {
  1104.                     containerDoc4.style.display = 'block';
  1105.                     containerDoc1.style.display = 'none';
  1106.                     containerDoc2.style.display = 'none';
  1107.                     containerDoc3.style.display = 'none';
  1108.                     containerDoc5.style.display = 'none';
  1109.                     buttonChallenge1.style.backgroundColor = 'transparent';
  1110.                     buttonChallenge2.style.backgroundColor = 'transparent';
  1111.                     buttonChallenge3.style.backgroundColor = 'transparent';
  1112.                     buttonChallenge4.style.backgroundColor = '#2462FF';
  1113.                     buttonChallenge5.style.backgroundColor = 'transparent';
  1114.                 });
  1115.                 buttonChallenge5.addEventListener('click', function() {
  1116.                     containerDoc5.style.display = 'block';
  1117.                     containerDoc1.style.display = 'none';
  1118.                     containerDoc2.style.display = 'none';
  1119.                     containerDoc3.style.display = 'none';
  1120.                     containerDoc4.style.display = 'none';
  1121.                     buttonChallenge1.style.backgroundColor = 'transparent';
  1122.                     buttonChallenge2.style.backgroundColor = 'transparent';
  1123.                     buttonChallenge3.style.backgroundColor = 'transparent';
  1124.                     buttonChallenge4.style.backgroundColor = 'transparent';
  1125.                     buttonChallenge5.style.backgroundColor = '#2462FF';
  1126.                 });
  1127.           
  1128.                 let circle2  =  document.querySelector('.circle-container-2'); 
  1129.                 let circle4  =  document.querySelector('.circle-container-4'); 
  1130.                 let circle5  =  document.querySelector('.circle-container-5'); 
  1131.                 let circle6  =  document.querySelector('.circle-container-6'); 
  1132.                 let imgCircle2 =  document.querySelector('.img-circle-2'); 
  1133.                 let imgCircle4 =  document.querySelector('.img-circle-4'); 
  1134.                 let imgCircle5 =  document.querySelector('.img-circle-5'); 
  1135.                 let imgCircle6 =  document.querySelector('.img-circle-6'); 
  1136.              
  1137.                 circle6.addEventListener("mouseenter", function() {
  1138.                     imgCircle6.src = "img/accueil/cpi-industrialisation-hover.svg";
  1139.                     
  1140.                 });
  1141.                 circle6.addEventListener('mouseleave', function() {    
  1142.                     imgCircle6.src = "img/accueil/cpi-industrialisation.svg";
  1143.                 });
  1144.                 circle5.addEventListener("mouseenter", function() {
  1145.                     imgCircle5.src = "img/accueil/cpi-formation-hover.svg";
  1146.                    
  1147.                 });
  1148.                 circle5.addEventListener('mouseleave', function() {    
  1149.                     imgCircle5.src = "img/accueil/cpi-formation.svg";
  1150.                 });
  1151.                 circle4.addEventListener("mouseenter", function() {
  1152.                     imgCircle4.src = "img/accueil/cpi-recrutement-hover.svg";
  1153.                    
  1154.                 });
  1155.                 circle4.addEventListener('mouseleave', function() {    
  1156.                     imgCircle4.src = "img/accueil/cpi-recrutement.svg";
  1157.                 });
  1158.                 circle2.addEventListener("mouseenter", function() {
  1159.                     imgCircle2.src = "img/accueil/cpi-digital-services-hover.svg";
  1160.                    
  1161.                 });
  1162.                 circle2.addEventListener('mouseleave', function() {    
  1163.                     imgCircle2.src = "img/accueil/cpi-digital-services.svg";
  1164.                 });
  1165.                 
  1166.                 
  1167.                 
  1168.         </script>
  1169.        
  1170.         </script>
  1171.    <script type="text/javascript">
  1172.         $(document).ready(function() {
  1173.             $('.slider-demo-galerie').slick({
  1174.                     arrows: true,
  1175.                     infinite:true,
  1176.                     autoplay: true, // Ajout de l'option autoplay
  1177.                     autoplaySpeed: 4000, // Durée de chaque diapositive en millisecondes
  1178.                     slidesToShow:4,
  1179.                     slidesToScroll:4,
  1180.                     prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  1181.                     nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  1182.                         responsive:[{
  1183.                         breakpoint:1400,
  1184.                         settings:{
  1185.                             slidesToShow:3,  
  1186.                             slidesToScroll:3,            
  1187.                         }
  1188.                     },{
  1189.                         breakpoint:1200,
  1190.                         settings:{
  1191.                             slidesToShow:2,
  1192.                             slidesToScroll:2, 
  1193.                         }
  1194.                     },
  1195.                     {
  1196.                         breakpoint:769,
  1197.                         settings:{
  1198.                             slidesToShow:1,
  1199.                             slidesToScroll:1, 
  1200.                         }
  1201.                     }],
  1202.                 });
  1203.        
  1204.             $('.slider-demo-actu').slick({
  1205.                 arrows: true,
  1206.                 infinite: true,
  1207.                 prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
  1208.                 nextArrow: '<button type="button" data-role="none" class="slick-next">Next</button>',
  1209.                 slidesToShow: 4,
  1210.                 slidesToScroll: 4,
  1211.                     responsive:[{
  1212.                         breakpoint:1400,
  1213.                         settings:{
  1214.                             slidesToShow:3,  
  1215.                             slidesToScroll:3,            
  1216.                         }
  1217.                     },{
  1218.                         breakpoint:1200,
  1219.                         settings:{
  1220.                             slidesToShow:2,
  1221.                             slidesToScroll:2, 
  1222.                         }
  1223.                     },
  1224.                     {
  1225.                         breakpoint:769,
  1226.                         settings:{
  1227.                             slidesToShow:1,
  1228.                             slidesToScroll:1, 
  1229.                         }
  1230.                     }],
  1231.             });
  1232.         });
  1233.     </script>
  1234.     {% if app.user%}
  1235.     {%else%}
  1236.     <script>
  1237.         AOS.init();
  1238.       </script>
  1239.     {%endif%}
  1240. <script>
  1241.     $(document).ready(function(){
  1242.     $('.carousel').slick({
  1243.         prevArrow: '<button type="button" class="slick-prev"><img src="{{asset('img/arrow-g.svg')}}"></button>',
  1244.         nextArrow: '<button type="button" class="slick-next"><img src="{{asset('img/arrow-d.svg')}}"></button>'
  1245.     });
  1246. });
  1247. </script>
  1248. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
  1249.     
  1250.         
  1251.     </body>
  1252. </html>