aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/Layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/Layout.tsx')
-rw-r--r--frontend/src/components/Layout.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx
new file mode 100644
index 0000000..09a0eb4
--- /dev/null
+++ b/frontend/src/components/Layout.tsx
@@ -0,0 +1,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>
+ );
+}