// oxlint-disable-next-line import/no-unassigned-import
import "./styles.css";
import { Link, Outlet } from "react-router";
export function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>React Router Vite</title>
</head>
<body>
<header>
<nav>
<ul>
<li>
<Link to="/">Home</Link>
</li>
<li>
<Link to="/about">About</Link>
</li>
</ul>
</nav>
</header>
{children}
</body>
</html>
);
}
export default function Component() {
return <Outlet />;
}