{% extends 'Default/base.html.twig' %}{% set menu = 'home' %}{% set home = true %}{% import "Default/macros.html.twig" as macros %}{% block banner %}<div id="banner" class='relative w100 {{desktop("vh100 htop-in")}} {{mobile("")}}'> {% if banner %} <figure class='absolute top left fill hoverflow {{desktop("")}} {{mobile("")}}'> <img src='{{asset(banner.banner)}}' class='cover'> <i class="gradient-banner-alt absolute top left fill"></i> </figure> <div class="relative fill flex col space {{desktop('hleft-in hright-in ')}}{{mobile('vt-25-in')}}"> <i></i> <div class="flex row space"> <i></i> <div class="relative flex col left middle white {{desktop('half vt-30-in hz-40-in')}}{{mobile('hz-25-in')}}"> <i class="block fill absolute top left bg-wghite transparent-alt-2"></i> <div class="relative flex col left"> <span class="warning">À la une</span> <span class="bg-gray-alt radius-10 top-15 vt-4-in half-40"></span> <h2 class="h3 regular white {{desktop('vt-30')}}">{{banner.title}}</h2> <div class="{{desktop('')}}{{mobile('')}}"> <a class="flex row middle bg-success-alt white {{desktop('radius-10 vt-20-in hz-20-in')}}{{mobile('radius-5 vt-10-in hz-10-in top-8')}}" href="{{banner.link}}"> <span class="upper bold">Lire l'article</span> </a> </div> </div> </div> </div> </div> {% endif %}</div>{% endblock %}{% block content %}<div class='hleft-in hright-in relative w100 {{desktop("htop")}} {{mobile("top-25-in")}}'> <div class="relative fill hoverflow shadow {{desktop("flex row space")}} {{mobile("flex col")}}"> <div class="bg-error {{desktop("padding-80")}} {{mobile("padding-25")}}"> <div class="flex col left {{desktop("padding-20")}} {{mobile("")}}"> <span class="bg-warning radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="white {{desktop("")}} {{mobile("")}}">Le CeFAL en bref</h2> <p class="article h5 white light {{desktop('vt-40')}}{{mobile('bottom-20')}}"> {{page.description|nl2br}} </p> <a class="flex row middle bg-warning white {{desktop('radius-10 vt-20-in hz-20-in top-20')}}{{mobile('radius-5 vt-10-in hz-10-in top-8')}}" href="{{path('about')}}"> <span class="upper bold">En savoir plus</span> </a> </div> </div> <div class="third"> <figure class='relative hoverflow transition {{desktop("fill")}} {{mobile("mrect")}}'> <img src='{{asset(page.banner)}}' class='block cover'> </figure> </div> </div></div><div class='hleft-in hright-in relative w100 {{desktop("htop")}} {{mobile("top-25-in")}}'> <div class="bg-success relative {{desktop("padding-60 ")}} {{mobile("")}}"> <div class="flex col {{desktop("padding-40")}} {{mobile("padding-25")}}"> <span class="bg-gray radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="gray">Nos Prestations</h2> <div class="flex row wrap space {{desktop("")}} {{mobile("")}}"> {% for o in formations %} <div class="flex row {{desktop("half-60 top-60")}} {{mobile("top-25")}}"> <figure class="third-20 relative"> <img class="cover" src="{{asset(o.banner ? o.banner.thumbnail)}}"> </figure> <div class="w100 bg-white flex col space {{desktop('hz-60-in vt-40-in')}}"> <h3 class="h6">{{o.label}}</h3> <a class="success-alt semibold underline {{desktop("top-40")}} {{mobile("top-20")}}" href="{{path('formation',{id:o.id,slug:o.slug})}}">En savoir plus</a> </div> </div> {% endfor %} </div> </div> </div></div><div class='hleft-in hright-in relative w100 {{desktop("htop")}} {{mobile("top-25-in")}}'> <div class="relative fill hoverflow shadow {{desktop("flex row space")}} {{mobile("flex col")}}"> <div class="bg-success-alt {{desktop("padding-80")}} {{mobile("padding-25")}}"> <div class="flex col left {{desktop("padding-20")}} {{mobile("")}}"> <span class="bg-success radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="white lh-1 {{desktop(" top-25")}} {{mobile("top-10")}}">Pré-inscription pour la formation continue</h2> <p class="article h5 white light {{desktop('vt-40 half_40')}}{{mobile('bottom-20')}}"> Cliquez sur le bouton ci-dessous afin de faire une pré-inscription en ligne pour la formation continue. </p> <a class="flex row middle bg-success white {{desktop('radius-10 vt-20-in hz-20-in top-20')}}{{mobile('radius-5 vt-10-in hz-10-in top-8')}}" href="{{path('registration')}}"> <span class="upper bold">Se pré-inscrire en ligne</span> </a> </div> </div> <div class="third"> <figure class='relative hoverflow transition {{desktop("fill")}} {{mobile("mrect")}}'> <img src='{{asset("images/cefal.jpg")}}' class='block cover'> </figure> </div> </div></div><div class='hleft-in hright-in relative w100 {{desktop("htop")}} {{mobile("top-25-in")}}'> <div class="relative {{desktop("hz-60-in")}} {{mobile("")}}"> <div class="flex col {{desktop("hz-40-in")}} {{mobile("padding-25")}}"> <span class="bg-gray radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="black-alt">Notre actualité</h2> <div class="flex row wrap space {{desktop("")}} {{mobile("")}}"> {% for o in articles %} {{macros.article(o)}} {% endfor %} </div> </div> </div></div><div class='hleft-in hright-in relative w100 {{desktop("htop")}} {{mobile("top-25-in")}}'> <div class="relative fill hoverflow shadow {{desktop("")}} {{mobile("flex col")}}"> <div class="bg-white flex row space {{desktop("padding-80")}} {{mobile("padding-25")}}"> <div class="{{desktop("third")}} {{mobile("")}}"> <div class="flex col left {{desktop("padding-20")}} {{mobile("")}}"> <span class="bg-warning radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="lh-1 {{desktop(" top-25 bottom-80")}} {{mobile("top-10 bottom-20")}}">Nous suivre</h2> <ul class="flex row h2 list"> <li> <a href="" class="hz-25-in fab fa-facebook-square"></a> </li> <li> <a href="" class="hz-25-in fab fa-twitter"></a> </li> <li> <a href="" class="hz-25-in fab fa-youtube"></a> </li> </ul> </div> </div> <i class="bg-white hz-1-in {{desktop('hz-80')}} {{mobile('top-20')}}"></i> <div class="flex w100 {{desktop("row")}} {{mobile("col")}}"> <div class="{{desktop('')}}"> <div class="flex col left {{desktop("padding-20")}} {{mobile("")}}"> <span class="bg-warning radius-10 top-15 vt-4-in quarter-40"></span> <h2 class="lh-1 {{desktop(" top-25 bottom-80")}} {{mobile("top-10 bottom-20")}}">Newsletter</h2> <div class="w100 {{desktop('top-60-in right-80-in bottom-80-in')}}"> {{render(controller('App\\Controller\\DefaultController::subscribers',{}))}} </div> </div> </div> {# <div class="quarter"> <figure class="relative fill"> <img src="{{asset('images/newsletter.jpg')}}" class="cover"> </figure> </div> #} </div> </div> </div></div>{% endblock content %}