{% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
{% block stylesheets %}
{{parent()}}
{% endblock %}
{% block body %}
<div class="page_cms page_activite pt-5">
<div class="breadcrumb-style-default">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="inner text-center">
{% if breadcrumb is defined and breadcrumb is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
<h1 class="page-title">{{titre_activite}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div id="bloc-principal" class="container-fluid wrapper">
<div class="row">
<div class="col-sm-12">
<div class="my-4 text-page-ref">
{% if activite.image and activite.image is not empty %}
<div class="container-img">
<img class="lazyload img-fluid principal-img " data-srcset="{{asset_image(activite.image)}}" src="{{asset_image(activite.image)}}" alt="{{activite.titreactivite}}" />
</div>
{% endif %}
<div>
<div ><h2>{{titre}}</h2></div>
{% if texte is not empty and texte != " " %}
<div class=""> {{texte|raw}} </div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class="bg-pages-ref">
{% if ref_pages is defined and ref_pages is not empty %}
<section id="bloc-refs" class="page-ref">
<div class="container-fluid mt-3">
<div class="row gx-5 py-2">
<div class="col-sm-12 text-center">
<h2 class="sub-title wow">{{parametreRef.titreblocautreprestation|default('')}} {{titre}}</h2>
</div>
<div class="col-sm-12">
<div class="list_blocs pos1">
<div class="blocs">
<section class="results dynam-affichage affichage1 type_affiche3 ">
{% for item in ref_pages %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class="article wow zoomIn animated" data-wow-delay="{{duree}}s" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
<span class="article-image lazyloaded" style="background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;"> </span>
<span class="article-cnt">
<a class="article-titre" href="{{path('page',{slug:item.slug})}}" title="" >{{item.title}}</a>
<span class="article-txt">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class="article-bts">
<button class="article-plus btn-fade" onclick="window.open('{{path('page',{slug:item.slug})}}', '_self');" title="En savoir plus">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if actualites is defined and actualites is not empty %}
<section id="bloc-sous-activites" class="page-ref">
<div class="container-fluid mt-3">
<div class="row gx-5 py-2">
<div class="col-sm-12 text-center">
<h2 class="sub-title wow">{{parametreRef.titreblocactualite|default('')}}</h2>
</div>
<div class="col-sm-12">
<div class="list_blocs pos1">
<div class="blocs">
<section class="results dynam-affichage affichage1 type_affiche3 ">
{% for item in actualites %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class="article wow zoomIn animated" data-wow-delay="{{duree}}s" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
<span class="article-image lazyloaded" style="background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;"> </span>
<span class="article-cnt">
<a class="article-titre" href="{{path('page',{slug:item.slug})}}" title="" >{{item.title}}</a>
<span class="article-txt">
{% if item.summary is not empty %}
{{item.summary|raw}}
{% else %}
{{cutText(item.content)|raw}}
{% endif %}
</span>
<span class="article-bts">
<button class="article-plus btn-fade" onclick="window.open('{{path('page',{slug:item.slug})}}', '_self');" title="En savoir plus">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if ref_pages_sous_activite is defined and ref_pages_sous_activite is not empty %}
<section id="bloc-actualites" class="page-ref">
<div class="container-fluid mt-3">
<div class="row gx-5 py-2">
<div class="col-sm-12 text-center">
<h2 class="sub-title wow">Sous activités liées </h2>
</div>
<div class="col-sm-12">
<div class="list_blocs pos1">
<div class="blocs">
<section class="results dynam-affichage affichage1 type_affiche3 ">
{% for item in ref_pages_sous_activite %}
{% set duree = 0.1 %}
{% set image_item = item.image != null? asset_image(item.image):'uploads/images/' ~ parametre.imagevide %}
<div class="article wow zoomIn animated" data-wow-delay="{{duree}}s" style="visibility: visible; animation-delay: 0.1s; animation-name: zoomIn;">
<span class="article-image lazyloaded" style="background-image: url({{image_item}}); background-size: cover; background-position: center center; background-repeat: no-repeat;"> </span>
<span class="article-cnt">
<a class="article-titre" href="{{path('page',{slug:item.slug})}}" title="" >{{item.titre}}</a>
<span class="article-txt">
{{cutText(item.content)|raw}}
</span>
<span class="article-bts">
<button class="article-plus btn-fade" onclick="window.open('{{path('page',{slug:item.slug})}}', '_self');" title="En savoir plus">En savoir plus</button>
</span>
</span>
</div>
{% set duree = duree + 0.2 %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
</div>
</div>
{% endblock %}