templates/FrontBundle/Page/nos-espaces.html.twig line 1

Open in your IDE?
  1. {% extends 'FrontBundle/layout.html.twig' %}
  2. {% block title %}{{ app_sitename }} - {{ page.metaTitle }}{% endblock %}
  3. {% block description %}{{ page.metaDescription }}{% endblock %}
  4. {% block json_ld %}
  5.     <script type="application/ld+json">
  6.         {
  7.           "@context": "https://schema.org",
  8.           "@type": "ItemList",
  9.           "name": "{{ page.metaTitle | escape('js') }}",
  10.   "description": "{{ page.metaDescription | escape('js') }}",
  11.   "itemListElement": [
  12.     {
  13.       "@type": "ListItem",
  14.       "position": 1,
  15.       "item": {
  16.         "@type": "ImageObject",
  17.         "url": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
  18.         "thumbnailUrl": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
  19.         "contentUrl": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
  20.         "mainEntityOfPage": {
  21.           "@type": "WebPage",
  22.             "@id": "{{ ('/' ~ app.request.locale ~ '/le-majestic') | escape('js') }}"
  23.         }
  24.       }
  25.     },
  26.     {
  27.       "@type": "ListItem",
  28.       "position": 2,
  29.       "item": {
  30.         "@type": "ImageObject",
  31.         "url": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
  32.         "thumbnailUrl": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
  33.         "contentUrl": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
  34.         "mainEntityOfPage": {
  35.           "@type": "WebPage",
  36.          "@id": "{{ ('/' ~ app.request.locale ~ '/le-versailles') | escape('js') }}"
  37.         }
  38.       }
  39.     },
  40.     {
  41.       "@type": "ListItem",
  42.       "position": 3,
  43.       "item": {
  44.         "@type": "ImageObject",
  45.         "url": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
  46.         "thumbnailUrl": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
  47.         "contentUrl": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
  48.         "mainEntityOfPage": {
  49.           "@type": "WebPage",
  50.           "@id": "{{ ('/' ~ app.request.locale ~ '/lounge-club') | escape('js') }}"
  51.         }
  52.       }
  53.     },
  54.     {
  55.       "@type": "ListItem",
  56.       "position": 4,
  57.       "item": {
  58.         "@type": "ImageObject",
  59.         "url": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
  60.         "thumbnailUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
  61.         "contentUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
  62.         "mainEntityOfPage": {
  63.           "@type": "WebPage",
  64.           "@id": "{{ ('/' ~ app.request.locale ~ '/la-salle') | escape('js') }}"
  65.         }
  66.       }
  67.     }
  68.   ]
  69. }
  70.     </script>
  71. {% endblock %}
  72. {% block body %}
  73.   <h1 class="h1top">{{ 'espaces_h1'|tr(tr)|raw }}</h1>
  74.     <section class="skew p-0">
  75.         <div class="col col1">
  76.             <div class="col-shadow">
  77.                 <div class="col-content">
  78.                     <p class="title">LE MAJESTIC</p>
  79.                     <a href="/{{app.request.locale }}/le-majestic">{{ 'menus_tarifs_decouvrir'|tr(tr)|upper|raw }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  80.                 </div>
  81.             </div>
  82.         </div>
  83.         <div class="col col2">
  84.             <div class="col-shadow">
  85.                 <div class="col-content gold">
  86.                     <p class="title">LE VERSAILLES</p>
  87.                     <a href="/{{app.request.locale }}/le-versailles">{{ 'menus_tarifs_decouvrir'|tr(tr)|upper|raw }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  88.                 </div>
  89.             </div>
  90.         </div>
  91.         <div class="col col3">
  92.             <div class="col-shadow">
  93.                 <div class="col-content purple">
  94.                     <p class="title">LOUNGE CLUB</p>
  95.                     <a href="/{{app.request.locale }}/lounge-club">{{ 'menus_tarifs_decouvrir'|tr(tr)|upper|raw }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  96.                 </div>
  97.             </div>
  98.         </div>
  99.         <div class="col col4">
  100.             <div class="col-shadow">
  101.                 <div class="col-content">
  102.                     <p class="title">{{ 'espaces_salle'|tr(tr)|raw }}</p>
  103.                     <a href="/{{app.request.locale }}/la-salle">{{ 'menus_tarifs_decouvrir'|tr(tr)|upper|raw }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  104.                 </div>
  105.             </div>
  106.         </div>
  107.     </section>
  108. {#   <div class="cursor">
  109.     <svg xmlns="http://www.w3.org/2000/svg" width="60.249" height="62.184" viewBox="0 0 60.249 62.184">
  110.       <g id="Group_43" data-name="Group 43" transform="translate(2.5 2.5)">
  111.         <line id="Line_1" data-name="Line 1" y2="57.184" transform="translate(27.624)" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-width="5"/>
  112.         <line id="Line_2" data-name="Line 2" y2="55.249" transform="translate(55.249 28.592) rotate(90)" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-width="5"/>
  113.       </g>
  114.     </svg>
  115.   </div>
  116.  #}
  117. {% endblock %}
  118. {% block javascripts %}
  119.   <script src="/front/js/owl.carousel.min.js"></script>
  120.   <script type="text/javascript">
  121.     $( document ).ready(function() {
  122.             $('.skew').css('height', window.innerHeight+'px');
  123.     });
  124.     // const cursor = document.querySelector(".cursor");
  125.     // window.addEventListener("mousemove", (e) => {
  126.     //   cursor.style.left = e.pageX + "px";
  127.     //   cursor.style.top = e.pageY + "px";
  128.     //   cursor.setAttribute("data-fromTop", cursor.offsetTop - scrollY);
  129.     //   // console.log(e)
  130.     // });
  131.     // window.addEventListener("scroll", () => {
  132.     //   const fromTop = cursor.getAttribute("data-fromTop");
  133.     //   cursor.style.top = scrollY + parseInt(fromTop) + "px";
  134.     //   console.log(scrollY);
  135.     // });
  136.     // window.addEventListener("click", () => {
  137.     //   if (cursor.classList.contains("click")) {
  138.     //     cursor.classList.remove("click");
  139.     //     void cursor.offsetWidth; // trigger a DOM reflow
  140.     //     cursor.classList.add("click");
  141.     //   } else {
  142.     //     cursor.classList.add("click");
  143.     //   }
  144.     // });
  145.     </script>
  146. {% endblock %}