From 4d138b5f51329af87c7655f00e454d1dbe30bd15 Mon Sep 17 00:00:00 2001 From: hollydo Date: Mon, 27 Jan 2025 21:08:44 -0800 Subject: [PATCH 1/2] migrated auth.js to MUI --- client/src/components/auth/Auth.jsx | 45 +++++++++++++++++++---------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/client/src/components/auth/Auth.jsx b/client/src/components/auth/Auth.jsx index e0427795..d84b80f5 100644 --- a/client/src/components/auth/Auth.jsx +++ b/client/src/components/auth/Auth.jsx @@ -3,6 +3,13 @@ import { Redirect } from 'react-router-dom'; import { useHistory } from 'react-router-dom'; import { checkUser, checkAuth } from '../../services/user.service'; import { authLevelRedirect } from '../../utils/authUtils'; +import { + Typography, + Button, + FormControl, + Box, + TextField +} from '@mui/material'; import useAuth from '../../hooks/useAuth'; import '../../sass/AdminLogin.scss'; @@ -100,29 +107,34 @@ const Auth = () => {
-

Welcome Back!

+

hello

+ Welcome Back!
-
- - + + + + +
-
+
{
- +
From 173284d4b1f8399b540cc547b1f300d77e4f66d4 Mon Sep 17 00:00:00 2001 From: hollydo Date: Mon, 27 Jan 2025 21:16:39 -0800 Subject: [PATCH 2/2] removed accidentally committed hellow message --- client/src/components/auth/Auth.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/components/auth/Auth.jsx b/client/src/components/auth/Auth.jsx index d84b80f5..8d0f1d10 100644 --- a/client/src/components/auth/Auth.jsx +++ b/client/src/components/auth/Auth.jsx @@ -107,7 +107,6 @@ const Auth = () => {
-

hello

Welcome Back!