templates/front/front_blocks/bloc-chiffres_cles.html.twig line 1

Open in your IDE?
  1. <section data-bs-version="5.1" class="numbers01 cid-sZ7VhSNzs4 {{ bloc.bloc_margin_top }} {{ bloc.bloc_margin_bottom }}"
  2.          id="numbers01-4d">
  3.     <div class="container">
  4.         {% if bloc.bloc_titre %}
  5.             <h3 class="mbr-section-title mbr-fonts-style display-2 text-center">
  6.                 <strong>{{ bloc.bloc_titre }}</strong>
  7.             </h3>
  8.         {% endif %}
  9.         {% if bloc.bloc_sstitre %}
  10.             <h4 class="mbr-section-subtitle mbr-fonts-style display-5 text-center mb-5">
  11.                 {{ bloc.bloc_sstitre }}
  12.             </h4>
  13.         {% endif %}
  14.         <div class="row justify-content-center mt-5 chiffreCle">
  15.             {% for i in 1..4 %}
  16.                 {% if (attribute(bloc, 'bloc_chiffre' ~ i) and attribute(bloc, 'bloc_chiffre' ~ i) != "") or (attribute(bloc, 'bloc_texte_chiffre' ~ i) and attribute(bloc, 'bloc_texte_chiffre' ~ i) != "") %}
  17.                     <div class="card md-pb col-12 col-md-6 col-lg-4">
  18.                         <div class="card-wrapper d-flex flex-column justify-content-center align-items-center">
  19.                             <div class="icon-wrapper">
  20.                                 <span class="mbr-iconfont m-auto mobi-mbri-up mobi-mbri"></span>
  21.                             </div>
  22.                             <div class="card-box">
  23.                                 <h4 class="card-title mbr-fonts-style mb-1 display-1">
  24.                                     <strong>{{ attribute(bloc, 'bloc_chiffre' ~ i) }}</strong></h4>
  25.                                 <h5 class="card-text mbr-fonts-style display-7">{{ attribute(bloc, 'bloc_symbole' ~ i) }}</h5>
  26.                                 <p>{{ attribute(bloc, 'bloc_texte_chiffre' ~ i) }}</p>
  27.                             </div>
  28.                         </div>
  29.                     </div>
  30.                 {% endif %}
  31.             {% endfor %}
  32.         </div>
  33.     </div>
  34. </section>