add ticket animation / link

This commit is contained in:
isUnknown 2024-07-31 07:59:51 +02:00
parent be549bba16
commit 8a1f9370dd
11 changed files with 89 additions and 7 deletions

View file

@ -3,10 +3,12 @@
<div class="event-card__infos">
<div>
<h5><?= $event->title() ?></h5>
<?= svg('assets/images/icons/ticket.svg') ?>
<?php if ($event->isMapadoEvent() == 'true'): ?>
<?php snippet('ticket', ['link' => 'https://cdn-besancon.mapado.com/event/' . $event->mapadoSlug()]) ?>
<?php endif ?>
</div>
<div>
<p class="event-card__authors"><?= $event->authors() ?></p>
<div class="event-card__authors"><?= $event->authors() ?></div>
<p><?= $event->schedule() ?></p>
</div>
</div>