templates/main/skills.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block content %}
  3.     <div class="portfolio-main">
  4.         <div class="portfolio-skills">
  5.             <h1 class="title-content-portfolio">{{ h1 }}</h1>
  6.             <ul class="tabs">
  7.                 {% for category in categories %}
  8.                     <li class="tab col s3"><a href="#{{ category.getUrlFormatName }}">{{ category.nom }}</a></li>
  9.                 {% endfor %}
  10.             </ul>
  11.             {% for category in categories %}
  12.                 <div id="{{ category.getUrlFormatName }}" class="contentTabsSkills col s12">
  13.                     {% if category.skills %}
  14.                         <div class="flexWrap">
  15.                             {% for skill in category.skills %}
  16.                                 <div class="card">
  17.                                     <div class="card-image">
  18.                                         <img src="{{ asset(skill.getAssetImage) }}">
  19.                                     </div>
  20.                                     <div class="card-content">
  21.                                         <p>{{ skill.titre }}</p>
  22.                                     </div>
  23.                                 </div>
  24.                             {% endfor %}
  25.                         </div>
  26.                     {% endif %}
  27.                 </div>
  28.             {% endfor %}
  29.         </div>
  30.     </div>
  31.     <script>
  32.     </script>
  33. {% endblock %}