From 854a1e35cd3a8a35ffe2f00284e64bd9a10d3855 Mon Sep 17 00:00:00 2001 From: Camila Carrillo Date: Thu, 12 Feb 2026 19:18:23 -0500 Subject: [PATCH 01/12] initial style changes + show password button --- frontend/src/Login.tsx | 60 ++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/frontend/src/Login.tsx b/frontend/src/Login.tsx index 2f8ae70..ee2fd71 100644 --- a/frontend/src/Login.tsx +++ b/frontend/src/Login.tsx @@ -11,6 +11,8 @@ import "./external/bcanSatchel/mutators"; const Login = observer(() => { const [username, setUsername] = useState(""); const [password, setPassword] = useState(""); + const [rememberMe, setRememberMe] = useState(false); + const [showPassword, setShowPassword] = useState(false); const [failure, setFailure] = useState(false); const navigate = useNavigate(); const { login } = useAuthContext(); @@ -21,58 +23,70 @@ const Login = observer(() => { const success = await login(username, password); if (success) { - navigate("/grant-info"); + navigate("/main/all-grants"); } else { setFailure(true); } }; return ( -
+
{/*/ Left side: Registration form */} -
+
-

Welcome back!

-

- Enter your credentials to access your account. -

+

Log in

-
-