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