program - ordere events

This commit is contained in:
isUnknown 2024-09-13 16:44:50 +02:00
parent 61bc24c984
commit b33cb5510d
3 changed files with 28 additions and 14 deletions

View file

@ -70,11 +70,11 @@
<section class="yellow">
<h2>Prochainement <?= $page->children()->first()->title() ?></h2>
</section>
<?php snippet('events-grid', ['events' => $nextEvents, 'columns' => 3]) ?>
<?php snippet('events-grid', ['events' => $futureEvents, 'columns' => 3]) ?>
<section class="yellow">
<h2>Événements passés</h2>
</section>
<?php snippet('events-grid', ['events' => $previousEvents, 'columns' => 3]) ?>
<?php snippet('events-grid', ['events' => $pastEvents, 'columns' => 3]) ?>
</div>
</template>