Skip to content
Snippets Groups Projects
Commit cc176099 authored by Melih's avatar Melih
Browse files

Villes 3 row

parent 9b252c1a
Branches
No related merge requests found
......@@ -14,11 +14,11 @@
</div>
<div class="my-12">
<h4 class="bg-[#326273] text-white w-full md:w-96 rounded-r-lg text-center md:text-end p-4 font-semibold">Toutes les villes</h4>
<div class="flex flex-wrap justify-center mt-8 gap-4 md:gap-12">
<div class="flex flex-wrap mt-8">
{% for ville in villes %}
<a href="{{ path('app_villes_show', {'id': ville.id}) }}" class="md:w-auto">
<a href="{{ path('app_villes_show', {'id': ville.id}) }}" class="flex justify-center md:w-1/3 mt-2">
<article class="bg-[#EEEEEE] hover:bg-[#5C9EAD] transition-colors duration-500 w-fit md:w-fit p-5 case">
<div class="bg-[url('{{ ville.img }}')] bg-cover w-60 md:w-60 h-60 flex items-end">
<div class="bg-[url('{{ ville.img }}')] bg-cover w-80 md:w-80 h-80 flex items-end">
<h5 class="bg-[#5C9EAD] text-[#EEEEEE] w-36 md:w-auto py-2 mb-5 md:mr-2 pr-2 text-center md:text-end rounded-r-xl">{{ ville.nom }}</h5>
<p class="hidden link" id="{{ ville.alt }}">{{ path('app_villes_show', {'id': ville.id}) }}</p>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment