From 805f53206674425b357672e4bebf49feb7e1b27d Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 2 Feb 2024 08:19:58 +0100 Subject: [PATCH] add speakers to event detail --- src/components/EventItem.astro | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/EventItem.astro b/src/components/EventItem.astro index 4ecfbcf..9bc1ba0 100644 --- a/src/components/EventItem.astro +++ b/src/components/EventItem.astro @@ -169,6 +169,28 @@ const status = item.confirmed } + + {item.speakers && +
+

Speakers

+
+ {item.speakers.map(spId => getSpeaker(spId)).map((speaker) => ( +
+
+
+
+ {speaker.name} + {speaker.refs?.twitter && + (@{speaker.refs.twitter}) + } +
+
+
+
+ ))} +
+
+ } \ No newline at end of file