{% extends 'base_front.html.twig' %}
{% block meta %}
<title>Floor | Accueil</title>
{% if content_header.title is defined %}
<meta name="description" content="{{ content_header.title|striptags }}">
{% endif %}
{% endblock %}
{% block body %}
<section class="slide-header">
<div class="main-slide">
<div class="img-main-slide position-relative img-constant"
data-img="{{ asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ slider.image1) }}"
id="mainImg">
<div class="title-page bg-blue d-flex gold justify-content-end position-absolute">
<img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite">
<span class="ml-3">{{ content_header.preTitle }}</span>
</div>
</div>
</div>
{% set titleSplited = content_header.title|split('<br>') %}
<div class="slides-title page d-flex align-items-center justify-content-end col-md-11 p-0 float-right position-relative">
<h1 class="title-left-right title-home mr-5">
{% if titleSplited|length > 1 %}
<span>
{{ titleSplited[0] }}
</span><br>
<span class="gold">
{{ titleSplited[1] }}
</span>
{% else %}
<span>{{ content_header.title }}</span>
{% endif %}
{% if app.user %}
<a href="{{ path('back_content_edit', {'id': content_header.id}) }}"><i
class="fas fa-pencil-alt pencil-red"></i></a>
{% endif %}
</h1>
<a href="#" class="position-absolute arrow-slide-single" id="arrowSlideMove"
onclick="javascript: return false;">
<img src="{{ asset('img/icons/arrow-right.svg') }}">
</a>
<div class="slide-miniatures d-flex align-self-baseline" id="containerMiniatures">
{% if slider.image2 %}
<div class="slide position-relative float-left">
<img src="{{ asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ slider.image2) }}">
</div>
{% endif %}
{% if slider.image3 %}
<div class="slide position-relative float-left">
<img src="{{ asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ slider.image3) }}">
</div>
{% endif %}
{% if slider.image4 %}
<div class="slide position-relative float-left">
<img src="{{ asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ slider.image4) }}">
</div>
{% endif %}
</div>
</div>
<a href="#targetSeeMore"
class="btn-see-more position-absolute d-flex flex-column align-items-center gold text-center">
<img src="{{ asset('img/icons/arrow-bottom-gold.svg') }}" alt="En savoir plus" class="mb-2">
<span>En savoir plus</span>
</a>
</section>
<section class="first-presentation" id="targetSeeMore">
<div class="container">
<div class="row presentation">
<div class="col-md-6 illustration"
data-img="{{ content_rent.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ content_rent.image) : asset('img/header_floor.jpg') }}">
{# style="background:url({{ content_rent.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ content_rent.image) : asset('img/header_floor.jpg') }}) center center no-repeat;background-size:cover">#}
</div>
<div class="col-md-6 pl-5 prez-txt-right">
<div class="title-page bg-blue d-flex gold pl-0">
<img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite">
<span class="ml-3">{{ content_rent.preTitle }}</span>
</div>
<h1>
{{ content_rent.title }}
{% if app.user %}
<a href="{{ path('back_content_edit', {'id': content_rent.id}) }}"><i
class="fas fa-pencil-alt pencil-red"></i></a>
{% endif %}
</h1>
<div class="description pt-5 pb-5 white">
{{ content_rent.text|raw }}
</div>
{% if content_rent.buttonLink %}
<a href="{{ content_rent.buttonLink }}"
class="btn-gold bg-gold white">{{ content_rent.buttonLabel }}</a>
{% endif %}
</div>
</div>
</div>
</section>
<section class="second-presentation">
<div class="container">
<div class="row presentation">
<div class="col-md-6 pr-5 prez-txt-left">
<div class="title-page bg-blue d-flex gold pl-0">
<img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite">
<span class="ml-3">{{ content_sale.preTitle }}</span>
</div>
<h1>
{{ content_sale.title }}
{% if app.user %}
<a href="{{ path('back_content_edit', {'id': content_sale.id}) }}"><i
class="fas fa-pencil-alt pencil-red"></i></a>
{% endif %}
</h1>
<div class="description pt-5 pb-5 white">
{{ content_sale.text|raw }}
</div>
{% if content_sale.buttonLink %}
<a href="{{ content_sale.buttonLink }}"
class="btn-gold bg-gold white">{{ content_sale.buttonLabel }}</a>
{% endif %}
</div>
<div class="col-md-6 illustration"
data-img="{{ content_sale.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ content_sale.image) : asset('img/header_floor.jpg') }}">
{# style="background:url({{ content_sale.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ content_sale.image) : asset('img/header_floor.jpg') }}) center center no-repeat;background-size:cover">#}
</div>
</div>
</div>
</section>
<section class="map position-relative">
<div class="filter-blue h-100 w-100"></div>
<div class="contact-info white">
<img src="{{ asset('img/icons/marker.svg') }}" alt="address">
<p class="gold mt-3">FLOOR Sarl</p>
<p><strong>152 ROUTE D'ARLON</strong></p>
<p class="min">L — 8010 Strassen</p>
<p class="mt-2"><img src="{{ asset('img/icons/phone.svg') }}"><a href="tel:00352283277"
class="white ml-3 min">(+352) 28 32 77</a>
</p>
<p><img src="{{ asset('img/icons/mail.svg') }}"><a href="mailto:agency@floor.lu" class="white ml-3 min">agency@floor.lu</a>
</p>
</div>
<div class="title-page bg-blue d-flex gold justify-content-end position-absolute">
<img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite">
<span class="ml-3">Contact</span>
</div>
<div class="circle-logo position-absolute d-flex justify-content-center align-items-center no-responsive"
id="circleLogo">
<img src="{{ asset('img/logo_floor_logo.svg') }}" alt="Floor">
</div>
</section>
{% endblock %}