From d5761beb257413ff214b5aca4321a4f6811cde9e Mon Sep 17 00:00:00 2001 From: myix765 Date: Fri, 1 Nov 2024 21:27:01 -0400 Subject: [PATCH] lowercase routes and added vercel.json --- src/components/NavBar/NavBar.jsx | 12 ++++++------ src/components/PageRoutes.jsx | 8 ++++---- src/pages/Login.jsx | 2 +- src/pages/SignUp.jsx | 2 +- vercel.json | 8 ++++++++ 5 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 vercel.json diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx index e6863d4..239b4c2 100644 --- a/src/components/NavBar/NavBar.jsx +++ b/src/components/NavBar/NavBar.jsx @@ -17,9 +17,9 @@ const NavBar = () => { {/* Desktop navigation */}
- About - Contact - Sign Up + About + Contact + Sign Up {/* */}
@@ -40,9 +40,9 @@ const NavBar = () => { {/* Mobile menu */}
- About - Contact - Sign Up + About + Contact + Sign Up
{/* */} diff --git a/src/components/PageRoutes.jsx b/src/components/PageRoutes.jsx index feea93e..460d16f 100644 --- a/src/components/PageRoutes.jsx +++ b/src/components/PageRoutes.jsx @@ -9,10 +9,10 @@ export default function PageRoutes() { return (
- - - - + + + +
); }; \ No newline at end of file diff --git a/src/pages/Login.jsx b/src/pages/Login.jsx index 111990c..3eb92ca 100644 --- a/src/pages/Login.jsx +++ b/src/pages/Login.jsx @@ -23,7 +23,7 @@ export default function Login() {

Login

Don't have an account? - Sign up + Sign up

diff --git a/src/pages/SignUp.jsx b/src/pages/SignUp.jsx index 349b2d6..ba6431a 100644 --- a/src/pages/SignUp.jsx +++ b/src/pages/SignUp.jsx @@ -50,7 +50,7 @@ export default function SignUp() {

Sign up

Already have an account? - Log In + Log In

diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..d9850ca --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/((?!api/)[^./]+)", + "destination": "/" + } + ] + } \ No newline at end of file