From bcc181b17320734adc9b679f5964292f363962d8 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Sun, 23 Jun 2024 03:47:20 +0530 Subject: [PATCH 1/3] Update main.jsx --- src/main.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.jsx b/src/main.jsx index 6d5ab3e..ee0b24b 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -13,9 +13,9 @@ const router = createBrowserRouter( createRoutesFromElements( }> } /> - } /> - } /> - } /> + } /> + } /> + } /> } /> ) From d5726ad452df36d94bf5e62ddcea160bc6c1e280 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Sun, 23 Jun 2024 03:47:51 +0530 Subject: [PATCH 2/3] Update Navbar.jsx --- src/components/Navbar/Navbar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar/Navbar.jsx b/src/components/Navbar/Navbar.jsx index 2744b0b..986c998 100644 --- a/src/components/Navbar/Navbar.jsx +++ b/src/components/Navbar/Navbar.jsx @@ -113,10 +113,10 @@ function Navbar() { {renderAPODLink()}
  • - ("rem-default " + (isActive ? ' active' : ''))} to="/mars-rover">MartianImagery + ("rem-default " + (isActive ? ' active' : ''))} to="/marsrover">MartianImagery
  • - ("rem-default " + (isActive ? ' active' : ''))} to="/nasa-projects">NASA's Projects + ("rem-default " + (isActive ? ' active' : ''))} to="/nasaprojects">NASA's Projects
  • ("rem-default " + (isActive ? ' active' : ''))} to="/about">About us From 60c230a1213629deae16877354121bd43a5848bf Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Sun, 23 Jun 2024 03:48:35 +0530 Subject: [PATCH 3/3] Added vercel redirected rules --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..520bf7a --- /dev/null +++ b/vercel.json @@ -0,0 +1,5 @@ +{ + "rewrites": [ + {"source": "/(.*)", "destination": "/"} + ] +}