<!--div class="page-header"
{% if data.background_page_header is defined and data.background_page_header is not empty %}
style="background:url({{ asset('uploads/' ~ data.background_page_header.0) }})no-repeat center;background-size:cover;"
{% endif %}
-->
{#% set datas = {
background_page_header: {
0: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png',
1: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png',
2: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png'
},
video_page_header: {
0: 'https://losch.lu/files/settings_homepagevideo/6/losch_brand_3000kb.webm'
}
} %#}
{% set datas = {
background_page_header: {
0: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png',
1: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png',
2: 'louis-hansel-restaurant-photographer-7jpXutWZFDQ-unsplash-626fedbd3c660.png'
}
} %}
<div class="page-header">
{% if data.sub_blocks is defined and data.video_page_header is not defined %}
<div class="images">
<div class="fader"></div>
<ul class="items" {% if slug == 'contact' %}id="map"{% endif %}>
{% for item in data.sub_blocks %}
<li class="item" data-id="{{ loop.index }}">
<img src="{{ asset('uploads/' ~ item.image_slide.0) }}" class="image" width="100%" height="100%">
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if data.video_page_header is defined %}
<div class="video">
<video autoplay="autoplay" playsinline="playsinline" webkit-playsinline="webkit-playsinline" preload="auto" muted="muted" loop="loop" poster="{{ asset('img/poster_video_home.png') }}">
<source src="{{ asset('uploads/' ~ data.video_page_header.0) }}" type="video/webm">
</video>
</div>
{% endif %}
<div class="container position-relative">
{% if data.header_page_url_link is defined and data.header_page_url_link %}
<div class="card-link-header bg-white col-md-5 position-absolute d-flex{% if datas.video_page_header is defined %} with_video{% endif %}">
{#% if data.logo_before_title is defined %#}
<div class="pr-3 fity">
<div class="tify_wh_wheel"></div>
<div class="tify_wheel"></div>
<div class="tify_arm"></div>
</div>
{#% endif %#}
<div class="txt">
{% if data.header_page_title_link is defined %}
<h2 class="blue-dark">{{ data.header_page_title_link }}</h2>
{% endif %}
<a href="{{ data.header_page_url_link }}" class="col-md-12 d-flex justify-content-between p-0 blue btn-arrow">
{% if data.header_page_description_link is defined %}
<p>{{ data.header_page_description_link }}</p>
{% endif %}
<img src="{{ asset('img/icons/arrow-right-blue.svg') }}" alt="flèche droite">
</a>
</div>
</div>
{% endif %}
{% if data.big_title_header is defined and data.big_title_header %}
{% set bigTitleSplited = data.big_title_header|split(',') %}
<h1 class="position-absolute big-title-header pl-4">{% if bigTitleSplited.1 is defined %}{{ bigTitleSplited.0 }}, <span class="blue">{{ bigTitleSplited.1 }}</span>{% else %}{{ data.big_title_header }}{% endif %}</h1>
{% endif %}
</div>
</div>