2024-03-05 16:56:17 +00:00
|
|
|
import {
|
|
|
|
Links,
|
|
|
|
Meta,
|
|
|
|
Outlet,
|
|
|
|
Scripts,
|
|
|
|
ScrollRestoration,
|
|
|
|
} from "@remix-run/react";
|
|
|
|
|
|
|
|
import stylesheet from "./tailwind.css?url";
|
2024-03-13 17:01:23 +00:00
|
|
|
import type { LinksFunction } from "@remix-run/node";
|
2024-03-05 16:56:17 +00:00
|
|
|
|
|
|
|
// Supports weights 200-800
|
|
|
|
import '@fontsource-variable/manrope';
|
|
|
|
|
|
|
|
export const links: LinksFunction = () => [
|
|
|
|
{ rel: "stylesheet", href: stylesheet },
|
|
|
|
];
|
|
|
|
|
|
|
|
export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charSet="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<Meta />
|
|
|
|
<Links />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{children}
|
|
|
|
<ScrollRestoration />
|
|
|
|
<Scripts />
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function App() {
|
|
|
|
return <Outlet />;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function HydrateFallback() {
|
|
|
|
return <p>Loading...</p>;
|
|
|
|
}
|