From f36bbafef4869f425f3d0fe209d7c03ca4db2890 Mon Sep 17 00:00:00 2001 From: myix765 Date: Wed, 11 Dec 2024 19:30:01 -0500 Subject: [PATCH 1/2] small touch ups and refactoring --- src/App.jsx | 2 ++ src/components/Footer.jsx | 15 +++++++++++++++ src/pages/About.jsx | 2 +- src/pages/Contact.jsx | 2 +- src/pages/ForgotPassword.jsx | 27 +++++++++------------------ src/pages/Home.jsx | 10 ++-------- src/pages/Login.jsx | 8 ++++---- src/pages/PasswordReqs.jsx | 31 +++++++++++++++++++++++++++++++ src/pages/SignUp.jsx | 25 +++---------------------- 9 files changed, 68 insertions(+), 54 deletions(-) create mode 100644 src/components/Footer.jsx create mode 100644 src/pages/PasswordReqs.jsx diff --git a/src/App.jsx b/src/App.jsx index f87a46d..de8fbf9 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -4,6 +4,7 @@ import NavBar from '@/components/NavBar/NavBar' import PageRoutes from '@/components/PageRoutes' import Welcome from '@/pages/Welcome'; import "./i18n.js"; +import Footer from './components/Footer.jsx'; const App = () => { const [isNew, setNew] = useState(false); @@ -30,6 +31,7 @@ const App = () => { )} +