Skip to content

Commit

Permalink
Merge pull request #31 from Shopify/sehl/boilerplate
Browse files Browse the repository at this point in the history
Boilerplate
  • Loading branch information
benjaminsehl committed Sep 19, 2022
2 parents 9d33715 + 50e3536 commit 82a25e0
Show file tree
Hide file tree
Showing 10 changed files with 4,379 additions and 197 deletions.
21 changes: 19 additions & 2 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { MetaFunction } from "@remix-run/cloudflare";
import type { LinksFunction, MetaFunction } from "@remix-run/cloudflare";
import {
Links,
LiveReload,
Expand All @@ -8,9 +8,26 @@ import {
ScrollRestoration,
} from "@remix-run/react";

import styles from "./styles/app.css";

export const links: LinksFunction = () => {
return [
{ rel: "stylesheet", href: styles },
{
rel: "preconnect",
href: "https://cdn.shopify.com",
},
{
rel: "preconnect",
href: "https://shop.app",
},
{ rel: "icon", type: "image/svg+xml", href: "/favicon.svg" },
];
};

export const meta: MetaFunction = () => ({
charset: "utf-8",
title: "New Remix App",
title: "Hydrogen",
viewport: "width=device-width,initial-scale=1",
});

Expand Down
Loading

0 comments on commit 82a25e0

Please sign in to comment.