✨ feat(produit.twig): Affiche le prix supplémentaire et ajoute une section pour les barnums.
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<div class="flex flex-wrap justify-center md:justify-start gap-3 w-full">
|
||||
{% if product.category != "barnums" %}
|
||||
<div class="flex items-center gap-3 bg-slate-50 px-5 py-3 rounded-2xl border border-slate-100 shadow-sm">
|
||||
<span class="text-xl md:text-2xl font-black text-slate-900 italic">+ {{ product.priceSup|format_currency('EUR') }}€</span>
|
||||
<span class="text-xl md:text-2xl font-black text-slate-900 italic">+ {{ product.priceSup|format_currency('EUR') }}</span>
|
||||
<span class="text-[9px] font-black text-slate-400 uppercase tracking-widest italic">Jour supplémentaire</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -192,7 +192,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if product.category == "barnums" %}
|
||||
<div class="border-t border-slate-100 pt-10 mb-12">
|
||||
<div class="grid grid-cols-1 gap-8">
|
||||
<div class="bg-slate-50 p-6 rounded-[2rem] border border-slate-100 flex items-center justify-between shadow-sm">
|
||||
@@ -201,6 +201,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# --- ACTIONS FINALES --- #}
|
||||
<div class="mt-auto space-y-4">
|
||||
|
||||
Reference in New Issue
Block a user