templates/team.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Tracol{% endblock %}
  3. {% block body %}
  4.     <div class="container-fluid teams">
  5.         {% for teamCategory in teamCategories %}
  6.             <div class="col-lg-8 mx-auto row list-categories">
  7.                 <div class="col-md-4">
  8.                     <div class="col-lg-12" style="display: flex;flex-direction: column;">
  9.                         <div class="col-lg-12 tracol-wrap" style="display: flex;">
  10.                             <div id="section-1-tracol" class="tracol-title">
  11.                                 <svg xmlns="http://www.w3.org/2000/svg" width="9.089" height="14.77" viewBox="0 0 9.089 14.77">
  12.                                     <path id="TracĂ©_76" data-name="TracĂ© 76" d="M682.759,232.441h-9.089v14.77l9.089-1.931Z" transform="translate(-673.669 -232.441)" fill="#f6a400"/>
  13.                                 </svg>
  14.                                 <h1 class="project-title">{{ teamCategory.0.categoryName }} <div class="separe"></div></h1>
  15.                                 <div class="col-md-8 tracol-content">{{ teamCategory.0.categoryContent|raw }}</div>
  16.                             </div>
  17.                         </div>
  18.                     </div>
  19.                 </div>
  20.                 <div class="col-md-8 row">
  21.                     {% for member in teamCategory %}
  22.                         <div class="col-md-6">
  23.                             <div class="img-team" style="background:
  24.                                     {% if member.path %}
  25.                                         url({{ asset('uploads/images/' ~ member.path ) }})no-repeat center
  26.                                     {% else %}
  27.                                         url('https://tracol.lu/uploads/images/services-tracol-61c0b8e7c7110402238276.jpeg')no-repeat center
  28.                                     {% endif %}
  29.                                     ;background-size:cover"></div>
  30.                             <div class="infos-member">
  31.                                 <span>{{ member.fonction }}</span><br>
  32.                                 <span>{{ member.memberName }}</span>
  33.                             </div>
  34.                             <div class="description-team">{{ member.memberContent|raw }}</div>
  35.                         </div>
  36.                     {% else %}
  37.                         <p>Aucune personne pour le moment.</p>
  38.                     {% endfor %}
  39.                 </div>
  40.             </div>
  41.         {% endfor %}
  42.     </div>
  43. {% endblock %}