UNPKG

842 BJSXView Raw
1import {
2 Links,
3 Meta,
4 Outlet,
5 Scripts,
6 ScrollRestoration
7} from "@remix-run/react";
8import styles from "./assets/styles.css";
9import favicon from "./assets/favicon.svg";
10import { Layout } from "./components/Layout.jsx";
11const links = () => {
12 return [
13 { rel: "stylesheet", href: styles },
14 { rel: "icon", type: "image/svg+xml", href: favicon }
15 ];
16};
17function App() {
18 return <html lang="en">
19 <head>
20 <meta charSet="utf-8" />
21 <meta name="viewport" content="width=device-width,initial-scale=1" />
22 <title>Hydrogen</title>
23 <meta name="description" content="A custom storefront powered by Hydrogen" />
24 <Meta />
25 <Links />
26 </head>
27 <body>
28 <Layout><Outlet /></Layout>
29 <ScrollRestoration />
30 <Scripts />
31 </body>
32 </html>;
33}
34export {
35 App as default,
36 links
37};