templates/frontend-eforum/_partials/modules/threeColumns.html.twig line 1

Open in your IDE?
  1. <section class="pt-5 threeColumns">
  2.     <div class="container">
  3.         {% if module.title is defined %}
  4.             <div class="row">
  5.                 <div class="col-12 text-center mb-4">
  6.                     <h2 class="text-title">{{ module.title }}</h2>
  7.                 </div>
  8.             </div>
  9.         {% endif %}
  10.         <div class="row justify-content-center mx-0">
  11.             {% if module.columns is defined and module.columns is not empty %}
  12.                 {% for column in module.columns %}
  13.                     {% if loop.index != 1 %}
  14.                         <div class="text-center d-none d-lg-block line-vertical my-2 ml-3 mr-4">&zwnj;</div>
  15.                     {% endif %}
  16.                     <div class="col-12 col-lg mb-4 mb-lg-0 px-3">
  17.                         {% if column.icon is defined %}
  18.                             <div class="icon mb-3 text-blue">
  19.                                 <span class="icon--{{ column.icon }}"></span>
  20.                             </div>
  21.                         {% endif %}
  22.                         {% if column.title is defined %}
  23.                             <h4 class="mb-3 text-blue">{{ column.title }}</h4>
  24.                         {% endif %}
  25.                         {% if column.description is defined %}
  26.                             <p>{{ column.description }}</p>
  27.                         {% endif %}
  28.                     </div>
  29.                 {% endfor %}
  30.             {% endif %}
  31.         </div>
  32.     </div>
  33. </section>