blob: 5f30de51e3067a80b3107278bfd8e07db17c176a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import type { ReactNode } from "react";
import { Navigation } from "./Navigation";
interface Props {
children: ReactNode;
}
export function Layout({ children }: Props) {
return (
<div className="min-h-screen bg-stone-50">
<Navigation />
<main className="mx-auto max-w-5xl px-6 py-10">{children}</main>
</div>
);
}
|