import Global from "~/lib/Global"; import { Icon } from "./Icon"; import { ChevronRight, RectangleVertical } from "lucide"; import { Link } from "./Link"; interface LayoutProps { children: JSX.Element | JSX.Element[]; } const menuItems = [ { name: "Home", href: "/", }, { name: "Posts", href: "/posts", }, { name: "About Me", href: "/about", }, ]; export default function Layout({ children }: LayoutProps) { return ( <> /home/MasterGordon {menuItems.map((item) => ( {item.name} ))} {children} > ); }