{% set type = type|default('default') %}
{% set class = '' %}
{% set title = content.title|default %}
{% set subtitle = content.subtitle|default %}
{% set image = content.headerImage|default %}
{% set url = '' %}
{% set isArticle = (type == 'article') %}
<section class="bloc-slider {{ isArticle ? ' header--article' }}">
<div class="conteneur-slider position-relative {% if title == 'Contact' %} max-contact {% endif %}">
{% if content.blocks|default([])|length %}
{% set n = -1 %}
{% for block in content.blocks %}
{% set n = n + 1 %}
{% if n == 0 %}
{% if block.type == "image" %}
{% include 'includes/blocks/' ~ block.type ~ '.html.twig' with {
content: block,
view: view.blocks[loop.index0],
} only %}
{% else %}
<img src="{{ asset('/assets/images/spacer.png')}}" class="w-100">
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% if title == 'Espace de coworking à Lyon 7' %}
{% else %}
<h1 class="header__title title-banniere {{ isArticle ? ' header__title--small' }}"><span>{{ title }}</span></h1>
{% endif %}
</div>
{% if title == 'Espace de coworking à Lyon 7' %}
<div class=" abs-bloc-index font-pro-bold font-19 text-center">Réservez dès <span class="color-green-s">1/2J</span></div>
{% endif %}
{% if title != 'Espace de coworking à Lyon 7' %}
<nav class="ariane-box-nav">
<ol class="breadcrumb ariane-box m-0 pb-2 pt-2 bg-transparent">
<li class="breadcrumb-item"><a href="/">Accueil</a></li>
<li class="breadcrumb-item active">{{title}}</li>
</ol>
</nav>
{% endif %}
</section>