mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-16 17:55:32 -04:00
extract list of menu links to a config file
This commit is contained in:
29
lib/config/menu.ts
Normal file
29
lib/config/menu.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import ThemeToggle from "../../components/ThemeToggle/ThemeToggle";
|
||||
import { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../../components/Icons";
|
||||
import type { MenuLinkProps } from "../../components/MenuLink/MenuLink";
|
||||
|
||||
export const menuLinks: MenuLinkProps[] = [
|
||||
{
|
||||
icon: HomeIcon,
|
||||
text: "Home",
|
||||
href: "/",
|
||||
},
|
||||
{
|
||||
icon: NotesIcon,
|
||||
text: "Notes",
|
||||
href: "/notes",
|
||||
},
|
||||
{
|
||||
icon: ProjectsIcon,
|
||||
text: "Projects",
|
||||
href: "/projects",
|
||||
},
|
||||
{
|
||||
icon: ContactIcon,
|
||||
text: "Contact",
|
||||
href: "/contact",
|
||||
},
|
||||
{
|
||||
icon: ThemeToggle,
|
||||
},
|
||||
];
|
Reference in New Issue
Block a user