From 4db0beecd8009aa623befd472fc8fd7b7a554d11 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Mon, 15 Jul 2024 19:29:02 -0400 Subject: [PATCH] Restructured register page --- .../BackgroundPattern/backgroundPattern.css | 2 +- Client/src/Pages/Login/index.css | 10 ++- Client/src/Pages/Login/index.jsx | 8 +-- Client/src/Pages/Register/index.css | 62 ++++++++---------- Client/src/Pages/Register/index.jsx | 64 +++++++------------ 5 files changed, 54 insertions(+), 92 deletions(-) diff --git a/Client/src/Components/BackgroundPattern/backgroundPattern.css b/Client/src/Components/BackgroundPattern/backgroundPattern.css index eb68098e4..33a040d2f 100644 --- a/Client/src/Components/BackgroundPattern/backgroundPattern.css +++ b/Client/src/Components/BackgroundPattern/backgroundPattern.css @@ -1,6 +1,6 @@ .background-pattern { position: absolute; - top: 10%; + top: 0%; left: 50%; transform: translate(-50%, -50%); z-index: -1; diff --git a/Client/src/Pages/Login/index.css b/Client/src/Pages/Login/index.css index bf5b8c435..8238816fd 100644 --- a/Client/src/Pages/Login/index.css +++ b/Client/src/Pages/Login/index.css @@ -2,17 +2,11 @@ width: var(--env-var-width-1); display: flex; justify-content: center; - align-items: center; height: 100vh; } .login-page svg rect { fill: none; } -.login-page h1.MuiTypography-root { - font-size: 30px; - font-weight: 600; - color: var(--env-var-color-1); -} .login-page p.MuiTypography-root, .login-page span, .login-page button { @@ -53,6 +47,10 @@ font-weight: 600; } */ +.login-form{ + margin-top: 102px; +} + .google-enter { width: var(--env-var-img-width-1); height: var(--env-var-img-width-1); diff --git a/Client/src/Pages/Login/index.jsx b/Client/src/Pages/Login/index.jsx index 5a08c28f2..94aaf13d5 100644 --- a/Client/src/Pages/Login/index.jsx +++ b/Client/src/Pages/Login/index.jsx @@ -123,13 +123,9 @@ const Login = () => { return (
-
+ - +
+ -
); };