{% extends 'base.html.twig' %}
{% block title %}Accueil{% endblock %}
{% block body %}
<div style="background-image: url('{{ asset('uploads/images/'~ images['image-haut'].url) }}'); width: 100%; min-height: 600px; background-position: center; position: relative; background-repeat: no-repeat;background-size: cover"
class="primary">
<div class="fs-1 fw-semibold position-absolute top-50 start-50 translate-middle text-white"
style="height: 10vh">
« PLACE AUX JEUNES ! »
</div>
<a href="#section1">
<button type="button"
class="btn btn-primary fw-semibold p-3 mx-auto position-absolute top-75 start-50 translate-middle">
Découvrir
</button>
</a>
</div>
<div class=" w-100 pb-5" style="min-height: 100vh" id="section1">
<div class="container-fluid" style="min-height: 80vh">
<div class="row align-items-center d-flex">
<div class="col-md-6 col-sm-12 p-md-5 p-2 my-5 ">
<div class="px-2 px-md-5 justify-content-evenly" style="text-align: justify">
<span class="fw-bold fs-3" style="color: #6E8BC4">Nos objectifs</span> <br>
{% if texts is not empty and texts['text-1'].content is not empty %}
{{ texts['text-1'].content|raw }}
{% endif %}
</div>
</div>
<div class="col col-md-6 col-sm-12 my-5 ">
<div class="videoWrapper mx-auto w-100 w-md-75 my-5">
<iframe src="https://www.youtube.com/embed/MbRe7Kl1yng" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</div>
</div>
</div>
<div class="container-fluid text-center" style="min-height: 10vh">
<a href="#section2">
<button type="button" class="btn btn-primary fw-semibold p-3">
Continuer
</button>
</a>
</div>
</div>
<div class=" w-100 " style="min-height: 100vh" id="section2">
<div class="w-100 text-center fs-1 fw-semibold pt-5" style="min-height: 10vh">
CE QUE L'ON FAIT
</div>
<div class="container-fluid " style="min-height: 80vh">
<div class="row">
<div class="col-md-6 col-sm-12 p-md-5 p-sm-4 text-left py-5 ">
<div class="p-md-5 p-xs-2" style="text-align: justify">
<span class="fw-bold fs-3" style="color: #6E8BC4">Nos objectifs</span> <br>
{% if texts is not empty and texts['text-2'].content is not empty %}
{{ texts['text-2'].content|raw }}
{% endif %}
</div>
</div>
<div class="col-md-6 col-sm-12 p-md-5 p-sm-4 text-left py-5 ">
<div class="p-md-5 p-xs-2" style="text-align: justify">
<span class="fw-bold fs-3" style="color: #6E8BC4">Nos actions</span> <br>
{% if texts is not empty and texts['text-3'].content is not empty %}
{{ texts['text-3'].content|raw }}
{% endif %}
</div>
</div>
<div class="col-md-6 col-sm-12 my-5 mx-auto">
<img src="{{ asset('uploads/images/'~ images['image-centre'].url) }}" alt="" class="w-100 w-md-75 mx-auto d-block">
</div>
</div>
</div>
</div>
<div class="w-100 text-center fs-1 fw-semibold px-md-5 px-sm-2 py-5">
LES MEMBRES DU CONSORTIUM
</div>
{{ include('/_includes/consortium_paj.html.twig') }}
{% endblock %}