Add Container and Prose components
This commit is contained in:
parent
c9ba6a6cc5
commit
80056b3728
3 changed files with 21 additions and 5 deletions
12
app/page.tsx
12
app/page.tsx
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue