From 99f8f596a9438f6082d49d741d903b1324427e85 Mon Sep 17 00:00:00 2001 From: tree Date: Mon, 5 Feb 2024 10:07:03 +0100 Subject: [PATCH] event page: add guest count --- src/components/EventItem.astro | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/components/EventItem.astro b/src/components/EventItem.astro index 5c0b427..6b27c55 100644 --- a/src/components/EventItem.astro +++ b/src/components/EventItem.astro @@ -142,6 +142,18 @@ const status = item.confirmed } } + {ext && ext.guestCount > 0 && +
+
{ext.guestCount}
+
guests
+
+ } + {item.visitors && item.visitors > 0 && +
+
{item.visitors}
+
guests
+
+ } {/*
*/} {item.links?.rsvp &&