Skip to content

Commit

Permalink
feat: experience
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Dec 13, 2024
1 parent b05bc03 commit d9a31f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/experience/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ExperiencePage() {
return <div></div>;
}
7 changes: 7 additions & 0 deletions src/components/NavigationHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
Book as BookIcon,
LightMode as SunIcon,
DarkMode as MoonIcon,
History as ExperienceIcon,
} from "@mui/icons-material";
import Link from "next/link";
import { usePathname, useSearchParams } from "next/navigation";
Expand All @@ -29,6 +30,12 @@ const NavigationHeader = () => {
text: "文章",
isActive: pathname == "/blog" && !searchParams.size,
},
{
href: "/experience",
icon: <ExperienceIcon className="h-5 w-5" />,
text: "經歷",
isActive: pathname == "/experience",
},
];

if (!mounted) return null;
Expand Down

0 comments on commit d9a31f2

Please sign in to comment.