diff --git a/src/components/Menu.tsx b/src/components/Menu.tsx index b06b381..59a48b7 100644 --- a/src/components/Menu.tsx +++ b/src/components/Menu.tsx @@ -7,7 +7,7 @@ import { useNav } from "../util"; export const MENU = { Home: "/", Experience: "/experience", - Projects: "/projects", + Work: "/work", Contact: "/contact", } as const; diff --git a/src/index.tsx b/src/index.tsx index 92fa0b2..9c0f5af 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -6,7 +6,7 @@ import { normalise } from "./util"; const Home = lazy(() => import("./pages/main/Home")); const Exp = lazy(() => import("./pages/main/Exp")); -const Projects = lazy(() => import("./pages/main/Projects")); +const Work = lazy(() => import("./pages/main/Work")); const Contact = lazy(() => import("./pages/main/Contact")); const NotFound = lazy(() => import("./pages/main/404")); @@ -24,7 +24,7 @@ function App() { if (normalised === "/") return ; if (normalised === "/experience") return ; if (normalised.startsWith("/experience/")) return ; - if (normalised === "/projects") return ; + if (normalised === "/work") return ; if (normalised === "/contact") return ; // if (normalised === "/live") return ; // if (normalised === "/blog") return ; diff --git a/src/pages/main/Projects.tsx b/src/pages/main/Work.tsx similarity index 100% rename from src/pages/main/Projects.tsx rename to src/pages/main/Work.tsx