templates/FrontBundle/Page/menus-tarifs.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 ~ '/' ~ ('menus-tarifs'|getUrl(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 ~ '/' ~ ('menus-tarifs'|getUrl(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-spectacle.jpg') | escape('js') }}",
  46.         "thumbnailUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
  47.         "contentUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
  48.         "mainEntityOfPage": {
  49.           "@type": "WebPage",
  50.           "@id": "{{ ('/' ~ app.request.locale ~ '/' ~ ('menus-tarifs'|getUrl(app.request.locale)) ~ '/spectacle') | escape('js') }}"
  51.         }
  52.       }
  53.     }
  54.   ]
  55. }
  56.     </script>
  57. {% endblock %}
  58. {% block body %}
  59.   <h1 class="h1top">{{ page.metaTitle }}</h1>
  60.     <section class="skew p-0">
  61.         <div class="col col1">
  62.             <div class="col-shadow">
  63.                 <div class="col-content">
  64.                     <p class="title">LE MAJESTIC</p>
  65.                     <a href="/{{app.request.locale }}/{{ 'menus-tarifs'|getUrl(app.request.locale) }}/le-majestic">{{ 'menus_tarifs_btn'|tr(tr)|raw  }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  66.           <span>{{ 'menus_tarifs_formule1'|tr(tr)|raw }}</span>
  67.                 </div>
  68.             </div>
  69.         </div>
  70.         <div class="col col2">
  71.             <div class="col-shadow">
  72.                 <div class="col-content gold">
  73.                     <p class="title">LE VERSAILLES</p>
  74.                     <a href="/{{app.request.locale }}/{{ 'menus-tarifs'|getUrl(app.request.locale) }}/le-versailles">{{ 'menus_tarifs_btn'|tr(tr)|raw  }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  75.           <span>{{ 'menus_tarifs_formule1'|tr(tr)|raw }}</span>
  76.                 </div>
  77.             </div>
  78.         </div>
  79.         <div class="col col3">
  80.             <div class="col-shadow">
  81.                 <div class="col-content">
  82.                     <p class="title">
  83.                         {% if app.request.locale == 'de' %}
  84.                             DIE SHOW
  85.                         {% elseif app.request.locale == 'en' %}
  86.                             THE SHOW
  87.                         {% else %}
  88.                             LE SPECTACLE
  89.                         {% endif %}
  90.                     </p>
  91.                     <a href="/{{app.request.locale }}/{{ 'menus-tarifs'|getUrl(app.request.locale) }}/spectacle">{{ 'menus_tarifs_btn2'|tr(tr)|raw  }} <img src="/front/img/aspaces-arrow-r-w.svg" alt="link" /></a>
  92.           <span>{{ 'menus_tarifs_formule2'|tr(tr)|raw }}</span>
  93.                 </div>
  94.             </div>
  95.         </div>
  96.     </section>
  97. {#   <div class="cursor">
  98.     <svg xmlns="http://www.w3.org/2000/svg" width="60.249" height="62.184" viewBox="0 0 60.249 62.184">
  99.       <g id="Group_43" data-name="Group 43" transform="translate(2.5 2.5)">
  100.         <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"/>
  101.         <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"/>
  102.       </g>
  103.     </svg>
  104.   </div> #}
  105. {% endblock %}
  106. {% block javascripts %}
  107.   <script src="/front/js/owl.carousel.min.js"></script>
  108.   <script type="text/javascript">
  109.     $( document ).ready(function() {
  110.             $('.skew').css('height', window.innerHeight+'px');
  111.     });
  112.     // const cursor = document.querySelector(".cursor");
  113.     // window.addEventListener("mousemove", (e) => {
  114.     //   cursor.style.left = e.pageX + "px";
  115.     //   cursor.style.top = e.pageY + "px";
  116.     //   cursor.setAttribute("data-fromTop", cursor.offsetTop - scrollY);
  117.     //   // console.log(e)
  118.     // });
  119.     // window.addEventListener("scroll", () => {
  120.     //   const fromTop = cursor.getAttribute("data-fromTop");
  121.     //   cursor.style.top = scrollY + parseInt(fromTop) + "px";
  122.     //   console.log(scrollY);
  123.     // });
  124.     // window.addEventListener("click", () => {
  125.     //   if (cursor.classList.contains("click")) {
  126.     //     cursor.classList.remove("click");
  127.     //     void cursor.offsetWidth; // trigger a DOM reflow
  128.     //     cursor.classList.add("click");
  129.     //   } else {
  130.     //     cursor.classList.add("click");
  131.     //   }
  132.     // });
  133.     </script>
  134. {% endblock %}