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 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( }> } /> - } /> - } /> - } /> + } /> + } /> + } /> } /> ) 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": "/"} + ] +}