templates/components/text-white-box-section-training.html.twig line 1

Open in your IDE?
  1. <div class="bg-grey">
  2.     <div class="container py-5">
  3.         <div class="row">
  4.             <div class="col-12">
  5.                 <h2 class="point light">{{ title }}</h2>
  6.             </div>
  7.         </div>
  8.         <div class="row match-height-icon-white-box g-4" data-match-height-group="icon-white-box-group">
  9.             {% for item in items %}
  10.                 <div class="col-12 col-lg-6">
  11.                     <div class="p-3 p-sm-5 bg-white icon-white-box d-flex flex-column align-items-center justify-content-between">
  12.                         <div class="{{ item.overviewBlockUrl is not empty ? 'mb-5' : ''}}">
  13.                             {{ include('@components/icon-rounded-text-training.html.twig', {
  14.                                 icon: item.overviewBlockImage.url,
  15.                                 text: item.overviewBlockTitle
  16.                             }) }}
  17.                             <div class="text-center mt-3">
  18.                                 {{ item.overviewBlockText|raw }}
  19.                             </div>
  20.                         </div>
  21.                         {% if (item.overviewBlockUrl is not empty) %}
  22.                             {{ include('@components/link.html.twig', {
  23.                                 text: item.overviewUrlTitle,
  24.                                 link: item.overviewBlockUrl|default('#')
  25.                             })}}
  26.                         {% endif %}
  27.                         {% if (item.overviewBlockUrl1 is not empty) %}
  28.                             {{ include('@components/link.html.twig', {
  29.                                 text: item.overviewUrlTitle1,
  30.                                 link: item.overviewBlockUrl1|default('#')
  31.                             })}}
  32.                         {% endif %}
  33.                     </div>
  34.                 </div>
  35.             {% endfor %}
  36.         </div>
  37.     </div>
  38. </div>