templates/layout.html.twig line 1

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 type="text/css" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" />
  28.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
  29.         <link href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css" rel="stylesheet">
  30.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/custom_styles.css?v8')}}" />
  31.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/css_mobile.css')}}" />
  32.         <link rel="stylesheet" type="text/css" href="{{ asset('/assets/css/custom_mob.css')}}" />
  33.     {% endblock %}
  34. </head>
  35. <body>
  36. <!-- Google Tag Manager (noscript) -->
  37. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KX8WMVQ"
  38.                   height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  39. <!-- End Google Tag Manager (noscript) -->
  40. <div class="menu-mob-overlay"></div>
  41. <main class="big-wrapper">
  42.     {% block content %}
  43.         {% set title = content.title|default %}
  44.         <section class="page-content {{ title == 'Choisissez vos réservations' ? 'bg-grey' : '' }}">
  45.             {% if title != 'Choisissez vos réservations' and title != 'Récapitulatif' %}
  46.                 {% set path_name = path_name|default('defautl') %}
  47.                 {% set pm = app.request.query.get('pm') %}
  48.                 {% if title in ['Accès utilisateur', 'Inscription', 'Espace client', 'Mes coordonnées', 'Factures', 'Réserver la salle de réunion']
  49.                     or path_name in ['client_espace', 'client_register','login', 'app_forgot_password', 'app_reset_password'] %}
  50.                     <!-- Return link at the top left -->
  51.                     {% if title in ['Espace client', 'Mes coordonnées', 'Factures', 'Réserver la salle de réunion']
  52.                        or path_name in ['client_espace'] %}
  53.                         <div class="kl-block-nav">
  54.                             <div class="kl-top-nav">
  55.                                 <a href="/" class="kl-step-return">
  56.                                     <i>&larr; Retour sur le site</i>
  57.                                 </a>
  58.                             </div>
  59.                         </div>
  60.                     {% elseif pm == "" %}
  61.                     <p class="mb-40"></p>
  62.                     {% else %}
  63.                         <div class="kl-block-nav">
  64.                             <div class="kl-top-nav">
  65.                                 <a href="{{ title == 'Inscription' or path_name == 'client_register' ? '/login' : '/reservation' ~ (pm != '' ? '?' ~ 'pm=' ~ pm : '') }}" class="kl-step-return">
  66.                                     <i>&larr; Retour à l'étape précédente</i>
  67.                                 </a>
  68.                                 <ul class="kl-step-menu mb-0">
  69.                                     <li class="active">Choix de la formule</li>
  70.                                     <li>Récapitulatif</li>
  71.                                     <li>Paiement</li>
  72.                                     <li>Confirmation</li>
  73.                                 </ul>
  74.                             </div>
  75.                         </div>
  76.                     {% endif %}
  77.                 {% endif %}
  78.                 <div class="text-center {{ title in ['Accès utilisateur', 'Inscription'] ? 'mt-5' : '' }}">
  79.                     <a href="/">
  80.                         <img src="{{ asset('/assets/images/logo.svg')}}" alt="" />
  81.                     </a>
  82.                 </div>
  83.             {% endif %}
  84.             {% block contentBody %}
  85.                 {#<script src="{{ asset('/build/website/js/main.js') }}" async></script>#}
  86.                 {% block javascripts %}
  87.                 <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  88.                     <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
  89.                 <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>
  90.                 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
  91.                 <script src="https://cdn.jsdelivr.net/npm/simple-parallax-js@5.5.1/dist/simpleParallax.min.js"></script>
  92.                 <script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
  93.                 <script src="{{ asset('/assets/js/scripts.js?v3') }}" async></script>
  94.                 <script type="application/ld+json">
  95.                 {
  96.                 "@context": "https://schema.org",
  97.                 "@type": "LocalBusiness",
  98.                 "name": "Panda Coworking",
  99.                 "image": "https://panda-coworking.com/assets/images/logo.svg",
  100.                 "@id": "",
  101.                 "url": "https://panda-coworking.com/",
  102.                 "telephone": "0451580805",
  103.                 "address": {
  104.                     "@type": "PostalAddress",
  105.                     "streetAddress": "54 Rue Chevreul",
  106.                     "addressLocality": "Lyon",
  107.                     "postalCode": "69007",
  108.                     "addressCountry": "FR"
  109.                 },
  110.                 "geo": {
  111.                     "@type": "GeoCoordinates",
  112.                     "latitude": 45.7474184,
  113.                     "longitude": 4.8424403
  114.                 },
  115.                 "openingHoursSpecification": {
  116.                     "@type": "OpeningHoursSpecification",
  117.                     "dayOfWeek": [
  118.                     "Monday",
  119.                     "Tuesday",
  120.                     "Wednesday",
  121.                     "Thursday",
  122.                     "Friday",
  123.                     "Saturday",
  124.                     "Sunday"
  125.                     ],
  126.                     "opens": "00:00",
  127.                     "closes": "23:59"
  128.                 }
  129.                 }
  130.                 </script>
  131.                 {% endblock %}
  132.             {% endblock %}
  133.         </section>
  134.     {% endblock %}
  135.     <div id="id_loadingPage" class="hide"><img src="/assets/images/loading.svg?v1"></div>
  136. </main>
  137. <div class="goToTop bg-gradient-orange bg-gradient-hover transition-bgcolor"><img src="{{ asset('/assets/images/top_go.png')}}" alt="" /></div>
  138. </body>
  139. </html>