@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
tsx 26 lines 679 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 AWS</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 }