diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index fe87173..c118213 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -248,206 +248,270 @@ export const LoginPage: React.FC = () => { const RIT_BLUE_HOVER = 'hover:bg-[#003366]'; return ( -
+
- {/* Background radial accent */} -
-
+ {/* Left Column: Branding (hidden on mobile, 55% width on desktop) */} +
+ {/* Abstract vector backgrounds for a premium institutional feel */} +
+
+
+
+
- - {!isSignUp ? ( - // ---------------------------------------------------- - // CENTRALIZED SIGN IN - // ---------------------------------------------------- - -
- RIT Logo -

- RIT EVENT HUB -

-

Centralized Portal Login

-
+ {/* Top: Brand Header */} +
+ RIT Logo +
+

RAJALAKSHMI

+ Institute of Technology +
+
- {/* Google Sign In Button */} - + {/* Middle: Feature list / value proposition */} +
+
+ Centralized Portal +

+ RIT EVENT HUB +

+

+ Schedule, approve, and track academic, placement, and cultural events across Rajalakshmi Institute of Technology with an automated conflict engine. +

+
- {/* Separator */} -
-
- or use credentials -
-
- - {/* Email & Password Form */} -
-
- - setEmailInput(e.target.value)} - className="w-full bg-slate-50 border border-transparent focus:border-brand-indigo/30 rounded-2xl pl-12 pr-6 py-4.5 text-xs font-bold outline-none transition-all" - /> -
- -
- - setPasswordInput(e.target.value)} - className="w-full bg-slate-50 border border-transparent focus:border-brand-indigo/30 rounded-2xl pl-12 pr-12 py-4.5 text-xs font-bold outline-none transition-all" - /> - -
- - {errorMessage && ( -
- - {errorMessage} +
+ {[ + { title: "Smart Scheduling", desc: "Conflict audit for auditoriums, seminar halls, and computer centers in real-time." }, + { title: "Multi-tier Approvals", desc: "Digital verification chain routing proposals through departments, HoDs, and the Principal." }, + { title: "Student Passports", desc: "Secure digital passes, attendance tracking, and automated OD verification." } + ].map((f, i) => ( +
+
+
+

{f.title}

+

{f.desc}

- )} +
+ ))} +
+
-
+
+ + {/* Right Column: Form (100% on mobile, 45% on desktop) */} +
+ {/* Decorative radial accents on the white side to retain look */} +
+
+ +
+ + {!isSignUp ? ( + // ---------------------------------------------------- + // CENTRALIZED SIGN IN (NO CARD) + // ---------------------------------------------------- + - - {isSubmitting ? 'Verifying...' : 'Sign in now...'} - - - -
- -
-
- ) : ( - // ---------------------------------------------------- - // SIGN UP (Only for External Students) - // ---------------------------------------------------- - - {/* Back Button */} - - -
-

- Other College Sign Up -

-

Join the RIT Excellence Hub

-
- -
-
- - -
- -
- - -
- -
- - -
- -
- - -
- - - -
- -
- - {errorMessage && ( -
- - {errorMessage} +
+ {/* Logo only on mobile/tablet */} + RIT Logo +

+ Welcome Back +

+

Sign in to your account

- )} - + + {/* Separator */} +
+
+ or use credentials +
+
+ + {/* Email & Password Form */} + +
+ + setEmailInput(e.target.value)} + className="w-full bg-slate-50 border border-slate-100 focus:bg-white focus:border-brand-indigo/30 rounded-2xl pl-12 pr-6 py-4 text-xs font-bold outline-none transition-all" + /> +
+ +
+ + setPasswordInput(e.target.value)} + className="w-full bg-slate-50 border border-slate-100 focus:bg-white focus:border-brand-indigo/30 rounded-2xl pl-12 pr-12 py-4 text-xs font-bold outline-none transition-all" + /> + +
+ + {errorMessage && ( +
+ + {errorMessage} +
+ )} + + + + +
+ +
+
+ + ) : ( + // ---------------------------------------------------- + // SIGN UP (Only for External Students - NO CARD) + // ---------------------------------------------------- + - {isSubmitting ? 'Registering...' : 'Sign up now...'} - - - +
+ + Other College Sign Up +
+ +
+

+ Create Account +

+

Register as external student

+
+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + + + + {errorMessage && ( +
+ + {errorMessage} +
+ )} + + +
+ + )} + +
+
)}