fix card image height
This commit is contained in:
parent
0aae5777fb
commit
06a2e81c66
3 changed files with 8 additions and 8 deletions
|
|
@ -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 ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue