templates/Front/Pages/home/home.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block header %}
  3.     <div class="header-landing-wrapper">
  4.         {% include 'Partial/Base/header.html.twig' %}
  5.         <section class="header-background-container">
  6.             <div class="background">
  7.                 <div class="background-file-container">
  8.                     <div class="img-container">
  9.                         <div class="circle-container">
  10.                             <div class="circle"></div>
  11.                         </div>
  12.                         <img class="img-profile" src="{{ asset('build/common/landing-page-img.png', 'common') }}">
  13.                     </div>
  14.                     <div class="infos-user">
  15.                         <div>
  16.                             <h1 class="d-flex flex-column align-items-center d-md-block">Trouvez ce qui <strong>vous correspond</strong></h1>
  17.                             <p class="d-flex justify-content-center d-md-block">Je suis...</p>
  18.                             <div class="choice-user-button">
  19.                                 <a href="https://about.nellapp.com/" class="home-button home-button-hover">
  20.                                     Un organisme
  21.                                 </a>
  22.                                 {% if nellapp_url_exist('core', 'app_register') %}
  23.                                     <a href="{{- nellapp_url('core', 'app_register') -}}" class="home-button home-button-hover">
  24.                                         Un apprenant
  25.                                     </a>
  26.                                 {% endif %}
  27.                             </div>
  28.                         </div>
  29.                     </div>
  30.                     <div class="scroll-action">
  31.                         <a href="#main" class="btn arrow-down-btn">
  32.                             <i class="fas fa-arrow-down"></i>
  33.                         </a>
  34.                     </div>
  35.                 </div>
  36.             </div>
  37.         </section>
  38.     </div>
  39. {% endblock %}
  40. {% block body_markup %}
  41.     <body class="home-template">
  42. {% endblock body_markup %}
  43. {% block inner_content_container %}{% endblock inner_content_container %}
  44. {% block inner_content %}
  45.     <section class="section_filters">
  46.         <div class="container">
  47.             <div class="row">
  48.                 <div class="col-12">
  49.                     <h2 class="v2-title-mid text-center text-sm-left mb-5">
  50.                         {{ 'front.home.section_filters.title' | trans | raw }}
  51.                     </h2>
  52.                     {% include 'Front/Pages/partials/_home_filters.html.twig' with {
  53.                         'form': home_filters
  54.                     } %}
  55.                 </div>
  56.             </div>
  57.         </div>
  58.         <div class="snake-container"></div>
  59.     </section>
  60.     <section class="container">
  61.         <div class="row home_section">
  62.             <div class="col-12">
  63.                 <div class="scrollable-bar-hidden">
  64.                     {% for training in global_stats.popularTrainings %}
  65.                         <twig:TrainingCard :training="training"/>
  66.                     {% endfor %}
  67.                 </div>
  68.             </div>
  69.         </div>
  70.         <div class="row home_section">
  71.             <div class="col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0">
  72.                 <h2 class="v2-title-big text-center">{{ 'front.home.section_intro.title' | trans }}</h2>
  73.                 <p class="text-justify">{{ 'front.home.section_intro.text' | trans }}</p>
  74.                 <div class="text-center">
  75.                     <a href="https://about.nellapp.com/" class="mx-auto mt-3 btn-nellapp-v2">{{ 'front.home.section_intro.contact' | trans }}</a>
  76.                 </div>
  77.             </div>
  78.             <div class="col-12 col-lg-6">
  79.                 <twig:NellappVideoPlayer
  80.                     videoSrc="https://www.youtube.com/watch?v=olwK-bO-1co"
  81.                     alt="PrĂ©sentation de Nellapp"
  82.                 ></twig:NellappVideoPlayer>
  83.             </div>
  84.         </div>
  85.         <div class="row stats_section margin-bottom-big">
  86.             <div class="col-12">
  87.                 <dl class="stats_list">
  88.                     <div>
  89.                         <dd>
  90.                             {{ global_stats.countTotalTrainings | number_format(null, null, ' ') }}
  91.                         </dd>
  92.                         <dt>
  93.                             formations
  94.                         </dt>
  95.                     </div>
  96.                     <div>
  97.                         <dd>
  98.                             {{ global_stats.countTotalLessons | number_format(null, null, ' ') }}
  99.                         </dd>
  100.                         <dt>
  101.                             cours
  102.                         </dt>
  103.                     </div>
  104.                     <div>
  105.                         <dd>
  106.                             {{ global_stats.countTotalLearners | number_format(null, null, ' ') }}
  107.                         </dd>
  108.                         <dt>
  109.                             apprenants
  110.                         </dt>
  111.                     </div>
  112.                     <div>
  113.                         <dd>
  114.                             {{ global_stats.countTotalChannels | number_format(null, null, ' ') }}
  115.                         </dd>
  116.                         <dt>
  117.                             organismes
  118.                         </dt>
  119.                     </div>
  120.                 </dl>
  121.             </div>
  122.         </div>
  123.     </section>
  124. {% endblock inner_content %}