templates/category_seance/show.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     {{ encore_entry_link_tags('seance-page', null, 'studio_build') }}
  5.     {{ encore_entry_link_tags('faq', null, 'studio_build') }}
  6.     {{ encore_entry_link_tags('masonryCss', null, 'studio_build') }}
  7. {% endblock %}
  8. {% block title %}Seance
  9. {% endblock %}
  10. {% block content %}
  11.     <section class="mt-75">
  12.         <div class="container-fluid">
  13.             <div class="row">
  14.                 <div class="col-md-4 thumbnail  p-0">
  15.                     <img class="img-illustration" src="{{asset('studio_build/images/category/' ~ category_seance.image, 'studio_build') }}" alt="logo-ub-photographies">
  16.                 </div>
  17.                 <div class="col-md-8 pt-50 p-50">
  18.                     <h1 class="mb-1 pb-0">Séance
  19.                         {{ category_seance.label }}</h2>
  20.                     <p class="fst-italic">{{ category_seance.subtitle}}<br></p>
  21.                     <div class="row text-center">
  22.                         <div class="col-md-12 pb-1 text-start">
  23.                             <hr>
  24.                             <p>
  25.                                 {{ category_seance.presentation|raw }}<br>
  26.                             </p>
  27.                             <hr>
  28.                         </div>
  29.                         {% for seance in seances%}
  30.                             <div class="col-md-6">
  31.                                 <div class="card bg-indigo shadow mb-5">
  32.                                     <div class="card-body">
  33.                                         <div class="card-header mb-3 bg-indigo">
  34.                                             <h5 class="card-title">Séance
  35.                                                 {{ seance.label }}</h5>
  36.                                         </div>
  37.                                         {% if seance.prix  is not null %}
  38.                                             <p class="text-price">{{ seance.prix }}
  39.                                                 €</p>
  40.                                         {% endif %}
  41.                                         <p class="glycine">Ce que comprend la séance</p>
  42.                                         <ul class="text-start">
  43.                                             {% if seance.nombrePhotoCouleur is not null %}
  44.                                                 <li>
  45.                                                     {{ seance.nombrePhotoCouleur }}
  46.                                                     Photos HD couleurs
  47.                                                 </li>
  48.                                             {% endif %}
  49.                                             {% if seance.nombrePhotoNb is not null %}
  50.                                                 <li>
  51.                                                     {{ seance.nombrePhotoNb }}
  52.                                                     Photos HD noir et blanc
  53.                                                 </li>
  54.                                             {% endif %}
  55.                                             {% if seance.nombreTirage is not null %}
  56.                                                 <li>
  57.                                                     {{ seance.nombreTirage }}
  58.                                                     Tirages
  59.                                                 </li>
  60.                                             {% endif %}
  61.                                         </ul>
  62.                                         <p>
  63.                                             <span class="fs-5">{{ seance.duree }}
  64.                                             </span>
  65.                                         </p>
  66.                                     </div>
  67.                                 </div>
  68.                             </div>
  69.                         {% endfor %}
  70.                     </div>
  71.                     <div class="row">
  72.                         {% if  category_seance.reservationLink is not null %}
  73.                             <div class="col-md-12">
  74.                                 <a href="{{ category_seance.reservationLink }}" target="_blank" class=" btn btn-primary p-3 btn-md ">Réservez dès maintenant</a>
  75.                             </div>
  76.                         {% endif %}
  77.                         {% if images is not empty %}
  78.                             <div class="col-md-12 mt-20">
  79.                                 <h5>Voir le portfolio</h5>
  80.                                 <a href="#portfolio" class="m-3 w-50">
  81.                                     <i class="fa-solid fa-circle-arrow-down fa-2x"></i>
  82.                                 </a>
  83.                             </div>
  84.                         {% endif %}
  85.                     </div>
  86.                 </div>
  87.             </div>
  88.         </div>
  89.         {% include "category_seance/faq.html.twig" %}
  90.         {% include "category_seance/portfolio.html.twig" %}
  91.     </section>
  92.     {% block javascripts %}
  93.         {{ parent() }}
  94.         {{ encore_entry_script_tags('masonry' , null, 'studio_build') }}
  95.     {% endblock %}
  96. {% endblock %}