set front

This commit is contained in:
jleroy2023
2024-11-18 14:41:52 +01:00
parent 9bdde39dde
commit 8f75b8a125
30 changed files with 2650 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
{% extends 'base.html.twig' %}
{% block title %}Liste des sorties | {{ parent() }}{% endblock %}
{% block body %}
<section class="flex flex-row justify-center flex-wrap mx-auto p-6">
<div class="m-2 w-full lg:w-5/6 sm:w-full">
{% include 'outing/search.html.twig' with {'formSearch':formSearch} only %}
</div>
{% if outings|length == 0 %}
<h2 class="w-full text-3xl mt-5 text-center font-extrabold text-black sm:text-4xl">Aucune sortie ne correspond à
votre
recherche</h2>
{% else %}
<section class="flex flex-row justify-center flex-wrap mx-auto p-6 lg:px-32">
{% for outing in outings %}
{% include 'outing/card.html.twig' with {'outing': outing} %}
{% endfor %}
</section>
{% endif %}
</section>
{% endblock %}