From eadb567069a4da2e08ace2dbc23ecbe92d69cf86 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sun, 31 Aug 2025 22:06:37 +0200 Subject: [PATCH] Fix blank white pages by adding Nord theme styling to auth endpoints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Nord theme CSS variables to login and logout pages - Use --nord1 background and --nord4 text colors to match site theme - Eliminates jarring white flash during authentication flow - Maintains professional appearance and brand consistency - Endpoints now blend seamlessly with site's dark theme 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/routes/login/+server.ts | 17 ++++++++++++++++- src/routes/logout/+server.ts | 17 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/routes/login/+server.ts b/src/routes/login/+server.ts index da37db3..3bd99ba 100644 --- a/src/routes/login/+server.ts +++ b/src/routes/login/+server.ts @@ -3,12 +3,27 @@ import type { RequestHandler } from './$types'; export const GET: RequestHandler = async ({ url }) => { const callbackUrl = url.searchParams.get('callbackUrl') || '/'; - // Create a minimal page that immediately triggers auth in the same window + // Create a minimal page with site styling that immediately triggers auth const html = ` Login +
diff --git a/src/routes/logout/+server.ts b/src/routes/logout/+server.ts index 301b302..7ff65da 100644 --- a/src/routes/logout/+server.ts +++ b/src/routes/logout/+server.ts @@ -3,12 +3,27 @@ import type { RequestHandler } from './$types'; export const GET: RequestHandler = async ({ url }) => { const callbackUrl = url.searchParams.get('callbackUrl') || '/'; - // Create a minimal page that immediately triggers logout in the same window + // Create a minimal page with site styling that immediately triggers logout const html = ` Logout +