templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <title>{% block seotitle %}Ateya Vacances{% endblock %}</title>
  8.         <meta name="description" content="{% block seodesc %}Ateya Vacances, souriez vous changez d'air ! Nous vous proposons une sélection de résidences mer, montagne et campagne dans toute la France.{% endblock %}" />
  9.         <meta name="google-site-verification" content="aEOWnTZM91nlgJRWGis_YMb_yKkusKSoYFAI2eKnxyM" />
  10.         <script type="application/ld+json">{% block microformat %}{% endblock %}</script>
  11.         <script>
  12.             var uri = "{{ app.request.uri }}";
  13.             var ac_platform_inscriptionnewsletter = "{{ path('ac_platform_inscriptionnewsletter') }}";
  14.             var ac_platform_chglng = "{{ path('ac_platform_chglng') }}";
  15.             var ac_platform_getages = "{{ path('ac_platform_getages') }}";
  16.             var ac_platform_reset_resa = "{{ path('ac_platform_reset_resa') }}";
  17.             var ac_platform_setElement = "{{ path('ac_platform_setElement') }}";
  18.             var ac_platform_chgcomment = "{{ path('ac_platform_chgcomment') }}";
  19.             var ac_platform_setcodepromo = "{{ path('ac_platform_setcodepromo') }}";
  20.             var product_setSessionVar = "{{ path('product_setSessionVar') }}";
  21.             var maxadultes = "{{ maxadultes }}";
  22.             var newsletter_title = "{{ 'footer.social.newsletter.titre' |trans({},'app') |raw }}";
  23.             var okInscription = "{{ 'footer.social.newsletter.inscription_ok' |trans({},'app') |raw }}";
  24.             var erreurInscription = "{{ 'footer.social.newsletter.inscription_ko' |trans({},'app') |raw }}";
  25.             var dejaInscrit = "{{ 'footer.social.newsletter.deja_inscrit' |trans({},'app') |raw }}";
  26.         </script>
  27.         {{ encore_entry_link_tags('app-front') }}
  28.         <!-- FAVICON -->
  29.         <link rel="icon" type="image/png" href="{{ asset('build/images/front/favicon.png')}}" />
  30.         <link rel="icon" type="image/x-icon" href="{{ asset('build/images/front/favicon.png')}}" />
  31.         <link rel="shortcut icon" type="image/x-icon" href="{{ asset('build/images/front/favicon.png')}}" />
  32.         {% block stylesheets %}
  33.         {% endblock %}
  34.           <!-- Google Tag Manager -->
  35.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  36.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  37.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  38.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  39.         })(window,document,'script','dataLayer','GTM-P2BVDV9');</script>
  40.         <!-- End Google Tag Manager -->
  41.         <script type="text/javascript">
  42.             (function() {
  43.                 window.sib = {
  44.                     equeue: [],
  45.                     client_key: "{{ sb_client_key }}"
  46.                 };
  47.                 /* OPTIONAL: email for identify request*/
  48.                 // window.sib.email_id = 'example@domain.com';
  49.                 window.sendinblue = {};
  50.                 for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) {
  51.                     (function(k) {
  52.                         window.sendinblue[k] = function() {
  53.                             var arg = Array.prototype.slice.call(arguments);
  54.                             (window.sib[k] || function() {
  55.                                 var t = {};
  56.                                 t[k] = arg;
  57.                                 window.sib.equeue.push(t);
  58.                             })(arg[0], arg[1], arg[2]);
  59.                         };
  60.                     })(j[i]);
  61.                 }
  62.                 var n = document.createElement("script"),
  63.                     i = document.getElementsByTagName("script")[0];
  64.                 n.type = "text/javascript", n.id = "sendinblue-js", n.async = !0, n.src = "https://sibautomation.com/sa.js?key=" + window.sib.client_key, i.parentNode.insertBefore(n, i), window.sendinblue.page();
  65.             })();
  66.         </script>
  67.         {% if app.request.get('_route') != "ac_platform_paiement_retour" %}
  68.         <script src="https://partner.ateya-vacances.fr/ct/an660025319.js"></script>
  69.         {% endif %}
  70.        
  71.     </head>
  72.     <body id="ateya-app" data-class="body" class="body {% block fondcolor %}{% endblock %}">
  73.    
  74.         <!-- Google Tag Manager (noscript) -->
  75.         <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P2BVDV9"
  76.         height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  77.         <!-- End Google Tag Manager (noscript) -->
  78. {% block body %}
  79. {% endblock %}
  80.     <div class="fondloader">
  81.         <div class="loader"></div>
  82.         <div class="fondloader-texte col-md-12"></div>
  83.     </div>
  84.     {% block javascripts %}
  85.         <script>
  86.             var AppLocale = '{{ app.request.locale }}';
  87.         </script>
  88.         <script async src="https://www.googletagmanager.com/gtag/js?id=G-QMMVSR8XHR"></script>
  89.         <script>
  90.             window.dataLayer = window.dataLayer || [];
  91.             function gtag(){dataLayer.push(arguments);}
  92.             gtag('js', new Date());
  93.             gtag('config', 'G-QMMVSR8XHR');
  94.             gtag('consent', 'default', {
  95.                 'ad_storage': 'denied',
  96.                 'analytics_storage': 'denied'
  97.             });
  98.             function updateConsent(consent) {
  99.                 gtag('consent', 'update', {
  100.                     'ad_storage': consent ? 'granted' : 'denied',
  101.                     'analytics_storage': consent ? 'granted' : 'denied'
  102.                 });
  103.             }
  104.         </script>
  105.         
  106.         {{ encore_entry_script_tags('app-front') }}
  107.     
  108.         {% endblock %}
  109.     </body>
  110. </html>