{% extends 'FrontBundle/layout.html.twig' %}
{% block title %}{{ app_sitename }} - {{ page.metaTitle }}{% endblock %}
{% block description %}{{ page.metaDescription }}{% endblock %}
{% block json_ld %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ItemList",
"name": "{{ page.metaTitle | escape('js') }}",
"description": "{{ page.metaDescription | escape('js') }}",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "ImageObject",
"url": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
"thumbnailUrl": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
"contentUrl": "{{ asset('/front/img/espaces-le-majestic.jpg') | escape('js') }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ ('/' ~ app.request.locale ~ '/le-majestic') | escape('js') }}"
}
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@type": "ImageObject",
"url": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
"thumbnailUrl": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
"contentUrl": "{{ asset('/front/img/espaces-le-versailles.jpg') | escape('js') }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ ('/' ~ app.request.locale ~ '/le-versailles') | escape('js') }}"
}
}
},
{
"@type": "ListItem",
"position": 3,
"item": {
"@type": "ImageObject",
"url": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
"thumbnailUrl": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
"contentUrl": "{{ asset('/front/img/espaces-lounge-club.jpg') | escape('js') }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ ('/' ~ app.request.locale ~ '/lounge-club') | escape('js') }}"
}
}
},
{
"@type": "ListItem",
"position": 4,
"item": {
"@type": "ImageObject",
"url": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
"thumbnailUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
"contentUrl": "{{ asset('/front/img/espaces-spectacle.jpg') | escape('js') }}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ ('/' ~ app.request.locale ~ '/la-salle') | escape('js') }}"
}
}
}
]
}
</script>
{% endblock %}
{% block body %}
<h1 class="h1top">{{ 'espaces_h1'|tr(tr)|raw }}</h1>
<section class="skew p-0">
<div class="col col1">
<div class="col-shadow">
<div class="col-content">
<p class="title">LE MAJESTIC</p>
<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>
</div>
</div>
</div>
<div class="col col2">
<div class="col-shadow">
<div class="col-content gold">
<p class="title">LE VERSAILLES</p>
<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>
</div>
</div>
</div>
<div class="col col3">
<div class="col-shadow">
<div class="col-content purple">
<p class="title">LOUNGE CLUB</p>
<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>
</div>
</div>
</div>
<div class="col col4">
<div class="col-shadow">
<div class="col-content">
<p class="title">{{ 'espaces_salle'|tr(tr)|raw }}</p>
<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>
</div>
</div>
</div>
</section>
{# <div class="cursor">
<svg xmlns="http://www.w3.org/2000/svg" width="60.249" height="62.184" viewBox="0 0 60.249 62.184">
<g id="Group_43" data-name="Group 43" transform="translate(2.5 2.5)">
<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"/>
<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"/>
</g>
</svg>
</div>
#}
{% endblock %}
{% block javascripts %}
<script src="/front/js/owl.carousel.min.js"></script>
<script type="text/javascript">
$( document ).ready(function() {
$('.skew').css('height', window.innerHeight+'px');
});
// const cursor = document.querySelector(".cursor");
// window.addEventListener("mousemove", (e) => {
// cursor.style.left = e.pageX + "px";
// cursor.style.top = e.pageY + "px";
// cursor.setAttribute("data-fromTop", cursor.offsetTop - scrollY);
// // console.log(e)
// });
// window.addEventListener("scroll", () => {
// const fromTop = cursor.getAttribute("data-fromTop");
// cursor.style.top = scrollY + parseInt(fromTop) + "px";
// console.log(scrollY);
// });
// window.addEventListener("click", () => {
// if (cursor.classList.contains("click")) {
// cursor.classList.remove("click");
// void cursor.offsetWidth; // trigger a DOM reflow
// cursor.classList.add("click");
// } else {
// cursor.classList.add("click");
// }
// });
</script>
{% endblock %}