templates/front/productParagraph.html.twig line 1

Open in your IDE?
  1. {% for key, productParagraph in productParagraphs %}
  2.     <div class="may-160-lg may-100-md may-70-sm may-40 text-center text-md-left">
  3.         <div class="row align-items-stretch {% if loop.index is odd %}flex-row-reverse{% endif %}">
  4.             <div data-aos="fade-{% if loop.index is odd %}left{% else%}right{% endif %}"  data-aos-duration="800"  class="col-md-5 fs-15 fw-500 pay-60-md pay-30 d-flex align-items-center c-8E9094 lh2-19 {% if loop.index is odd %}offset-md-1{% endif %}">
  5.                 <div>
  6.                     <h4 class="c-333333 fs-38 fw-700 mat-0 mab-35 position-relative">
  7.                         {{ productParagraph.title }}
  8.                     </h4>
  9.                     <div class="c-8E9094 fs-15 lh2-19">
  10.                         {{ productParagraph.content|raw|nl2br }}
  11.                     </div>
  12.                     {% if productParagraph.link %}
  13.                         <a class="c-9DC771 d-block mat-20 tdl-underline fw-600" href="{{ productParagraph.link }}" target="_blank">
  14.                             {{ productParagraph.linkName }}
  15.                         </a>
  16.                     {% endif %}
  17.                 </div>
  18.             </div>
  19.             <div data-aos="fade-{% if loop.index is odd %}right{% else%}left{% endif %}"  data-aos-duration="800" class="col-md-6 br-20 position-relative {% if loop.index is even %}offset-md-1{% endif %}">
  20.                 <div class="br-20 bgc-EEF2F5 position-relative pay-70 h-100 d-flex align-items-center justify-content-center pax-20 text-center">
  21.                     <img src="{{ asset('assets/img/bg_support.png') }}" alt="bg_support" class="overlay br-20  position-absolute t-0 h-100 w-100 l-0"/>
  22.                     <img src="{{ asset('assets/img/points.svg') }}" class="position-absolute grayscale2  t-40 r--20 zi-0" alt="points icon"/>
  23.                     <img src="{{ asset(vich_uploader_asset(productParagraph, 'productParagraphFile'))|imagine_filter('medium') }}"
  24.                          alt="{{ productParagraph.title }}" class=" "/>
  25.                     {#   <img src="{{ asset(vich_uploader_asset(presentationParagraph, 'presentationParagraphFile'))|imagine_filter('medium') }}"
  26.                             alt="View Point" class="br-20 "/>#}
  27.                 </div>
  28.             </div>
  29.         </div>
  30.     </div>
  31. {% endfor %}