N'afficher le bouton de réservation que si un lien est fourni
This commit is contained in:
parent
5946c7b61e
commit
31648292c1
1 changed files with 4 additions and 9 deletions
|
|
@ -65,8 +65,8 @@ const now = new Date();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Action Block -->
|
<!-- Action Block -->
|
||||||
<div class="flex-shrink-0 flex items-center">
|
{event.bookingLink && (
|
||||||
{event.bookingLink ? (
|
<div class="flex-shrink-0 flex items-center">
|
||||||
<a
|
<a
|
||||||
href={event.bookingLink}
|
href={event.bookingLink}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
@ -76,13 +76,8 @@ const now = new Date();
|
||||||
<Icon name="lucide:ticket" size={18} />
|
<Icon name="lucide:ticket" size={18} />
|
||||||
Réserver
|
Réserver
|
||||||
</a>
|
</a>
|
||||||
) : (
|
</div>
|
||||||
<div class="w-full md:w-auto flex items-center justify-center gap-2 border-2 border-dashed border-night/10 text-night/30 px-6 py-3 md:px-8 md:py-4 rounded-full font-sans text-sm font-bold uppercase tracking-widest italic">
|
)}
|
||||||
<Icon name="lucide:info" size={16} />
|
|
||||||
Sur place
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Affiche -->
|
<!-- Affiche -->
|
||||||
{spectacle?.affiche && (
|
{spectacle?.affiche && (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue