From 862f7c52518767d8b3ddc069ddd2e28ba5e09bde Mon Sep 17 00:00:00 2001 From: lyannne Date: Wed, 4 Feb 2026 23:09:35 -0500 Subject: [PATCH 1/9] login styles changed to tailwind in line --- frontend/src/Login.tsx | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/frontend/src/Login.tsx b/frontend/src/Login.tsx index 2f8ae70..fa43e8b 100644 --- a/frontend/src/Login.tsx +++ b/frontend/src/Login.tsx @@ -28,9 +28,9 @@ const Login = observer(() => { }; return ( -
+
{/*/ Left side: Registration form */} -
+

Welcome back!

@@ -52,7 +52,6 @@ const Login = observer(() => { required onChange={(e) => setUsername(e.target.value)} placeholder="Enter your email" - style={styles.inputContainer} className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" />

@@ -70,7 +69,6 @@ const Login = observer(() => { required onChange={(e) => setPassword(e.target.value)} placeholder="Enter your password" - style={styles.inputContainer} className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" />
@@ -88,7 +86,6 @@ const Login = observer(() => { @@ -111,7 +108,7 @@ const Login = observer(() => {
{/*/ Right side: logo */} -
+
{ }); export default Login; - -// Inline style objects -const styles: { [key: string]: React.CSSProperties } = { - pageContainer: { - position: "relative", - width: "100vw", - height: "100vh", - margin: 0, - padding: 0, - overflow: "hidden", - display: "flex", - justifyContent: "center", - alignItems: "start", - textAlign: "start", - }, -}; From 8a2d2220cea588c15351db57b43d76d2bb15844b Mon Sep 17 00:00:00 2001 From: lyannne Date: Wed, 4 Feb 2026 23:38:00 -0500 Subject: [PATCH 2/9] register styles changes --- frontend/src/Register.tsx | 68 ++++++++++++--------------------------- 1 file changed, 20 insertions(+), 48 deletions(-) diff --git a/frontend/src/Register.tsx b/frontend/src/Register.tsx index 771c7a9..085a288 100644 --- a/frontend/src/Register.tsx +++ b/frontend/src/Register.tsx @@ -89,8 +89,8 @@ const Register = observer(() => { }; return ( -
-
+
+
{/*/ Left side: Registration form */}

Get Started Now

@@ -111,7 +111,6 @@ const Register = observer(() => { required onChange={(e) => setUsername(e.target.value)} placeholder="Enter your username" - style={styles.inputContainer} className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" />
@@ -129,12 +128,11 @@ const Register = observer(() => { required onChange={(e) => setEmail(e.target.value)} placeholder="Enter your email" - style={ + className={`block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border ${ failure.item === "email" - ? styles.errorItem - : styles.inputContainer - } - className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" + ? "border-[#D33221]" + : "border-medium-gray" + }`} />
@@ -151,12 +149,11 @@ const Register = observer(() => { required onChange={(e) => handlePassword(e.target.value)} placeholder="Enter your password" - style={ + className={`block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border ${ failure.item === "password" - ? styles.errorItem - : styles.inputContainer - } - className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" + ? "border-[#D33221]" + : "border-medium-gray" + }`} />
@@ -173,20 +170,22 @@ const Register = observer(() => { onChange={(e) => handlePasswordMatch(e.target.value)} required placeholder="Re-enter your password" - style={ + className={`block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border ${ failure.item === "password" - ? styles.errorItem - : styles.inputContainer - } - className="block min-w-0 rounded-md grow bg-white py-1.5 pr-3 pl-4 text-base placeholder:text-gray-500 border border-medium-gray" + ? "border-[#D33221]" + : "border-medium-gray" + }`} />
{failure.state ? failure.message : defaultPasswordMessage}
@@ -195,7 +194,6 @@ const Register = observer(() => { @@ -217,7 +215,7 @@ const Register = observer(() => {
{/*/ Right side: logo */} -
+
{ }); export default Register; - -// Inline style objects -const styles: { [key: string]: React.CSSProperties } = { - pageContainer: { - position: "relative", - width: "100%", - height: "100vh", - margin: 0, - padding: 0, - display: "flex", - justifyContent: "center", - alignItems: "start", - textAlign: "start", - }, - warning: { - color: "#616161", - backgroundColor: "#E7E7E7", - }, - error: { - color: "#D33221", - backgroundColor: "#FFA399", - }, - errorItem: { - borderColor: "#D33221", - }, -}; From f191c1b23dad94b7f0dc3c518cf29a62711e806e Mon Sep 17 00:00:00 2001 From: lyannne Date: Wed, 4 Feb 2026 23:41:09 -0500 Subject: [PATCH 3/9] register landing file --- frontend/src/RegisterLanding.tsx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/frontend/src/RegisterLanding.tsx b/frontend/src/RegisterLanding.tsx index 3562e75..8bbb7e9 100644 --- a/frontend/src/RegisterLanding.tsx +++ b/frontend/src/RegisterLanding.tsx @@ -9,7 +9,7 @@ import { useAuthContext } from "./context/auth/authContext"; const RegisterLanding = () => { const {logout} = useAuthContext(); return ( -
+
{ }; export default RegisterLanding; - -// Inline style objects -const styles: { [key: string]: React.CSSProperties } = { - pageContainer: { - position: "relative", - width: "100vw", - height: "100vh", - margin: 0, - padding: 0, - overflow: "hidden", - display: "flex", - justifyContent: "center", - alignItems: "start", - textAlign: "start", - }, -}; From 5de07000ce6fa3368c8227fa6e4bbe0e770eb343 Mon Sep 17 00:00:00 2001 From: lyannne Date: Wed, 4 Feb 2026 23:45:52 -0500 Subject: [PATCH 4/9] register landing fixed percentage widths --- frontend/src/RegisterLanding.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/RegisterLanding.tsx b/frontend/src/RegisterLanding.tsx index 8bbb7e9..c7ce6f7 100644 --- a/frontend/src/RegisterLanding.tsx +++ b/frontend/src/RegisterLanding.tsx @@ -9,8 +9,8 @@ import { useAuthContext } from "./context/auth/authContext"; const RegisterLanding = () => { const {logout} = useAuthContext(); return ( -
-
+
+
{ />
-
+

Account registration successful! @@ -29,6 +29,7 @@ const RegisterLanding = () => { our team. You'll receive an email notification once your account has been approved. Please try logging in after receiving approval.

+