templates/base.html.twig line 88

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|split('_')[0] }}">
  3. <head>
  4.     {# @see https://docs.sulu.io/en/2.2/reference/twig-extensions/functions/sulu_snippet_load_by_area.html #}
  5.     {% set webspaceSettings = sulu_snippet_load_by_area('webspace_settings') %}
  6.     <!-- Google Tag Manager -->
  7.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  8.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  9.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  10.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  11.     })(window,document,'script','dataLayer','GTM-KX8WMVQ');</script>
  12.     <!-- End Google Tag Manager -->
  13.     <meta charset="utf-8">
  14.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  15.     <meta name="viewport" content="width=device-width, initial-scale=1">
  16.     <meta name="google-site-verification" content="xUV_6MVahLqejNqZEWoASzns124eMZQ24KiRfNrW2yg" />
  17.     {% block meta %}
  18.         {% include 'includes/meta.html.twig' %}
  19.     {% endblock %}
  20.     {% block style -%}
  21.         {#<link rel="stylesheet" href="{{ asset('/build/website/css/main.css') }}">#}
  22.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/fonts.css')}}" />
  23.         <link rel="stylesheet" href="https://use.typekit.net/icm3oad.css">
  24.         <link rel="stylesheet" href="{{ asset('/assets/css/fontello.css')}}" />
  25.         <link rel="stylesheet" href="{{ asset('/assets/css/animate.css')}}" />
  26.         <link type="text/css" rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" />
  27.         <link href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css" rel="stylesheet">
  28.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/custom_styles.css')}}" />  
  29.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/css_mobile.css')}}" />
  30.     {% endblock %}
  31. </head>
  32. <body>
  33.     <!-- Google Tag Manager (noscript) -->
  34.     <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KX8WMVQ"
  35.     height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  36.     <!-- End Google Tag Manager (noscript) -->
  37.     <div class="menu-mob-overlay"></div> 
  38.     {% if false %}
  39.     <div class="modal pr-0" tabindex="-1" role="dialog" id="modal-reserve">
  40.         <div class="modal-dialog modal-dialog-centered" role="document">
  41.             <div class="modal-content px-3">
  42.                 <div class="modal-header align-items-center position-relative justify-content-center pt-md-5 row no-gutters">
  43.                     <div class="col-sm-5 col-12 pr-3 text-center">
  44.                         <a href="/">
  45.                             <img src="{{ asset('/assets/images/logo.svg')}}" alt="" class="">
  46.                         </a>
  47.                     </div>
  48.                     <h4 class="col-sm-7 col-12 modal-title pr-sm-4 line-h-100 text-center text-sm-left">Réservez une journée d'essai gratuite <span class="d-block font-12">Découvrez votre futur espace de coworking et rencontrez nos coworkers</span></h4>
  49.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  50.                         <span aria-hidden="true">&times;</span>
  51.                     </button>
  52.                 </div>
  53.                 <div class="modal-body block-form-site px-md-5 px-3 mt-3">
  54.                     <form name="dynamic_form1" method="post" action="/reservation">
  55.                         <div class="width-full width-is-last"><label for="dynamic_form3_firstName">Prénom / Nom</label><input type="text" id="dynamic_form1_text" name="dynamic_form3[firstName]"></div>
  56.                         <div class="width-full"><label for="dynamic_form3_email" class="required">Email</label><input type="email" id="dynamic_form1_email" name="dynamic_form3[email]" required="required"></div>
  57.                         <div class="width-full width-is-last"><label for="dynamic_form3_phone">Téléphone</label><input type="tel" id="dynamic_form1_phone" name="dynamic_form3[phone]"></div>
  58.                         <div class="width-half width-is-last">
  59.                             <label for="dynamic_form3_recaptcha">Captcha</label>
  60.                             <script src="https://www.google.com/recaptcha/api.js?hl=fr"></script>
  61.                             <div class="g-recaptcha" data-theme="light" data-size="normal" data-type="image" data-sitekey="6LdiSzolAAAAAOsKiJ60STvh2n3UxlQMPAcpIX40"></div>
  62.                         </div>
  63.                         <input type="hidden" id="dynamic_form3_locale" name="dynamic_form3[locale]" value="fr">
  64.                         <input type="hidden" id="dynamic_form3_type" name="dynamic_form3[type]" value="page">
  65.                         <input type="hidden" id="dynamic_form3_typeId" name="dynamic_form3[typeId]" value="10cf6f78-cde8-4d20-8bbb-d67d6f757567">
  66.                         <input type="hidden" id="dynamic_form3_formId" name="dynamic_form3[formId]" value="3">
  67.                         <input type="hidden" id="dynamic_form3_formName" name="dynamic_form3[formName]" value="form">
  68.                         <input type="hidden" id="dynamic_form3_checksum" name="dynamic_form3[checksum]" value="R+fK8RYkSi4/TMc+7AsdFM3WKrkgkltJy+juufktCANFOeHPKz4SVQW7RXAurIMj3iIz5/J625d4lWg9lY5GRQ==">
  69.                         <div class="pt-3 text-center"><button type="submit" class="btn-link transition-bgcolor bg-green-s minw-sm border-0">Valider</a></div>
  70.                     </form>
  71.                     <div class="pt-2 text-center"><em>Nous vous contactons rapidement pour convenir d'une date ensemble</em></div>
  72.                 </div>
  73.             </div>
  74.         </div>
  75.     </div>
  76.     {% endif %}
  77.     {#POPUP#}
  78.     <div class="goToTop bg-gradient-orange bg-gradient-hover transition-bgcolor"><img src="{{ asset('/assets/images/top_go.png')}}" alt="" /></div>
  79.     <main class="big-wrapper">
  80.         {% set title = content.title|default %}
  81.         {% if title != 'Détails' %}
  82.             <header class="header-body">
  83.                 {% block header %}
  84.                     {% include 'includes/navbar.html.twig' %}
  85.                 {% endblock %}
  86.             </header>
  87.         {% endif %}
  88.         {% block content %}
  89.             {% set title = content.title|default %}
  90.             <section class="page-content {{ title == 'Détails' ? 'mt-3' : '' }}">
  91.                 {% if title != 'Détails' %}
  92.                     {% block contentHeader %}
  93.                         {% include 'includes/header.html.twig' %}
  94.                     {% endblock %}
  95.                 {% else %}
  96.                     <div class="text-center">
  97.                         <img src="{{ asset('/assets/images/logo.svg')}}" alt="" />
  98.                     </div>
  99.                 {% endif %}
  100.                 {% block contentBody %}{% endblock %}
  101.             </section>
  102.         {% endblock %}
  103.         {% if title != 'Détails' %}
  104.             <footer>
  105.                 {% block footer %}
  106.                     {% include 'includes/footer.html.twig' %}
  107.                 {% endblock %}
  108.             </footer>
  109.         {% endif %}
  110.     </main>
  111.     {% block javascripts %}
  112.         {% if date("now") < date("2025-06-13") %}
  113.             <script>
  114.                 document.addEventListener('DOMContentLoaded', function () {
  115.                     if (!localStorage.getItem('popup_shown_clim')) {
  116.                         const popup = document.createElement('div');
  117.                         popup.innerHTML = `
  118.                             <div id="popup-clim" style="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:flex;justify-content:center;align-items:center;z-index:9999;">
  119.                               <div style="background:white;padding:2rem;max-width:600px;border-radius:8px;text-align:center;">
  120.                                 <h2>Chers coworkers,</h2>
  121.                                 <p>Nous souhaitons vous informer qu’une intervention est prévue dans nos locaux pour l’installation de la climatisation du <strong>mardi 10 au jeudi 12 juin</strong>.</p>
  122.                                 <p>Des nuisances sonores pourraient survenir pendant cette période. Nous mettons tout en œuvre pour limiter la gêne et vous remercions par avance pour votre compréhension !</p>
  123.                                 <p>Merci de votre patience</p>
  124.                                 <buttonc class="btn-link transition-bgcolor bg-green-s minw-sm border-0" onclick="document.getElementById('popup-clim').remove();" style="cursor: pointer;">Fermer</buttonc>
  125.                               </div>
  126.                             </div>
  127.                           `;
  128.                         document.body.appendChild(popup);
  129.                         localStorage.setItem('popup_shown_clim', 'true');
  130.                     }
  131.                 });
  132.             </script>
  133.         {% endif %}
  134.         {#<script src="{{ asset('/build/website/js/main.js') }}" async></script>#}
  135.         <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  136.         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
  137.         <script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js" integrity="sha512-Eak/29OTpb36LLo2r47IpVzPBLXnAMPAVypbSZiZ4Qkf8p/7S/XRG5xp7OKWPPYfJT6metI+IORkR5G8F900+g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  138.         <script src="https://cdn.jsdelivr.net/npm/simple-parallax-js@5.5.1/dist/simpleParallax.min.js"></script>
  139.         <script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
  140.         <script src="{{ asset('/assets/js/scripts.js?v2') }}" async></script>
  141.         <script type="application/ld+json">
  142.         {
  143.         "@context": "https://schema.org",
  144.         "@type": "LocalBusiness",
  145.         "name": "Panda Coworking",
  146.         "image": "https://panda-coworking.com/assets/images/logo.svg",
  147.         "@id": "",
  148.         "url": "https://panda-coworking.com/",
  149.         "telephone": "0451580805",
  150.         "address": {
  151.             "@type": "PostalAddress",
  152.             "streetAddress": "54 Rue Chevreul",
  153.             "addressLocality": "Lyon",
  154.             "postalCode": "69007",
  155.             "addressCountry": "FR"
  156.         },
  157.         "geo": {
  158.             "@type": "GeoCoordinates",
  159.             "latitude": 45.7474184,
  160.             "longitude": 4.8424403
  161.         },
  162.         "openingHoursSpecification": {
  163.             "@type": "OpeningHoursSpecification",
  164.             "dayOfWeek": [
  165.             "Monday",
  166.             "Tuesday",
  167.             "Wednesday",
  168.             "Thursday",
  169.             "Friday",
  170.             "Saturday",
  171.             "Sunday"
  172.             ],
  173.             "opens": "00:00",
  174.             "closes": "23:59"
  175.         }
  176.         }
  177.         </script>
  178.     {% endblock %} 
  179. </body>
  180. </html>