From 4d92e0aeed8dbf14fa36b5635a578bfc469773b4 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Sun, 15 Feb 2026 19:25:54 -0500 Subject: [PATCH] refactor: migrate auth pages to new design system Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/ChangePasswordPage.tsx | 34 ++++++------- frontend/src/pages/LoginPage.tsx | 34 ++++++------- frontend/src/pages/RegisterPage.tsx | 62 +++++++++++------------ frontend/src/pages/ResetPasswordPage.tsx | 38 +++++++------- 4 files changed, 84 insertions(+), 84 deletions(-) diff --git a/frontend/src/pages/ChangePasswordPage.tsx b/frontend/src/pages/ChangePasswordPage.tsx index 9dda8f43..cc711bff 100644 --- a/frontend/src/pages/ChangePasswordPage.tsx +++ b/frontend/src/pages/ChangePasswordPage.tsx @@ -66,7 +66,7 @@ export function ChangePasswordPage() { -

+

Change Password

{isForced && ( @@ -77,7 +77,7 @@ export function ChangePasswordPage() {
-
+
{error && (
{error} @@ -85,7 +85,7 @@ export function ChangePasswordPage() { )}
-
-
-
-

+

ResolutionFlow

-

+

Decision Tree Platform

-

+

Sign in to your account

-
+
{(error || localError) && (
{localError || error} @@ -71,7 +71,7 @@ export function LoginPage() { )}
-
-
- + Forgot password?
@@ -124,8 +124,8 @@ export function LoginPage() { disabled={isLoading} className={cn( 'w-full rounded-xl px-4 py-2.5 text-sm font-semibold btn-press', - 'bg-white text-black hover:bg-white/90', - 'focus:outline-none focus:ring-2 focus:ring-white/30 focus:ring-offset-2 focus:ring-offset-black', + 'bg-gradient-brand text-white shadow-lg shadow-primary/20 hover:opacity-90', + 'focus:outline-none focus:ring-2 focus:ring-primary/30 focus:ring-offset-2 focus:ring-offset-black', 'disabled:cursor-not-allowed disabled:opacity-50', 'transition-all' )} @@ -134,9 +134,9 @@ export function LoginPage() {
-

+

Don't have an account?{' '} - + Register

diff --git a/frontend/src/pages/RegisterPage.tsx b/frontend/src/pages/RegisterPage.tsx index 179bc0e0..263a2c96 100644 --- a/frontend/src/pages/RegisterPage.tsx +++ b/frontend/src/pages/RegisterPage.tsx @@ -87,19 +87,19 @@ export function RegisterPage() {
-

+

ResolutionFlow

-

+

Decision Tree Platform

-

+

Create your account

-
+
{(error || localError) && (
{localError || error} @@ -107,7 +107,7 @@ export function RegisterPage() { )}
-
-
-
-
-
-

+

Already have an account?{' '} - + Sign in

diff --git a/frontend/src/pages/ResetPasswordPage.tsx b/frontend/src/pages/ResetPasswordPage.tsx index 248e90c3..b083d4aa 100644 --- a/frontend/src/pages/ResetPasswordPage.tsx +++ b/frontend/src/pages/ResetPasswordPage.tsx @@ -82,24 +82,24 @@ export function ResetPasswordPage() {
-

+

Reset Password

{verifying ? ( -
-

Verifying reset link...

+
+

Verifying reset link...

) : !token || !valid ? ( -
+
This reset link is invalid or has expired. Please request a new one.
Request new reset link @@ -107,10 +107,10 @@ export function ResetPasswordPage() {
) : ( -
+
{email && ( -

- Resetting password for {email} +

+ Resetting password for {email}

)} @@ -121,7 +121,7 @@ export function ResetPasswordPage() { )}
-
-