{% extends 'base.html.twig' %}
{% block style %}
<style>
.modal-content {
border-radius: 50px;
}
.modal-body {
padding: 40px;
min-width: 500px;
min-height: 500px;
color: #fff;
border-radius: 50px;
position: relative;
}
button.close {
color: #fff;
border: 2px solid #fff;
border-radius: 50%;
width: 30px;
height: 30px;
position: absolute;
top: 15px;
right: 15px;
}
.home-slide {
min-height: 1080px;
display: block;
overflow: hidden;
}
#background-video {
width: 100%;
height: 100%;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
border-radius: 15px;
}
@media (max-width: 1549px){
.home-slide {
display: block;min-height: 800px;
overflow: hidden;
}
.img-box .img-1 { height: 591px; width:auto; display:block; object-fit:cover;}
}
@media (max-width: 768px) {
#background-video { display: none; }
.img-box .img-1 {
height:auto;
}
}
</style>
{% endblock %}
{% block banniere %}
<section class="home-slide owl-carousel">
{% for slide in slides %}
<div class="item-slide">
<div class="bg-slide"><img src="{{ asset(slider_directory ~ slide.image) }}" alt="" {% if loop.index != 1 %} loading="lazy" {% endif %} class="img"></div>
<div class="container-fluid">
<div class="title">
{{ slide.titre | raw }}
</div>
<div class="desc">
{{ slide.soustitre | raw }}
</div>
<a href="{{ slide.buttonLink }}" class="btn-slide btn-3">
{{ slide.buttonText }}
</a>
</div>
</div>
{% endfor %}
</section>
{% endblock %}
{% block contenu %}
<section class="pt-75 pb-35 home-page">
<div class="container clearfix">
<div class="clearfix">
<div class="img-box float-lg-left wow fadeInLeft" data-wow-delay="1s">
<img src="{{ src }}" loading="lazy" alt="olivier ecole de surf de la cote sauvage la palmyre bouverie" class="img-1">
<div class="text-img">
</div>
</div>
<div class="sect-title text-center pt-40 wow fadeInRight" data-wow-delay="1.5s">
<h1>
{{ page.titre }}
</h1>
</div>
<div class="bloc-text wow fadeInRight" data-wow-delay="1.5s">
{{ page.contenu | raw }}
</div>
</div>
<div class="text-center">
<div class="logo-surf wow fadeInUp" data-wow-delay="0.5s">
<img src="{{ asset('front/images/logo-surf.png') }}" loading="lazy" alt="ecoles du surf francais esf logo">
<object data="{{ asset('front/images/text-surf.svg') }}" type=""></object>
</div>
</div>
</div>
</section>
{% endblock %}
{% block atout %}
<section class="pt-35 avt-section wow slideInUp" data-wow-delay="0.5s">
<div class="container container-one">
<div class="sect-title text-center">
<div class="h1">
Nos atouts exclusifs
</div>
</div>
<div class="avt-list">
<div class="row no-gutters">
<div class="col-xxl-6 col-xl-6 col-12">
<div class="item-avt">
<div class="row no-gutters">
<div class="col-md-6">
<div class="content">
<img src="{{ asset('front/images/a-1.png') }}" loading="lazy" width="78" alt="decouvir le surf sur la cote sauvage">
<div class="title">
Les meilleures conditions de vagues
</div>
<div class="desc">
Des plannings adaptés aux marées et à la houle pour bénéficier des meilleures vagues de la journée !
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="btn-2">
<span>voir tous les atouts</span>
<div class="wave"></div>
</a>
</div>
</div>
<div class="col-md-6">
<div class="img-avt avt-1">
<img src="{{ asset('front/images/atouts-et-avantages/meilleure-vague.jpg') }}" class="img" loading="lazy" alt="ecole de surf la palmyre">
</div>
</div>
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="full-link"></a>
</div>
</div>
<div class="col-xxl-6 col-xl-6 col-12">
<div class="item-avt" style="background-color: #d14357;">
<div class="row no-gutters">
<div class="col-md-6">
<div class="content">
<img src="{{ asset('front/images/a-2.png') }}" width="113" loading="lazy" alt="chariot electrique plage cote sauvage ecole de surf">
<div class="title">
Chariot électrique <br> 4x4
</div>
<div class="desc">
Unique sur la Côte Sauvage : l’assurance d’accéder aux plus beaux spots en toute facilité !
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="btn-2">
<span>voir tous les atouts</span>
<div class="wave"></div>
</a>
</div>
</div>
<div class="col-md-6">
<div class="img-avt avt-2">
<img src="{{ asset('front/images/atouts-et-avantages/chariot-electrique.jpg') }}" class="img" loading="lazy" alt="ecole de surf charente maritime">
</div>
</div>
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="full-link"></a>
</div>
</div>
<div class="col-xxl-6 col-xl-6 col-12">
<div class="item-avt" style="background-color: #ed8f1f;">
<div class="row no-gutters">
<div class="col-md-6">
<div class="img-avt avt-3">
<img src="{{ asset('front/images/atouts-et-avantages/securite-maximale.jpg') }}" class="img" loading="lazy" alt="ecole de surf plage de la bouverie">
</div>
</div>
<div class="col-md-6">
<div class="content">
<img src="{{ asset('front/images/a-3.png') }}" loading="lazy" width="75" alt="ecole de surf cote sauvage">
<div class="title">
Sécurité maximale
</div>
<div class="desc">
Nos moniteurs de surf sont tous des Sauveteurs Nautiques diplômés et expérimentés.
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="btn-2">
<span>voir tous les atouts</span>
<div class="wave"></div>
</a>
</div>
</div>
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="full-link"></a>
</div>
</div>
<div class="col-xxl-6 col-xl-6 col-12">
<div class="item-avt" style="background-color: #2db3b9;">
<div class="row no-gutters">
<div class="col-md-6">
<div class="img-avt avt-4">
<img src="{{ asset('front/images/atouts-et-avantages/combinaison-gratuite.jpg') }}" class="img" loading="lazy" alt="ecole de surf planche de surf et combinaison gratuites">
</div>
</div>
<div class="col-md-6">
<div class="content">
<img src="{{ asset('front/images/a-4.png') }}" loading="lazy" width="65" alt="ecole de surf la palmyre cote sauvage">
<div class="title">
prêt du matériel gratuit
</div>
<div class="desc">
Planches de surf, combinaisons, lycras... Tout est compris dans nos formules et sans supplément !
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="btn-2">
<span>voir tous les atouts</span>
<div class="wave"></div>
</a>
</div>
</div>
</div>
<a href="/nos-atouts-et-services-exclusifs.html" class="full-link"></a>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block formule %}
{% include 'front/formule.html.twig' %}
{% endblock %}
{% block carte %}
<section class="">
<div class="container-fluid px-xl-5">
<div class="cote-box wow fadeInUp" data-wow-duration="1.5s">
<video id="background-video" autoplay loop muted poster="{{ asset('front/images/back-0.jpg') }}">
<source src="{{ asset('front/images/video-vague-escs.mp4') }}" type="video/mp4">
</video>
<div class="sect-title text-center">
<div class="h1 text-white">
Toute l’année, sur les plages de la Côte Sauvage, <br>découvrez le surf avec l’ESCS !
</div>
</div>
<div class="d-flex align-items-center justify-content-center flex-wrap" style="gap:20px;">
<a href="{{ path('app_index', {'slug': 'contact.html'}) }}" class="btn-2">Nous contacter <i class="fa fa-angle-right"></i>
<div class="wave"></div>
</a>
<a href="/niveaux-et-publics-cours-de-surf-cote-sauvage.html" class="btn-2">Surfez selon votre niveau ! <div class="wave"></div></a>
</div>
</div>
</div>
</section>
{% endblock %}
{% block actualite %}
<section class="pt-75 pb-40 blog-section">
<div class="container">
<div class="row ">
<div class="col-xl-9 col-lg-8 text-center col-12 mb-30">
<div class="sect-title mb-0">
<div class="h1 text-uppercase wow fadeInDown" data-wow-delay="0.5s">
blog escs : les 3 derniers posts
</div>
</div>
</div>
<div class="col-xl-3 col-lg-4 mb-30">
<a href="{{ path('app_actualites') }}" class="btn-1"><span>voir tous les ARTICLES</span>
<div class="wave"></div>
</a>
</div>
</div>
<div class="row">
{% for actualite in actualites %}
{{ actualite.init() }}
<div class="col-xl-4 col-md-6 col-12 mb-40 wow fadeInUp" data-wow-delay="0.9s">
<div class="item-blog">
<div class="img">
<img src="{{ asset(actualite.imgSrc) }}" loading="lazy" alt="blog ecole de surf">
</div>
<div class="content">
<div class="date">
<span>
{{ actualite.date|localizeddate('none', 'none', null, null, 'd') }}
</span> {{ actualite.date|localizeddate('none', 'none', null, null, 'MMMM') | slice(0, 3) }}. <br>{{ actualite.date|localizeddate('none', 'none', null, null, 'Y') }}
</div>
<div class="rubrique">
{% if actualite.categorie is not null %}
{{ actualite.categorie.nom }}
{% endif %}
</div>
<div class="title">
{{ actualite.titre }}
</div>
<div class="desc">
{{ actualite.contenu | slice(0, 120) | striptags | raw }} [...]
</div>
<div class="link">
Lire la suite
</div>
</div>
<a href="{{ path('app_actualite_detail', { slug : actualite.slug }) }}" class="full-link"></a>
</div>
</div>
{% endfor %}
</div>
<div class="item-cours hover-box cours-1 mb-40 mt-75 wow fadeInRight" data-wow-duration="2s" data-wow-delay="0.5s">
<img src="{{ asset('front/images/cours-1.jpg') }}" class="default" alt="tarifs cours de surf cote sauvage">
<img src="{{ asset('front/images/cours-1h.jpg') }}" class="hover wow fadeIn" alt="tarif stage de surf la palmyre bouverie">
<div class="row">
<div class="col-xl-5 col-lg-5 col-md-7 col-12">
<div class="sect-title">
<div class="sub-title text-white">
débutant · perfectionnement · enfants · ados · adultes...
</div>
<div class="h1 text-white">
Les cours de surf <br> proposés par l’ESCS, <br> c’est pour tout le monde et pour tous les niveaux !
</div>
</div>
<a href="/niveaux-et-publics-cours-de-surf-cote-sauvage.html" class="btn-2 text-uppercase">en savoir plus <div class="wave"></div></a>
</div>
</div>
</div>
<div class="item-cours hover-box cours-2 mb-40 wow fadeInLeft" data-wow-duration="1.5s" data-wow-delay="1s">
<img src="{{ asset('front/images/cours-2.jpg') }}" class="default" alt="surfshop la palmyre">
<img src="{{ asset('front/images/cours-2h.jpg') }}" class="hover" alt="location planche de surf cote sauvage">
<div class="row">
<div class="col-xl-5 col-lg-5 col-md-7 col-12">
<div class="sect-title">
<div class="sub-title text-white">
surfboards · combinaisons · bodyboards ·vélos...
</div>
<div class="h1 text-white">
Le Surfshop de l’ESCS : <br> les locations surf <br> les moins chères <br> de la Côte Sauvage !
</div>
</div>
<a href="/le-surfshop-location-de-materiel-escs-cote-sauvage.html" class="btn-2 text-uppercase">découvrez nos offres <div class="wave"></div></a>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block avis %}
<section class="temoignage-section">
<div class="container">
<div class="text-center mb-40">
<div class="sect-title mb-2">
<div class="h1 text-uppercase wow fadeInUp">
Vos témoignages sur l’escs
</div>
</div>
<div class="text-1 mb-20 wow fadeInDown">
L’Ecole de Surf de la Côte Sauvage,c’est vous qui en parlez le mieux !
</div>
</div>
<div class="temoignage-slide wow fadeInUp">
{% for avis in avisListe %}
<div class="item">
<div class="avatar">
<img src="{{ asset(avis_directory~avis.avatar) }}" loading="lazy" alt="avis ecole de surf cote sauvage">
</div>
<div class="content">
<div class="icons">
<img src="{{ asset('front/images/icons-1.png') }}" alt="temoignage ecole de surf la palmyre" width="60">
</div>
<div class="stars">
{% for i in 1..5 %}
{% if (i <= avis.note) %}
<i class="fa fa-star"></i>
{% else %}
<i class="fa fa-star empty"></i>
{% endif %}
{% endfor %}
</div>
<div class="desc">
{{ avis.commentaire }}
</div>
<div class="title">
{{ avis.nom }}
</div>
</div>
<a href="" class="full-link"></a>
</div>
{% endfor %}
</div>
</div>
</section>
{% endblock %}
{% block modal %}
{% if popup is defined and popup is not null %}
<!-- Modal -->
<div class="modal fade" id="modal-popup" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body" style="background: url({{ asset(popup_directory ~ popup.image) }}) no-repeat center/cover;">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
{{ popup.contenu | raw }}
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}