Browse Source

chore: rename Projects -> Work

master
Muthu Kumar 2 weeks ago
parent
commit
1e1679df79
Failed to extract signature
  1. 2
      src/components/Menu.tsx
  2. 4
      src/index.tsx
  3. 0
      src/pages/main/Work.tsx

2
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;

4
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 <Home />;
if (normalised === "/experience") return <Exp />;
if (normalised.startsWith("/experience/")) return <Exp />;
if (normalised === "/projects") return <Projects />;
if (normalised === "/work") return <Work />;
if (normalised === "/contact") return <Contact />;
// if (normalised === "/live") return <Live />;
// if (normalised === "/blog") return <BlogHome />;

0
src/pages/main/Projects.tsx → src/pages/main/Work.tsx

Loading…
Cancel
Save