fix card image height

This commit is contained in:
isUnknown 2024-09-05 12:23:07 +02:00
parent 0aae5777fb
commit 06a2e81c66
3 changed files with 8 additions and 8 deletions

View file

@ -1,10 +1,9 @@
<div class="event-card grid__item" style="--span: <?= $span ?>">
<a class="event-card__link" href="<?= $event->url() ?>" title="Voir l'événément"></a>
<?php snippet('picture', ["file" => $event->gallery()->toFiles()->first()]) ?>
<div class="event-card__infos">
<div>
<a class="event-card__link" href="<?= $event->url() ?>" title="Voir l'événément">
<h5><?= $event->title() ?></h5>
</a>
<h5><?= $event->title() ?></h5>
<?php if ($event->isMapadoEvent() == 'true'): ?>
<?php snippet('ticket', ['link' => option('ticketingUrl') . 'event/' . $event->mapadoSlug()]) ?>
<?php endif ?>