mobile responsive : home and start event
This commit is contained in:
parent
e58e630f9b
commit
dd04bac95e
14 changed files with 128 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<a class="event-card__link" href="<?= $event->url() ?>" title="Voir l'événément"></a>
|
||||
<div class="image-wrapper">
|
||||
<?php if ($event->gallery()->toFiles()->count() > 1): ?>
|
||||
<img class="image-cover" src="<?= $event->gallery()->toFiles()->first()->url() ?>" alt="">
|
||||
<img class="image-cover" src="<?= $event->gallery()->toFiles()->first()->url() ?>" alt="">
|
||||
<?php endif ?>
|
||||
<?php
|
||||
$file = $event->gallery()->toFiles()->count() > 1 ? $event->gallery()->toFiles()->nth(1) : $event->gallery()->toFiles()->first();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue