templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1"/>
  6.     {% block meta %}
  7.         <meta name="description"
  8.               content="Calculez votre thème numérologie gratuit avec l'application Logia. Découvrez l'influence des nombres sur votre vie en quelques minutes.">
  9.     {% endblock %}
  10.     <title>{% block title %}Découvrez l'influence des nombres sur votre vie · Logia{% endblock %}</title>
  11.     <link rel="icon" href="{{ asset('build/images/logo/nfavicon.png') }}">
  12.     {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  13.     {% block stylesheets %}
  14.         {{ encore_entry_link_tags('app') }}
  15.     {% endblock %}
  16.     {% block javascripts %}
  17.         <!-- Google tag (gtag.js) -->
  18.         <script async src="https://www.googletagmanager.com/gtag/js?id=G-NY5NLC7BN7"></script>
  19.         <script>
  20.             window.dataLayer = window.dataLayer || [];
  21.             function gtag() {
  22.                 dataLayer.push(arguments);
  23.             }
  24.             gtag('js', new Date());
  25.             gtag('config', 'G-NY5NLC7BN7');
  26.         </script>
  27.         <script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
  28.         <script src="{{ asset('build/javascript/tarteaucitron/tarteaucitron.min.js') }}"></script>
  29.         <script>
  30.             tarteaucitron.init({
  31.                 "privacyUrl": "", /* Privacy policy url */
  32.                 "bodyPosition": "bottom", /* or top to bring it as first element for accessibility */
  33.                 "hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
  34.                 "cookieName": "tarteaucitron", /* Cookie name */
  35.                 "orientation": "middle", /* Banner position (top - bottom - middle - popup) */
  36.                 "groupServices": false, /* Group services by category */
  37.                 "showDetailsOnClick": true, /* Click to expand the description */
  38.                 "serviceDefaultState": "wait", /* Default state (true - wait - false) */
  39.                 "showAlertSmall": false, /* Show the small banner on bottom right */
  40.                 "cookieslist": false, /* Show the cookie list */
  41.                 "showIcon": true, /* Show cookie icon to manage cookies */
  42.                 "iconSrc": "https://numerologie-logia.fr/build/images/icon-cookies.png", /* Optional: URL or base64 encoded image */
  43.                 "iconPosition": "TopRight", /* Position of the icon between BottomRight, BottomLeft, TopRight and TopLeft */
  44.                 "adblocker": false, /* Show a Warning if an adblocker is detected */
  45.                 "DenyAllCta" : true, /* Show the deny all button */
  46.                 "AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
  47.                 "highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
  48.                 "alwaysNeedConsent": false, /* Ask the consent for "Privacy by design" services */
  49.                 "handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
  50.                 "removeCredit": true, /* Remove credit link */
  51.                 "moreInfoLink": true, /* Show more info link */
  52.                 "useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
  53.                 "useExternalJs": false, /* If false, the tarteaucitron.services.js file will be loaded */
  54.                 // "cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */
  55.                 "readmoreLink": "", /* Change the default readmore link pointing to tarteaucitron.io */
  56.                 "mandatory": true, /* Show a message about mandatory cookies */
  57.                 "mandatoryCta": true, /* Show the disabled accept button when mandatory on */
  58.                 // "customCloserId": "", /* Optional a11y: Custom element ID used to open the panel */
  59.                 "googleConsentMode": true, /* Enable Google Consent Mode v2 for Google ads and GA4 */
  60.                 "partnersList": false /* Details the number of partners on the popup and middle banner */
  61.             });
  62.         </script>
  63.         {{ encore_entry_script_tags('app') }}
  64.     {% endblock %}
  65. </head>
  66. <body>
  67. {{ include('includes/_header.html.twig') }}
  68. <main>
  69.     {% block body %}{% endblock %}
  70. </main>
  71. {{ include('includes/_footer.html.twig') }}
  72. <div class="alert-container">
  73.     {% for label, messages in app.flashes %}
  74.         {% for message in messages %}
  75.             <div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
  76.                 {{ message }}
  77.                 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  78.             </div>
  79.         {% endfor %}
  80.     {% endfor %}
  81. </div>
  82. </body>
  83. </html>