{% set parametre = ParametreSite() %}
<section id="widget-{{widget.id}}" class="sec-content presentation-home espace-p-top espace-p-bottom text-center" {% if widget.bgimage is defined and widget.bgimage != null %}style="background-image:url({{asset_image(widget.bgimage,'large')}})" {% elseif widget.bgcolor is defined and widget.bgcolor != null %} style="background-color:{{widget.bgcolor}}"{% endif %}>
<div class="container-fluid wrapper">
<div class="row">
<div class="col-md-12">
{% if parametre.actiftitre == true %}
<div class="titre_site">{{parametre.titre}}</div>
{% endif %}
{% if widget.subTitle != "" %}
<div class="sub-title wow fadeInUp" data-wow-delay="0.1s">{{widget.subTitle|raw}}</div>
{% endif %}
{% if widget.description is not empty %}
<div class="texte-content wow fadeInUp" data-wow-delay="0.2s">
{{widget.description|raw}}
</div>
{% endif %}
{% if widget.typelien is not empty and widget.typelien != 1 and widget.buttonlabel is not empty %}
{% if widget.typelien == 2 %}
<div class="bouton-home text-center">
<button class="btn-back-pulse" onclick="window.location.href = '{{slug_link_interne(widget.lieninterne)}}';" title="{{widget.buttonlabel}}">{{widget.buttonlabel}}</button>
</div>
{% elseif widget.typelien == 3 %}
<div class="bouton-home text-center">
<button class="btn-back-pulse" onclick="window.open('{{widget.lienexterne}}','_blank');" title="{{widget.buttonlabel}}">{{widget.buttonlabel}}</button>
</div>
{% elseif widget.typelien == 4 %}
<div class="bouton-home text-center">
<a class="btn-back-pulse" href="tel:{{widget.telephone}}" title="{{widget.buttonlabel}}">{{widget.buttonlabel}}</a>
</div>
{% endif %}
{% endif %}
</div>
</div>
</div>
</section>