templates/pages/thematiques/thematiques.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/front/basethematiques.html.twig' %}
  2. {% block title %}{{ parametres.structure ? parametres.structure.name : company_name }} | {{ title }}{% endblock %}
  3. {% block body %}
  4.     {% for thematique in thematiques %}
  5.     <!-- start parallax section -->
  6.     <section class="p-0 parallax sm-background-image-center cover-background" data-stellar-background-ratio="0.5" style="background-image:url(
  7.     {% if thematique.filename %}
  8.         {{ vich_uploader_asset(thematique, 'imageFile') | imagine_filter('thematiques_large') }}
  9.     {% else %}
  10.         {{ asset('assetics/internes/images/empty.jpg') | imagine_filter('thematiques_large') }}
  11.     {% endif %}
  12.     );">
  13.         <div class="container-fluid one-third-screen position-relative lg-height-600px md-height-700px sm-height-450px">
  14.             <div class="slider-typography">
  15.                 <div class="slider-text-middle-main">
  16.                     <div class="slider-text-bottom text-left padding-70px-left sm-padding-15px-all">
  17.                         <span class="alt-font text-uppercase font-weight-600 text-extra-small text-black letter-spacing-1 margin-25px-bottom sm-no-margin-bottom d-table d-md-block md-opacity10 parallax-category-text">{{ thematique.laus }}</span>
  18.                         <a href="{{ path('articles.index', {'id': thematique.id, 'slug': thematique.slug}) }}" class="text-extra-large alt-font text-extra-dark-gray bg-white parallax-title mb-0">{{ thematique.name }}</a>
  19.                         <div class="clear-both"></div>
  20.                         <a href="{{ path('articles.index', {'id': thematique.id, 'slug': thematique.slug}) }}" class="btn btn-black btn-very-small margin-70px-bottom sm-no-margin-bottom">Découvrir</a>
  21.                     </div>
  22.                 </div>
  23.             </div>
  24.         </div>
  25.     </section>
  26.     <!-- end parallax section -->
  27.     {% endfor %}
  28. {% endblock %}