From ed78682a4c7717035032abeb3d18f0e2b0b616f8 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Sat, 10 Aug 2024 17:13:31 -0400 Subject: [PATCH 1/7] Initial landing register page design --- Client/src/Components/Button/index.jsx | 2 + Client/src/Pages/Auth/Login.jsx | 30 +++--- Client/src/Pages/Auth/Register/Register.jsx | 111 +++++++++++++++++--- Client/src/Pages/Auth/index.css | 65 +++--------- Client/src/assets/Images/bwl-logo-2.svg | 5 - 5 files changed, 132 insertions(+), 81 deletions(-) delete mode 100644 Client/src/assets/Images/bwl-logo-2.svg diff --git a/Client/src/Components/Button/index.jsx b/Client/src/Components/Button/index.jsx index bba101dc1..485973498 100644 --- a/Client/src/Components/Button/index.jsx +++ b/Client/src/Components/Button/index.jsx @@ -58,6 +58,7 @@ const Button = ({ disabled, img, onClick, + props, sx, }) => { const { variant, color } = levelConfig[level]; @@ -84,6 +85,7 @@ const Button = ({ }, ...sx, }} + {...props} > {img && img} {label} diff --git a/Client/src/Pages/Auth/Login.jsx b/Client/src/Pages/Auth/Login.jsx index 2868b5d75..78b1d7957 100644 --- a/Client/src/Pages/Auth/Login.jsx +++ b/Client/src/Pages/Auth/Login.jsx @@ -117,6 +117,7 @@ const StepOne = ({ form, errors, onSubmit, onChange, onBack }) => { mr: theme.gap.xs, }, }} + props={{ tabIndex: -1 }} />