diff options
| author | 2023-04-28 01:47:57 +0800 | |
|---|---|---|
| committer | 2023-04-28 01:47:57 +0800 | |
| commit | 8b2c4a38a461ff5ecc95972291bc711e2c5dec9a (patch) | |
| tree | 29f552e3df949073e21bf5c76d7abc3044830ec6 /examples/kitchen-sink/apps/blog/app/root.tsx | |
| parent | fc8c5fdce62fb229202659408798a7b6c98f6e8b (diff) | |
| download | HydroRoll-8b2c4a38a461ff5ecc95972291bc711e2c5dec9a.tar.gz HydroRoll-8b2c4a38a461ff5ecc95972291bc711e2c5dec9a.zip | |
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> + ); +} |
