UNPKG

1.31 kBJSXView 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 /* @__PURE__ */ React.createElement("html", { lang: "en" }, /* @__PURE__ */ React.createElement("head", null, /* @__PURE__ */ React.createElement("meta", { charSet: "utf-8" }), /* @__PURE__ */ React.createElement("meta", { name: "viewport", content: "width=device-width,initial-scale=1" }), /* @__PURE__ */ React.createElement("title", null, "Hydrogen"), /* @__PURE__ */ React.createElement(
19 "meta",
20 {
21 name: "description",
22 content: "A custom storefront powered by Hydrogen"
23 }
24 ), /* @__PURE__ */ React.createElement(Meta, null), /* @__PURE__ */ React.createElement(Links, null)), /* @__PURE__ */ React.createElement("body", null, /* @__PURE__ */ React.createElement(Layout, null, /* @__PURE__ */ React.createElement(Outlet, null)), /* @__PURE__ */ React.createElement(ScrollRestoration, null), /* @__PURE__ */ React.createElement(Scripts, null)));
25}
26export {
27 App as default,
28 links
29};