{% extends 'base.html.twig' %}
{% block header %}
<div class="header-landing-wrapper">
{% include 'Partial/Base/header.html.twig' %}
<section class="header-background-container">
<div class="background">
<div class="background-file-container">
<div class="img-container">
<div class="circle-container">
<div class="circle"></div>
</div>
<img class="img-profile" src="{{ asset('build/common/landing-page-img.png', 'common') }}">
</div>
<div class="infos-user">
<div>
<h1 class="d-flex flex-column align-items-center d-md-block">Trouvez ce qui <strong>vous correspond</strong></h1>
<p class="d-flex justify-content-center d-md-block">Je suis...</p>
<div class="choice-user-button">
<a href="https://about.nellapp.com/" class="home-button home-button-hover">
Un organisme
</a>
{% if nellapp_url_exist('core', 'app_register') %}
<a href="{{- nellapp_url('core', 'app_register') -}}" class="home-button home-button-hover">
Un apprenant
</a>
{% endif %}
</div>
</div>
</div>
<div class="scroll-action">
<a href="#main" class="btn arrow-down-btn">
<i class="fas fa-arrow-down"></i>
</a>
</div>
</div>
</div>
</section>
</div>
{% endblock %}
{% block body_markup %}
<body class="home-template">
{% endblock body_markup %}
{% block inner_content_container %}{% endblock inner_content_container %}
{% block inner_content %}
<section class="section_filters">
<div class="container">
<div class="row">
<div class="col-12">
<h2 class="v2-title-mid text-center text-sm-left mb-5">
{{ 'front.home.section_filters.title' | trans | raw }}
</h2>
{% include 'Front/Pages/partials/_home_filters.html.twig' with {
'form': home_filters
} %}
</div>
</div>
</div>
<div class="snake-container"></div>
</section>
<section class="container">
<div class="row home_section">
<div class="col-12">
<div class="scrollable-bar-hidden">
{% for training in global_stats.popularTrainings %}
<twig:TrainingCard :training="training"/>
{% endfor %}
</div>
</div>
</div>
<div class="row home_section">
<div class="col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0">
<h2 class="v2-title-big text-center">{{ 'front.home.section_intro.title' | trans }}</h2>
<p class="text-justify">{{ 'front.home.section_intro.text' | trans }}</p>
<div class="text-center">
<a href="https://about.nellapp.com/" class="mx-auto mt-3 btn-nellapp-v2">{{ 'front.home.section_intro.contact' | trans }}</a>
</div>
</div>
<div class="col-12 col-lg-6">
<twig:NellappVideoPlayer
videoSrc="https://www.youtube.com/watch?v=olwK-bO-1co"
alt="Présentation de Nellapp"
></twig:NellappVideoPlayer>
</div>
</div>
<div class="row stats_section margin-bottom-big">
<div class="col-12">
<dl class="stats_list">
<div>
<dd>
{{ global_stats.countTotalTrainings | number_format(null, null, ' ') }}
</dd>
<dt>
formations
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLessons | number_format(null, null, ' ') }}
</dd>
<dt>
cours
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLearners | number_format(null, null, ' ') }}
</dd>
<dt>
apprenants
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalChannels | number_format(null, null, ' ') }}
</dd>
<dt>
organismes
</dt>
</div>
</dl>
</div>
</div>
</section>
{% endblock inner_content %}