templates/web/sections/section_prestations.html.twig line 1

Open in your IDE?
  1. {# {{ dump('prestations') }} #}
  2. {# {{ dump(data) }} #}
  3. <section class="section-prestations text-center">
  4.     <div class="container">
  5.         <div class="block-narrow"   data-aos="fade-up" data-aos-offset="400" data-aos-duration="800">
  6.             <h2 class="section-title">{{ data.entity.headline|raw }}</h2>
  7.             <div class="section-subtitle__text-wrap mb-5"> {{ data.entity.text|raw }}</div>
  8.         </div>
  9.         {% include '@web/components/prestations.html.twig'
  10.             with { 'data' : data }
  11.             only %}
  12.         {# <div class="row g-0 prestations-wrapper"> #}
  13.         {# {% for item in data.data %} #}
  14.         {# <div class="col-md-4 prestation-image-wrap"> #}
  15.         {# {% include '@web/components/picture.html.twig' #}
  16.         {# with { 'mediaObject': item.primaryImage } %} #}
  17.         {# </div> #}
  18.         {# <div class="col-md-4 prestation-text-wrap"> #}
  19.         {# <div class="icon-wrap"> #}
  20.         {# {% include '@web/components/svg/' ~ item.icon ~ '.html.twig' %} #}
  21.         {# </div> #}
  22.         {# <h3 class="prestation-title">{{ item.headline }}</h3> #}
  23.         {# <p class="prestation-text">{{ item.articleResume }}</p> #}
  24.         {# <p class="prestation-text"> #}
  25.         {# Le contractant général organise et planifie le chantier pour son client, mais il n’interfère pas #}
  26.         {# dans la relation commerciale de ce dernier avec les entreprises exécutantes. #}
  27.         {# </p> #}
  28.         {# <p class="page-link-wrap mt-3"> #}
  29.         {# <a href="{{ path('web_prestation_show', {'slug': data.data[0].slug }) }}" #}
  30.         {# class="page-link-wrap__link">en savoir plus</a>EN SAVOIR PLUS #}
  31.         {# </p> #}
  32.         {# </div> #}
  33.         {# {% endfor %} #}
  34.         {# #}{# UNE PRÉSTATION #}
  35.         {# <div class="col-md-4 prestation-image-wrap"> #}
  36.         {# {% include '@web/components/picture.html.twig' #}
  37.         {# with { 'mediaObject': data.data[3].primaryImage } %} #}
  38.         {# </div> #}
  39.         {# <div class="col-md-4 prestation-text-wrap"> #}
  40.         {# <div class="prestation-text-wrap__head"> #}
  41.         {# <div class="icon-wrap"> #}
  42.         {# {% include '@web/components/svg/' ~ data.data[3].icon ~ '.html.twig' %} #}
  43.         {# </div> #}
  44.         {# <h3 class="prestation-title">{{ data.data[3].headline }}</h3> #}
  45.         {# </div> #}
  46.         {# <div class="prestation-text-wrap__content"> #}
  47.         {# <p class="prestation-text">{{ data.data[3].articleResume }}</p> #}
  48.         {# <p class="page-link-wrap mt-3"> #}
  49.         {# <a href="{{ path('web_prestation_show', {'slug': data.data[3].slug }) }}" #}
  50.         {# class="page-link-wrap__link">en savoir plus</a> #}
  51.         {# </p> #}
  52.         {# </div> #}
  53.         {# </div> #}
  54.         {# #}{# UNE PRÉSTATION #}
  55.         {# <div class="col-md-4 prestation-image-wrap"> #}
  56.         {# {% include '@web/components/picture.html.twig' #}
  57.         {# with { 'mediaObject': data.data[0].primaryImage } %} #}
  58.         {# </div> #}
  59.         {# <div class="col-md-4 prestation-text-wrap"> #}
  60.         {# <div class="prestation-text-wrap__head"> #}
  61.         {# <div class="icon-wrap"> #}
  62.         {# {% include '@web/components/svg/' ~ data.data[0].icon ~ '.html.twig' %} #}
  63.         {# </div> #}
  64.         {# <h3 class="prestation-title">{{ data.data[0].headline }}</h3> #}
  65.         {# </div> #}
  66.         {# <div class="prestation-text-wrap__content"> #}
  67.         {# <p class="prestation-text">{{ data.data[0].articleResume }}</p> #}
  68.         {# <p class="page-link-wrap mt-3"> #}
  69.         {# <a href="{{ path('web_prestation_show', {'slug': data.data[0].slug }) }}" #}
  70.         {# class="page-link-wrap__link">en savoir plus</a> #}
  71.         {# </p> #}
  72.         {# </div> #}
  73.         {# </div> #}
  74.         {# #}{# UNE PRÉSTATION #}
  75.         {# <div class="col-md-4 prestation-image-wrap"> #}
  76.         {# {% include '@web/components/picture.html.twig' #}
  77.         {# with { 'mediaObject': data.data[1].primaryImage } %} #}
  78.         {# </div> #}
  79.         {# <div class="col-md-4 prestation-text-wrap"> #}
  80.         {# <div class="prestation-text-wrap__head"> #}
  81.         {# <div class="icon-wrap"> #}
  82.         {# {% include '@web/components/svg/' ~ data.data[1].icon ~ '.html.twig' %} #}
  83.         {# </div> #}
  84.         {# <h3 class="prestation-title">{{ data.data[1].headline }}</h3> #}
  85.         {# </div> #}
  86.         {# <div class="prestation-text-wrap__content"> #}
  87.         {# <p class="prestation-text">{{ data.data[1].articleResume }}</p> #}
  88.         {# <p class="page-link-wrap mt-3"> #}
  89.         {# <a href="{{ path('web_prestation_show', {'slug': data.data[1].slug }) }}" #}
  90.         {# class="page-link-wrap__link">en savoir plus</a> #}
  91.         {# </p> #}
  92.         {# </div> #}
  93.         {# </div> #}
  94.         {# </div> #}
  95.     </div><!-- /container -->
  96. </section>