{description}
}diff --git a/src/components/EventCard.astro b/src/components/EventCard.astro
index ea12fdb..4ca0483 100644
--- a/src/components/EventCard.astro
+++ b/src/components/EventCard.astro
@@ -7,9 +7,10 @@ interface Props {
mode?: 'online' | 'in_person' | 'hybrid';
description?: string;
href: string;
+ source?: string;
}
-const { name, date, endDate, location, mode = 'in_person', description, href } = Astro.props;
+const { name, date, endDate, location, mode = 'in_person', description, href, source } = Astro.props;
const eventDate = new Date(date);
const formattedDate = eventDate.toLocaleDateString('en-US', {
@@ -24,6 +25,9 @@ const formattedTime = eventDate.toLocaleTimeString('en-US', {
const modeLabel = mode === 'online' ? 'Online' : mode === 'hybrid' ? 'Hybrid' : location ?? 'In Person';
const badgeClass = mode === 'online' ? 'badge--online' : mode === 'hybrid' ? 'badge--online' : 'badge--location';
+
+// Format source handle for display
+const sourceLabel = source ? `@${source.replace(/\.bsky\.social$/, '')}` : undefined;
---
{description}