<!DOCTYPE html><html lang="fr"> <head> {% set config = config.getConfig %} <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title> {% block title %} Welcome! {% endblock %} </title> {% block meta %} {{ include('component/_meta_base.html.twig') }} {% endblock %} {{ config.analytics|raw }} <link rel="icon" href="{{ config.icon }}" /> {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #} {% block stylesheets %} {{ encore_entry_link_tags('app') }} {% endblock %} <link rel="stylesheet" href="/css/setting.css" /> <link rel="stylesheet" href="{{ path('dynamic_style') }}" /> {% if config.cssAdd is not empty %} <link rel="stylesheet" href="{{ config.cssAdd }}" /> {% endif %} {# {{ render(controller('App\\Controller\\BaseController::style')) }} #} </head> <body class="app"> <div style="background-color: rgba(99, 99, 99, 0.8);z-index:5000;" id="modal-picture" class="fixed flex-center hidden inset-0"> <div class="abs m-l-1 pointer left-0 rounded bg-grey-4-op ft-white p-1 flex-center" id="prev-box" style="z-index: 6000;"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M15.75 19.5 8.25 12l7.5-7.5" /> </svg> </div> <div class="abs m-r-1 pointer right-0 rounded bg-grey-4-op ft-white p-1 flex-center" id="next-box" style="z-index: 6000;"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" /> </svg> </div> <div class="flex-center rel"> <img src="" style="height: 95vh;width:auto;" id="img-target" alt="" /> <div class="top-1 right-1 rounded abs p-05 pointer flex-center pointer r1-1 border bg-light" data-toggle="hidden" data-target="modal-picture" style="z-index: 8000;"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" /> </svg> </div> </div> </div> <header class="fixed top-0 left-0 w-100" style="max-height: 0px;" id="header" style="z-index: 500;"> <div id="dynamic-link" class="hidden"> {% if dynamicLink is defined %} {# Lien panier utilisateur #} {% if dynamicLink.cart_road_enable %} <a href="{{ dynamicLink.cart_url }}"> {% if dynamicLink.icon_cart is not empty %} {{ dynamicLink.icon_cart|raw }} {% endif %} {{ dynamicLink.link_text_cart }} </a> {% endif %} {# Lien logout #} {% if app.user %} {# Lien profil utilisateur si activé #} {% if dynamicLink.user_profile_enable %} <a href="{{ dynamicLink.user_profile_url }}"> {% if dynamicLink.icon_user_profile is not empty %} {{ dynamicLink.icon_user_profile|raw }} {% endif %} {{ dynamicLink.link_text_user_profile }} </a> {% endif %} {% if dynamicLink.login_road_enable %} <a href="{{ dynamicLink.logout_url }}"> {% if dynamicLink.icon_logout is not empty %} {{ dynamicLink.icon_logout|raw }} {% endif %} {{ dynamicLink.link_text_logout }} </a> {% endif %} {% else %} {# Lien login si pas connecté #} {% if dynamicLink.login_road_enable %} <a href="{{ dynamicLink.login_url }}"> {% if dynamicLink.icon_login is not empty %} {{ dynamicLink.icon_login|raw }} {% endif %} {{ dynamicLink.link_text_login }} </a> {% endif %} {% endif %} {% endif %} </div> {% if isHeaderComponent is defined %} {% if config.headerComponent is defined and isHeaderComponent == false %} {% if config.headerComponent == null %} {% else %} <div class="w-100" id="headercomponent">{{ config.headerComponent.content|raw }}</div> {% endif %} {% endif %} {% endif %} {{ config.header|raw }} </header> {% for message in app.session.flashbag.get('success') %} <div id="popup" class="fixed inset-0 flex-center" data-toggle="hidden"> <div class="bg-light rel p1 z-10 border rad1"> <p>{{ message }}</p> <div class="top-right abs p05 flex-center pointer circle r1-1 border bg-light" data-toggle="hidden" data-target="popup"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" /> </svg> </div> </div> </div> {% endfor %} {% if app.request.query.get('email') == '1' %} <div id="popup" class="fixed inset-0 p-1 flex-center"> <div class="bg-light rel p-1 z-10 border rad-1"> <p>Votre message à bien été envoyé. Nous vous recontactons prochainement.</p> <div class="top-right abs p-05 flex-center pointer circle r1-1 border bg-light" data-toggle="hidden" data-target="popup"> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" /> </svg> </div> </div> </div> {% endif %} {% block body %} {% endblock %} <footer> <div class="w-100"> {% if config.footerComponent is not null %} {{ config.footerComponent.content|raw }} {% endif %} </div> <ul class="flex-row bg-light p-05 ft-dark w-100 space-around wrap"> {% if is_granted('ROLE_ADMIN') %} <li class="p-05"> <a href="{{ path('app_admin') }}" class="roboto">Admin</a> </li> {% endif %} {% if app.user %} <li class="p-05"> <a href="{{ path('app_logout') }}" class="roboto">Déconnexion</a> </li> {% else %} <li class="p-05"> <a href="{{ path('app_login') }}" class="roboto">Connexion</a> </li> {% endif %} <li class="p-05"> <span class="roboto">Développé par</span> <a target="_blank" href="https://impulse-web-design.com/" class="roboto">Impulse Web Design</a> </li> </ul> {# <button id="openConsent">⚙️ Gérer mes cookies</button> #} </footer> {% if config.cookiesInformation.is_cookie == true %} <div id="consentModal" class="hidden fixed {{ config.cookiesInformation.modal_position }}"> <form id="consentForm" class="{{ config.cookiesInformation.form_appearance }}" data-noload=""> <div class="p-1"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.title }}</p> </div> <div class="p-1"> <p class="{{ config.cookiesInformation.text_appearance }}" data-text-base="" data-text-class=""> {{ config.cookiesInformation.text|nl2br }} <a href="{{ config.cookiesInformation.link }}" target="_blank">{{ config.cookiesInformation.link_text }}</a> </p> </div> <div id="choice-section" class="hidden"> <div class="column"> {% if config.cookiesInformation.is_tracking == true %} <div class="flex-row p-1"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_tracking }}</p> <div> <input class="tgl tgl-light" id="tracking" type="checkbox" name="tracking" /> <label class="tgl-btn" for="tracking"></label> </div> </div> {% else %} <div class="hidden"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_tracking }}</p> <div> <input class="tgl tgl-light" id="tracking" type="checkbox" name="tracking" /> <label class="tgl-btn" for="tracking"></label> </div> </div> {% endif %} {% if config.cookiesInformation.is_publicity == true %} <div class="flex-row p-1"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_publicity }}</p> <div> <input class="tgl tgl-light" id="publicity" type="checkbox" name="publicity" /> <label class="tgl-btn" for="publicity"></label> </div> </div> {% else %} <div class="hidden"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_publicity }}</p> <div> <input class="tgl tgl-light" id="publicity" type="checkbox" name="publicity" /> <label class="tgl-btn" for="publicity"></label> </div> </div> {% endif %} {% if config.cookiesInformation.is_custom == true %} <div class="flex-row p-1"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_custom }}</p> <div> <input class="tgl tgl-light" id="preference" type="checkbox" name="preference" /> <label class="tgl-btn" for="preference"></label> </div> </div> {% else %} <div class="hidden"> <p class="{{ config.cookiesInformation.text_appearance }}">{{ config.cookiesInformation.text_custom }}</p> <div> <input class="tgl tgl-light" id="preference" type="checkbox" name="preference" /> <label class="tgl-btn" for="preference"></label> </div> </div> {% endif %} <button class="{{ config.cookiesInformation.button_appearance }}" type="submit">Valider</button> </div> </div> <div class="grid grid-col-3 w-100"> <button class="{{ config.cookiesInformation.button_appearance }}" type="button" id="customchoice" data-toggle="hidden" data-target="choice-section">Personnaliser</button> <button class="{{ config.cookiesInformation.button_appearance }}" type="button" id="rejectAll">{{ config.cookiesInformation.button_text_reject }}</button> <button class="{{ config.cookiesInformation.button_appearance }}" type="button" id="acceptAll">{{ config.cookiesInformation.button_text_accept }}</button> </div> </form> </div> <script src="/js/cookies.js"></script> {% endif %} <script src="/js/app-min.js?v=0049"></script> {{ config.cookiesconsent|raw }} {% if config.javascriptAdd is not empty %} <script src="{{ config.javascriptAdd }}"></script> {% endif %} {% block javascripts %} {% endblock %} </body></html>