fix home events grids

This commit is contained in:
isUnknown 2024-09-03 11:26:21 +02:00
parent bb1ff96462
commit 7efec15b2f
2 changed files with 20 additions and 3 deletions

View file

@ -23,12 +23,12 @@
'asc'
);
snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(0, 2)])
snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(0, 2), 'columns' => 2])
?>
<?php snippet('newsletter-section') ?>
<?php snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(2, 5)]) ?>
<?php snippet('events-grid', ['title' => 'À venir', 'events' => $orderedEvents->slice(2, 3)]) ?>
<section class="callout">
<h4><?= $site->callout() ?></h4>