{% extends 'security/layout.html.twig' %}
{% block title %}{{ 'front.welcome'|trans({}, 'front') }}{% endblock %}
{% block stylesheets %}
{{ parent()}}
{{ encore_entry_link_tags('css/front') }}
<style>
.footer_wfo_wrapper {
display: contents
}
.get_footer_div {
margin-top: 20px;
}
.netisse_wfo_footer {
border-top: none;
}
</style>
{% endblock %}
{% block body %}
<div class="bg_outline_cnx">
<img alt="Netisse" src="{{ asset('img/outline_shape.svg') }}"/>
</div>
<div class="do_margin_home mt-47">
<div class="container ">
<div class="col-md-12 ">
{% for key, survey in surveys %}
<style>
.get_color-{{ key }}::before{
background: linear-gradient(-379deg, {{ survey.bgColor }} -73%, #F6F6F600 81%)
}
</style>
<div class="col-md-5 mr-4" style="display:inline-block">
<div class="card-nos-solution get_color-{{ key }} text-center">
{% if survey.path %}
<img src="{{ asset(uploads_directory ~ survey.path ~ '/' ~ survey.file) }}" alt="" class="img-fluid def-height" >
{% else %}
<div class="img-fluid def-height"></div>
{% endif %}
<div class="card-body text-left nopad">
<h5>
{{survey.valueText }}
</h5>
<p class="card-text">
{% if survey.description %}
{{survey.description|slice(0, 145) | raw }}
{% if survey.description|length > 145 %}...{% endif %}
{% endif %}
</p>
</div>
{% if survey.isEnable and survey.isDisplay %}
<a class="btn card-all-agence" href="{{ path('front_request_index', { 'refSuffix' : survey.refSuffix })}}" >
{{ 'front.action.know_more'|trans({}, 'front') }}
</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- COOKIES -->
{{ include('front/layouts/cookies.html.twig') }}
{{ include('front/cookies/preferences.html.twig') }}
{% endblock %}
{% block footer %}
{% set forHome = true %}
{{ include('front/layouts/footer.html.twig') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}