Add Next.js frontends with health endpoints

This commit is contained in:
Alexa Amundson
2025-11-21 00:18:26 -06:00
parent 6722782f47
commit 5f958e3755
28 changed files with 397 additions and 0 deletions

32
apps/web/app/layout.tsx Normal file
View File

@@ -0,0 +1,32 @@
import "./globals.css";
import type { ReactNode } from "react";
export const metadata = {
title: "BlackRoad OS",
description: "The BlackRoad Operating System"
};
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>
<header
style={{
padding: "1rem 2rem",
borderBottom: "1px solid #222",
display: "flex",
justifyContent: "space-between"
}}
>
<div>BlackRoad OS</div>
<nav style={{ display: "flex", gap: "1rem" }}>
<a href="/" style={{ textDecoration: "none" }}>Home</a>
<a href="/docs" style={{ textDecoration: "none" }}>Docs</a>
<a href="/health" style={{ textDecoration: "none" }}>Health</a>
</nav>
</header>
<main style={{ padding: "2rem" }}>{children}</main>
</body>
</html>
);
}