{% extends 'base_front.html.twig' %}
{% block meta %}
<title>Bourg | 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" style="background:url({{ asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ slider.image1) }})no-repeat center;background-size:cover;" 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 data-end="?" class="title-left-right title-home mr-5 without-point">
{% 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" style="color: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">
<span>En savoir plus</span>
<img src="{{ asset('img/icons/arrow-bottom-gold.svg') }}" alt="En savoir plus" class="mb-2">
</a>
</section>
<section class="first-presentation" id="targetSeeMore">
<div class="container">
<div class="row presentation">
<div class="col-md-6 illustration" 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>{{ 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" style="color:red"></i></a>
{% endif %}
</h1>
<div class="description pt-5 pb-5">
{{ content_rent.text|raw }}
</div>
{% if content_rent.buttonLink %}
<a href="{{ content_rent.buttonLink }}" class="btn-gold bg-gold gold">{{ 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>{{ 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" style="color:red"></i></a>
{% endif %}
</h1>
<div class="description pt-5 pb-5 gold">
{{ content_sale.text|raw }}
</div>
{% if content_sale.buttonLink %}
<a href="{{ content_sale.buttonLink }}" class="btn-gold bg-gold gold">{{ content_sale.buttonLabel }}</a>
{% endif %}
</div>
<div class="col-md-6 illustration" 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" style="background:url({{ asset('img/map.svg') }})no-repeat center;background-size:cover;">
<div class="filter-blue h-100 w-100"></div>
<div class="contact-info gold">
<img src="{{ asset('img/icons/marker.svg') }}" alt="address">
<p class="gold mt-3 name">Bour S.A.</p>
<p><strong>96 RUE DE KIEM</strong></p>
<p class="min">L — 8030 Strassen</p>
<p class="mt-2"><img src="{{ asset('img/icons/phone.svg') }}"><a href="tel:0035228327777" class="gold ml-3 min">(+352) 45 48 48 1</a></p>
<p><img src="{{ asset('img/icons/mail.svg') }}"><a href="mailto:support@floor.lu" class="gold ml-3 min">support@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 %}