import { Kode_Mono } from "next/font/google"; import Link from "next/link"; import { useRouter } from "next/router"; import Breadcrumb from "./Breadcrumb"; const LogoFont = Kode_Mono({ subsets: ["latin"] }); type SidebarOptionType = { name: string; link: string; }; const SidebarOptions: SidebarOptionType[] = [ { name: "Home", link: "/" }, { name: "Projects", link: "/projects" }, { name: "Logs", link: "/logs" }, { name: "Metrics", link: "/metrics" }, { name: "Analytics", link: "/analytics" }, ]; const BookmarkOptions: SidebarOptionType[] = [ { name: "Example Project", link: "/projects/1" }, ]; const MainLayout = ({ children }: { children: React.ReactNode }) => { const router = useRouter(); return (

WATCHMAN

MENU
{SidebarOptions.map((option) => ( {option.name} ))}
BOOKMARKS
{BookmarkOptions.map((option) => ( {option.name} ))}

Settings

{children}
); }; export default MainLayout;