From 3a8e3a1607e0ee57e99c4c6fd8d4c74da4fb2c5c Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Sun, 9 Nov 2025 08:29:42 +0800 Subject: [PATCH] feat: Redesign login page with split-screen cinematic layout Major redesign of authentication page: Left Side (40% width): - Full-height gradient background using primary theme color - Large TERMIX logo with glow effect - Subtitle and tagline - Infinite animated ripple waves (3 layers) - Hidden on mobile, shows brand identity Right Side (60% width): - Centered glassmorphism card with backdrop blur - Refined tab switcher with pill-style active state - Enlarged title with gradient text effect - Added welcome subtitles for better UX - Card slides in from bottom on load - All existing functionality preserved Visual enhancements: - Tab navigation: segmented control style in muted container - Active tab: white background with subtle shadow - Smooth 200ms transitions on all interactions - Card: rounded-2xl, shadow-xl, semi-transparent border Creates premium, modern login experience matching transition animations --- src/ui/desktop/authentication/Auth.tsx | 102 ++++++++++++++++++++----- 1 file changed, 83 insertions(+), 19 deletions(-) diff --git a/src/ui/desktop/authentication/Auth.tsx b/src/ui/desktop/authentication/Auth.tsx index 997d712b..446931c3 100644 --- a/src/ui/desktop/authentication/Auth.tsx +++ b/src/ui/desktop/authentication/Auth.tsx @@ -683,7 +683,7 @@ export function Auth({ if (showServerConfig === null && !isInElectronWebView()) { return (
@@ -697,7 +697,7 @@ export function Auth({ if (showServerConfig && !isInElectronWebView()) { return (
@@ -722,7 +722,7 @@ export function Auth({ ) { return (
@@ -755,7 +755,7 @@ export function Auth({ if (dbHealthChecking && !dbConnectionFailed) { return (
@@ -774,7 +774,7 @@ export function Auth({ if (dbConnectionFailed) { return (
@@ -834,10 +834,61 @@ export function Auth({ return (
+ {/* Split Screen Layout */} +
+ + {/* Left Side - Brand Showcase */} +
+ {/* Animated Ripples Background */} +
+
+
+
+
+ + {/* Logo and Branding */} +
+
+ TERMIX +
+
+ SSH TERMINAL MANAGER +
+
+ Secure, powerful, and intuitive SSH connection management for modern teams +
+
+ + +
+ + {/* Right Side - Auth Form */} +
+
{isInElectronWebView() && !webviewAuthSuccess && ( @@ -948,15 +999,16 @@ export function Auth({ return ( <> -
+ {/* Tab Navigation */} +
{passwordLoginAllowed && ( )}
-
-

+ + {/* Page Title */} +
+

{tab === "login" ? t("auth.loginTitle") : tab === "signup" @@ -1022,6 +1076,13 @@ export function Auth({ ? t("auth.loginWithExternal") : t("auth.forgotPassword")}

+

+ {tab === "login" + ? "Welcome back to TERMIX" + : tab === "signup" + ? "Create your TERMIX account" + : "Continue with external provider"} +

{tab === "external" || tab === "reset" ? ( @@ -1339,6 +1400,9 @@ export function Auth({ })()} )} +

+
+
); }