diff options
Diffstat (limited to 'examples/kitchen-sink/apps/blog/app/root.tsx')
| -rw-r--r-- | examples/kitchen-sink/apps/blog/app/root.tsx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/kitchen-sink/apps/blog/app/root.tsx b/examples/kitchen-sink/apps/blog/app/root.tsx new file mode 100644 index 0000000..23a08a8 --- /dev/null +++ b/examples/kitchen-sink/apps/blog/app/root.tsx @@ -0,0 +1,37 @@ +import type { MetaFunction, LinksFunction } from "@remix-run/node"; +import { + Links, + LiveReload, + Meta, + Outlet, + Scripts, + ScrollRestoration, +} from "@remix-run/react"; +import styles from "~/styles.css"; +import { Analytics } from "@vercel/analytics/react"; + +export const meta: MetaFunction = () => ({ + charset: "utf-8", + title: "Blog | Kitchen Sink", + viewport: "width=device-width,initial-scale=1", +}); + +export const links: LinksFunction = () => [{ rel: "stylesheet", href: styles }]; + +export default function App() { + return ( + <html lang="en"> + <head> + <Meta /> + <Links /> + </head> + <body> + <Outlet /> + <ScrollRestoration /> + <Scripts /> + <LiveReload /> + <Analytics /> + </body> + </html> + ); +} |
