From f4d47e5cd4c7e84b6de0809bbd3e0d45f3527343 Mon Sep 17 00:00:00 2001 From: Abiram070207 Date: Thu, 25 Jun 2026 05:47:24 +0530 Subject: [PATCH] design: implement split-screen sliding splash animation transition --- frontend/src/pages/LoginPage.tsx | 103 +++++++++++++++---------------- 1 file changed, 51 insertions(+), 52 deletions(-) diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index b4ba97a..03525fd 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -623,59 +623,58 @@ export const LoginPage: React.FC = () => { {/* Splash Screen Overlay */} {splashState !== 'done' && ( - - {/* Background Pattern - fade it out when transitioning to white */} - -
-
- - - {splashState === 'logo' && ( - - RIT Logo - - )} +
+ {/* Left part of splash: remains static blue on desktop to match underlying panel */} + - {splashState === 'text' && ( - -

- RIT EVENT HUB -

-
- )} - -
+ {/* Right part of splash (and full screen on mobile): slides right to reveal white page */} + + + {/* Centered content overlay for Logo/Text */} +
+ + {splashState === 'logo' && ( + + RIT Logo + + )} + + {splashState === 'text' && ( + +

+ RIT EVENT HUB +

+
+ )} +
+
+
)}