diff --git a/frontend/src/lib/components/Sidebar.svelte b/frontend/src/lib/components/Sidebar.svelte index 2952e03..36626dd 100644 --- a/frontend/src/lib/components/Sidebar.svelte +++ b/frontend/src/lib/components/Sidebar.svelte @@ -68,10 +68,19 @@ @@ -143,6 +152,18 @@ background: #3730a3; color: #e0e7ff; } + .nav-item-form { + margin: 0 0.3rem; + } + .nav-item-button { + font-family: inherit; + background: none; + border: none; + box-sizing: border-box; + text-align: left; + cursor: pointer; + width: 100%; + } .nav-item.active { background: #4338ca; color: #fff; diff --git a/frontend/src/routes/[fam]/+error.svelte b/frontend/src/routes/[fam]/+error.svelte index 3e24f0c..edc2c99 100644 --- a/frontend/src/routes/[fam]/+error.svelte +++ b/frontend/src/routes/[fam]/+error.svelte @@ -6,13 +6,44 @@

Something went wrong

{error?.message || 'An unexpected error occurred.'}

-

Try logging out and signing in again.

+
+ Try +
+ +
+ and signing in again. +
diff --git a/frontend/src/routes/logout/+page.server.ts b/frontend/src/routes/logout/+page.server.ts index 25919fb..04e39c4 100644 --- a/frontend/src/routes/logout/+page.server.ts +++ b/frontend/src/routes/logout/+page.server.ts @@ -6,11 +6,6 @@ function signOut(event: { cookies: any }) { clearLegacyCookies(event.cookies); } -export function load(event) { - signOut(event); - throw redirect(303, '/'); -} - export const actions = { default: (event) => { signOut(event);