{% extends 'base.html.twig' %}
{% block page_contents %}
<section class="section section-page-title bg-gradient py-xl-5 py-4" data-aos='fade-down'>
<div class="container">
<div class="row">
<div class="col-12 text-center text-white">
<h1 class="page-name font-weight-bold my-2">{% trans %}Nos étudiants en parlent le mieux !{% endtrans %}</h1>
</div>
</div>
</div>
</section>
<section class="section section-parlent pt-4">
<div class="container">
<div class="row">
{% if outStudentArticles %}
{% for article in outStudentArticles %}
<div class="col-lg-6 mb-xl-5 mb-4" data-aos='zoom-in'>
<div class="t-box d-flex flex-column h-100 position-relative">
<div class="t-img position-absolute t-0">
<img src="{{ asset('assets/images/parlent/mask.png') }}" width="148" class="position-relative">
<div class="position-absolute w-100 h-100 l-0 t-0 rounded-circle" style="background-image: url({{ article.imageUrl }});"></div>
</div>
<div class="t-content d-flex flex-column h-100 px-4 pt-md-3 pb-3">
<div class="t-icon">
<div class="line-1 text-purple font-weight-bold flex-1">{{ article.title }}</div>
</div>
<div class="t-text text-dark-purple text-justify">
{{ article.content }}
</div>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
</section>
<section class="section section-testi-slider bg-purple pt-xl-5 pt-4 pb-4 text-white">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-lg-0 mb-4">
<div class="d-flex flex-column h-100 justify-content-center text-justify" data-aos='fade-right'>
<div class="section-title text-white mb-3"><span>/</span> {% trans %}Témoignages en vidéos{% endtrans %}</div>
<div class="flex-grow-1 d-flex h-100 align-items-center">
{% trans %}Ces étudiantes et étudiants ont choisi notre écoles pour se former dans les thématiques de l'information appliquées. Découvrez leurs témoignages !{% endtrans %}
</div>
</div>
</div>
<div class="col-lg-8" data-aos='fade-left'>
{% if outStudentVideos %}
<div class="slider slider-video pb-md-4 pb-5">
{% for video in outStudentVideos %}
<div>
<div class="p-md-3">
<div class="embed-responsive embed-responsive-16by9 hvr-glow">
<iframe loading="lazy" class="embed-responsive-item" src="{{ video.video | extractYoutubeId }}?rel=0&enablejsapi=1" allowfullscreen></iframe>
</div>
</div>
</div>
{% endfor %}
</div>
{% endif %}
</div>
</div>
</div>
</section>
{% endblock %}