diff --git a/packages/ui/src/layout/banners/Announcement.Countdown.tsx b/packages/ui/src/layout/banners/Announcement.Countdown.tsx index 2cb4dada4d3..d7db18938e4 100644 --- a/packages/ui/src/layout/banners/Announcement.Countdown.tsx +++ b/packages/ui/src/layout/banners/Announcement.Countdown.tsx @@ -27,6 +27,7 @@ function CountdownBanner() { const { pathname } = useRouter() const isLaunchWeekPage = pathname === '/launch-week' const isLaunchWeekSection = pathname.includes('launch-week') + const basePath = typeof window !== 'undefined' ? window.location.origin : '' const renderer = ({ days, hours, minutes, seconds, completed }: any) => { if (completed) { @@ -35,7 +36,7 @@ function CountdownBanner() {

Supabase Launch Week 7

- + Explore @@ -63,7 +64,7 @@ function CountdownBanner() {
{!isLaunchWeekPage && (
- + Get your ticket diff --git a/packages/ui/src/layout/banners/data/Announcement.json b/packages/ui/src/layout/banners/data/Announcement.json index 6d0c0443e7a..ee460e86b28 100644 --- a/packages/ui/src/layout/banners/data/Announcement.json +++ b/packages/ui/src/layout/banners/data/Announcement.json @@ -2,6 +2,6 @@ "show": true, "text": "Supabase Launch Week 7", "launchDate": "2023-04-10T07:00:00.000-07:00", - "link": "http://supabase.com/launch-week", + "link": "/launch-week", "badge": "Get your ticket" }