From 91143a497be7830c150c25c20e9a952f769be420 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:30:37 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(questions):=20unify=20auth=20p?= =?UTF-8?q?ages=20with=20shared=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Questions branding to shared-branding package (logo, colors) - Create QuestionsLogo.svelte component - Refactor login page to use shared LoginPage component - Refactor register page to use shared RegisterPage component - Refactor forgot-password page to use shared ForgotPasswordPage component - Fix Svelte 5 class: directive on components (+page.svelte) The Questions app now uses the same auth UI as Calendar, Chat, and other apps. --- .../apps/web/src/routes/(app)/+page.svelte | 5 +- .../(auth)/forgot-password/+page.svelte | 95 +++-------- .../web/src/routes/(auth)/login/+page.svelte | 113 ++++++-------- .../src/routes/(auth)/register/+page.svelte | 147 ++++-------------- packages/shared-branding/src/config.ts | 13 ++ packages/shared-branding/src/index.ts | 1 + .../src/logos/QuestionsLogo.svelte | 13 ++ packages/shared-branding/src/logos/index.ts | 1 + packages/shared-branding/src/types.ts | 3 +- 9 files changed, 136 insertions(+), 255 deletions(-) create mode 100644 packages/shared-branding/src/logos/QuestionsLogo.svelte diff --git a/apps/questions/apps/web/src/routes/(app)/+page.svelte b/apps/questions/apps/web/src/routes/(app)/+page.svelte index dcf246626..5895f197c 100644 --- a/apps/questions/apps/web/src/routes/(app)/+page.svelte +++ b/apps/questions/apps/web/src/routes/(app)/+page.svelte @@ -142,8 +142,9 @@
Enter your email to receive a reset link
-- We've sent a password reset link to {email}. Please check your inbox. -
- Back to login -Sign in to your account
-Create your account
-- We've sent a verification link to {email}. Please check your inbox and - click the link to verify your account. -
- Back to login -