Add Container and Prose components

This commit is contained in:
James Blair 2026-05-08 18:53:18 +12:00
parent c9ba6a6cc5
commit 80056b3728
Signed by: james
SSH key fingerprint: SHA256:hsDR3ENI2ZMgh+CNb+0PrFsj29DI007R+BMKUVGi6zQ
3 changed files with 21 additions and 5 deletions

View file

@ -1,14 +1,16 @@
import { Container } from "@/components/container";
import { Prose } from "@/components/prose";
import { api } from "@/lib/api/server";
export default async function Home() {
const { data: health } = await api.health.get();
return (
<main className="container mx-auto p-4 md:py-8">
<section className="prose prose-neutral max-w-none">
<h1 className="text-3xl font-bold">Hackathon Template</h1>
<Container>
<Prose>
<h1>Hackathon Template</h1>
<pre>{JSON.stringify(health, null, 2)}</pre>
</section>
</main>
</Prose>
</Container>
);
}