diff --git a/src/components/EventsPage.astro b/src/components/EventsPage.astro index 3715122..4126e8f 100644 --- a/src/components/EventsPage.astro +++ b/src/components/EventsPage.astro @@ -97,15 +97,16 @@ places = places.sort((x, y) => x.num < y.num ? 1 : -1) - {upcoming.length > 0} -
-

Upcoming {title} ({upcoming.length})

-
- {upcoming.map((event) => ( - - ))} + {upcoming.length > 0 && +
+

Upcoming {title} ({upcoming.length})

+
+ {upcoming.map((event) => ( + + ))} +
-
+ } {pastTotal > 0 &&