diff --git a/assets/css/src/nav.css b/assets/css/src/nav.css index c0f3032..368ab80 100644 --- a/assets/css/src/nav.css +++ b/assets/css/src/nav.css @@ -11,12 +11,12 @@ overflow: hidden; white-space: nowrap; border-bottom: var(--border); + background-color: var(--color-mint); } .info-banner ul { box-sizing: border-box; padding: 1rem var(--space-m); - background-color: var(--color-mint); display: inline-block; animation: scroll-left 12s linear infinite; } diff --git a/site/controllers/program.php b/site/controllers/program.php index 9286ece..8745e19 100644 --- a/site/controllers/program.php +++ b/site/controllers/program.php @@ -51,7 +51,6 @@ return function($page) { $nextEvents = new Pages(); $currentSeasonSessions = []; - $previousSeasons = $page->children()->without($currentSeason); foreach ($currentSeason->children() as $event) { $sessions = $event->isMapadoEvent() == 'true' ? $event->remoteSessions() : $event->sessions(); @@ -78,7 +77,6 @@ return function($page) { return [ 'previousEvents' => $previousEvents, 'nextEvents' => $nextEvents, - 'currentSeasonSessions' => sortByMonth($currentSeasonSessions), - 'previousSeasons' => $previousSeasons, + 'currentSeasonSessions' => sortByMonth($currentSeasonSessions) ]; }; \ No newline at end of file diff --git a/site/snippets/info-banner.php b/site/snippets/info-banner.php index f11882d..42f9e34 100644 --- a/site/snippets/info-banner.php +++ b/site/snippets/info-banner.php @@ -1,43 +1,41 @@
\ No newline at end of file diff --git a/site/templates/program.php b/site/templates/program.php index 4d2925c..8f9580e 100644 --- a/site/templates/program.php +++ b/site/templates/program.php @@ -62,12 +62,6 @@ :class="tab === filterTitle ? 'strong' : ''" @click="if (tab === filterTitle) { tab = 'Programme' } else { tab = filterTitle; filter = title }" > -