diff --git a/site/templates/home.php b/site/templates/home.php index 0ccc467..ace681d 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -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]) ?> - 'À venir', 'events' => $orderedEvents->slice(2, 5)]) ?> + 'À venir', 'events' => $orderedEvents->slice(2, 3)]) ?> = $site->callout() ?> diff --git a/site/templates/program.php b/site/templates/program.php index 58cb11b..763ad39 100644 --- a/site/templates/program.php +++ b/site/templates/program.php @@ -66,7 +66,7 @@ x-data="{title: 'Saisons précédentes'}" x-text="title" :class="tab === title ? 'strong' : ''" - @click="if (tab === filterTitle) { tab = 'Programme' } else { tab = title }" + @click="if (tab === title) { tab = 'Programme' } else { tab = title }" > @@ -153,6 +153,23 @@ + + + + + + + $previousSeason->title()], slots: true) ?> + + + $previousSeason->children(), 'columns' => 3]) ?> + + + + + + +