{% set isBtnLink = isBtnLink|default %}
{% for key, paragraph in paragraphs %}
<section class="position-relative pay-120-lg pay-80 {{ loop.index is even ? "bgc-F7F6F2" }}">
{% if not loop.first %}
<div class="container position-absolute container-points t-0 r-0 l-0 m-auto">
<img src="{{ asset('assets/img/points.svg') }}" alt="image points"/>
</div>
{% endif %}
<div class="container">
{% include (paragraph.isFade ? "front/paragraphFade.html.twig" : "front/paragraph.html.twig") with {
'img':asset(vich_uploader_asset(paragraph, vichFile))|imagine_filter('medium'),
"title":paragraph.title,
"subtitle":paragraph.subtitle,
"content":paragraph.description,
"btnUrl":(isBtnLink ? paragraph.btnUrl : null),
"btnTitle":(isBtnLink ? paragraph.btnTitle : null),
} %}
</div>
</section>
{% endfor %}