aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/Layout.tsx
blob: 09a0eb43b4ef7e95dde483f9856108e3248c179c (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-gray-50">
			<Navigation />
			<main className="container mx-auto px-4 py-8">{children}</main>
		</div>
	);
}