Skip to content

Commit

Permalink
Adds boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminsehl committed May 13, 2024
1 parent d60eaca commit 4fef3a7
Show file tree
Hide file tree
Showing 13 changed files with 2,653 additions and 749 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules
/.DS_Store
.DS_Store
/.cache
/build
/dist
Expand Down
Binary file added app/assets/synchro.woff2
Binary file not shown.
Empty file.
Empty file.
20 changes: 3 additions & 17 deletions app/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import {
Links,
} from '@remix-run/react';

import './styles/reset.css';
import './styles/app.css';
import appStyles from './styles/app.css?url';

import {Layout} from '~/components/Layout';

Expand All @@ -38,8 +37,7 @@ export const shouldRevalidate = ({formMethod, currentUrl, nextUrl}) => {

export function links() {
return [
// {rel: 'stylesheet', href: resetStyles},
// {rel: 'stylesheet', href: appStyles},
{rel: 'stylesheet', href: appStyles},
{
rel: 'preconnect',
href: 'https://cdn.shopify.com',
Expand Down Expand Up @@ -120,19 +118,8 @@ export default function App() {
function Root({children}) {
const nonce = useNonce();
return (
<html lang="en" style={{backgroundColor: '#FFFFFF'}}>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Amiko:wght@400;600;700&display=swap"
rel="stylesheet"
/>

<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<Meta />
Expand All @@ -142,7 +129,6 @@ function Root({children}) {
{children}
<ScrollRestoration nonce={nonce} />
<Scripts nonce={nonce} />
<LiveReload nonce={nonce} />
</body>
</html>
);
Expand Down
Loading

0 comments on commit 4fef3a7

Please sign in to comment.