diff --git a/src/components/EventCard.astro b/src/components/EventCard.astro index 4ca0483..341bfd7 100644 --- a/src/components/EventCard.astro +++ b/src/components/EventCard.astro @@ -17,10 +17,12 @@ const formattedDate = eventDate.toLocaleDateString('en-US', { weekday: 'short', month: 'short', day: 'numeric', + timeZone: 'UTC', }); const formattedTime = eventDate.toLocaleTimeString('en-US', { hour: 'numeric', minute: '2-digit', + timeZone: 'UTC', }); const modeLabel = mode === 'online' ? 'Online' : mode === 'hybrid' ? 'Hybrid' : location ?? 'In Person'; @@ -33,7 +35,7 @@ const sourceLabel = source ? `@${source.replace(/\.bsky\.social$/, '')}` : undef

- +

{name}

{description &&

{description}

} diff --git a/src/components/Header.astro b/src/components/Header.astro index f83a7bb..4bc75a0 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,10 +1,10 @@ --- const navLinks = [ - { href: `${import.meta.env.BASE_URL}/`, label: 'Home' }, - { href: `${import.meta.env.BASE_URL}/about`, label: 'About' }, - { href: `${import.meta.env.BASE_URL}/community-content`, label: 'Content' }, - { href: `${import.meta.env.BASE_URL}/events`, label: 'Events' }, - { href: `${import.meta.env.BASE_URL}/communities`, label: 'Communities' }, + { href: '/', label: 'Home' }, + { href: '/about', label: 'About' }, + { href: '/community-content', label: 'Content' }, + { href: '/events', label: 'Events' }, + { href: '/communities', label: 'Communities' }, ]; const currentPath = Astro.url.pathname; @@ -12,7 +12,7 @@ const currentPath = Astro.url.pathname;