The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 26 lines 682 Bytes
Raw
1 import type { ReactNode } from "react";
2 import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router";
3 import "./app.css";
4
5 export function Layout({ children }: Readonly<{ children: ReactNode }>) {
6 return (
7 <html lang="en">
8 <head>
9 <meta charSet="utf-8" />
10 <meta name="viewport" content="width=device-width, initial-scale=1" />
11 <title>React Router on Prisma</title>
12 <Meta />
13 <Links />
14 </head>
15 <body className="bg-slate-50 p-8 text-slate-900">
16 {children}
17 <ScrollRestoration />
18 <Scripts />
19 </body>
20 </html>
21 );
22 }
23
24 export default function Root() {
25 return <Outlet />;
26 }