35 lines
795 B
TypeScript
35 lines
795 B
TypeScript
import type { MetaFunction } from "@remix-run/node";
|
|
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from "@remix-run/react";
|
|
|
|
import Header from "./components/Header";
|
|
import Footer from "./components/Footer";
|
|
|
|
// Tailwind CSS
|
|
import styles from "./styles/app.css";
|
|
export const links = () => [{ rel: "stylesheet", href: styles }];
|
|
|
|
export const meta: MetaFunction = () => ({
|
|
charset: "utf-8",
|
|
title: "Chessu",
|
|
viewport: "width=device-width,initial-scale=1"
|
|
});
|
|
|
|
export default function App() {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<Meta />
|
|
<Links />
|
|
</head>
|
|
<body>
|
|
<Header />
|
|
<Outlet />
|
|
<Footer />
|
|
<ScrollRestoration />
|
|
<Scripts />
|
|
<LiveReload />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|