2024-07-31 07:19:10 +02:00
|
|
|
<div class="event-card grid__item" style="--span: <?= $span ?>">
|
2024-09-13 17:12:49 +02:00
|
|
|
<a class="event-card__link" href="<?= $event->url() ?>"></a>
|
2024-09-05 12:37:46 +02:00
|
|
|
<div class="image-wrapper">
|
|
|
|
|
<?php if ($event->gallery()->toFiles()->count() > 1): ?>
|
2024-09-10 15:23:24 +02:00
|
|
|
<img class="image-cover" src="<?= $event->gallery()->toFiles()->first()->url() ?>" alt="">
|
2024-09-05 12:37:46 +02:00
|
|
|
<?php endif ?>
|
2024-09-06 13:58:37 +02:00
|
|
|
<?php
|
|
|
|
|
$file = $event->gallery()->toFiles()->count() > 1 ? $event->gallery()->toFiles()->nth(1) : $event->gallery()->toFiles()->first();
|
|
|
|
|
snippet('picture', ["file" => $file]);
|
|
|
|
|
?>
|
2024-09-05 12:37:46 +02:00
|
|
|
</div>
|
2024-09-04 16:09:25 +02:00
|
|
|
<div class="event-card__infos">
|
|
|
|
|
<div>
|
2024-09-05 12:23:07 +02:00
|
|
|
<h5><?= $event->title() ?></h5>
|
2024-09-04 16:09:25 +02:00
|
|
|
<?php if ($event->isMapadoEvent() == 'true'): ?>
|
|
|
|
|
<?php snippet('ticket', ['link' => option('ticketingUrl') . 'event/' . $event->mapadoSlug()]) ?>
|
|
|
|
|
<?php endif ?>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="event-card__authors">
|
|
|
|
|
<?= $event->authors() ?>
|
2024-07-31 08:50:49 +02:00
|
|
|
</div>
|
2024-09-04 16:09:25 +02:00
|
|
|
<p><?= $event->schedule() ?></p>
|
2024-07-31 07:19:10 +02:00
|
|
|
</div>
|
2024-09-04 16:09:25 +02:00
|
|
|
</div>
|
2024-07-30 19:03:01 +02:00
|
|
|
</div>
|