From 80056b3728510b0c068c0ede98811926f6c098fe Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 8 May 2026 18:53:18 +1200 Subject: [PATCH] Add Container and Prose components --- app/page.tsx | 12 +++++++----- components/container.tsx | 7 +++++++ components/prose.tsx | 7 +++++++ 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 components/container.tsx create mode 100644 components/prose.tsx diff --git a/app/page.tsx b/app/page.tsx index 211cae9..a617254 100644 --- a/app/page.tsx +++ b/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 ( -
-
-

Hackathon Template

+ + +

Hackathon Template

{JSON.stringify(health, null, 2)}
-
-
+ + ); } diff --git a/components/container.tsx b/components/container.tsx new file mode 100644 index 0000000..7510662 --- /dev/null +++ b/components/container.tsx @@ -0,0 +1,7 @@ +interface ContainerProps { + children: React.ReactNode; +} + +export function Container({ children }: ContainerProps) { + return
{children}
; +} diff --git a/components/prose.tsx b/components/prose.tsx new file mode 100644 index 0000000..6170d48 --- /dev/null +++ b/components/prose.tsx @@ -0,0 +1,7 @@ +interface ProseProps { + children: React.ReactNode; +} + +export function Prose({ children }: ProseProps) { + return
{children}
; +}