From f6bd0a5b1af79ca0e6b020b25b643b07b5a1c59e Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Tue, 16 Jun 2026 23:51:07 +0100 Subject: [PATCH] fix(404): redirect Go Home button to classroomio.com --- apps/dashboard/src/routes/+error.svelte | 2 +- apps/website/src/lib/components/not-found.svelte | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/dashboard/src/routes/+error.svelte b/apps/dashboard/src/routes/+error.svelte index 49d023db..9cce35b9 100644 --- a/apps/dashboard/src/routes/+error.svelte +++ b/apps/dashboard/src/routes/+error.svelte @@ -11,7 +11,7 @@ console.error('Error page:', page.url); function goHome() { - window.location.href = '/'; + window.location.href = 'https://classroomio.com'; } diff --git a/apps/website/src/lib/components/not-found.svelte b/apps/website/src/lib/components/not-found.svelte index 9bb21fad..44717f10 100644 --- a/apps/website/src/lib/components/not-found.svelte +++ b/apps/website/src/lib/components/not-found.svelte @@ -14,10 +14,6 @@ let { isOrg = false, className = '' } = $props(); function handleClick() { - if (!isOrg) { - return goto('/'); - } - return goto('https://classroomio.com'); }