init: add code

This commit is contained in:
Xory 2026-01-30 17:06:54 +02:00
parent 475596444a
commit 1e09c02cb9
20 changed files with 2432 additions and 147 deletions

View file

@ -7,6 +7,7 @@ import {
ScrollRestoration,
} from "react-router";
import Navbar from "./components/navbar";
import type { Route } from "./+types/root";
import "./app.css";
@ -25,15 +26,18 @@ export const links: Route.LinksFunction = () => [
export function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<html className="h-full" lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<Meta />
<Links />
</head>
<body>
{children}
<body className="h-full">
<div className="p-4 bg-[#0f0f0f] font-roboto min-h-screen">
<Navbar />
{children}
</div>
<ScrollRestoration />
<Scripts />
</body>