t3-code-android-nightly/.repos/alchemy-effect/packages/frontend-frameworks/fixtures/react-router-rsc/app/root.tsx
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

34 lines
803 B
TypeScript

// 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 />;
}