From 1249ca0b169f4f2f7506b715bb27fc509ebf1a61 Mon Sep 17 00:00:00 2001 From: hokageCodes Date: Mon, 5 Dec 2022 11:54:49 +0000 Subject: [PATCH 1/6] routing 404-page --- frontend/src/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/index.jsx b/frontend/src/index.jsx index 67f65eb6..d52bb8d0 100644 --- a/frontend/src/index.jsx +++ b/frontend/src/index.jsx @@ -181,7 +181,7 @@ const router = createBrowserRouter([ element: , }, { - path: '/404error', + path: '*', element: , }, // { From 979c79ea7dc47b519483b6e6cc04d1d15d2d3ab4 Mon Sep 17 00:00:00 2001 From: hokageCodes Date: Mon, 5 Dec 2022 12:05:34 +0000 Subject: [PATCH 2/6] Changed button text on error page and routed footer logo to go to home --- frontend/src/components/Footer/index.jsx | 16 +++++++++------- frontend/src/pages/Error404/index.jsx | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/Footer/index.jsx b/frontend/src/components/Footer/index.jsx index 0621cbad..f6e7a3a5 100644 --- a/frontend/src/components/Footer/index.jsx +++ b/frontend/src/components/Footer/index.jsx @@ -41,13 +41,15 @@ const Footer = () => (