Files
Michess/client/app/root.tsx
Nathaniel Tampus c03cf47bc3 init remix app
2023-02-06 15:17:49 +08:00

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>
);
}