summaryrefslogtreecommitdiff
path: root/src/app/(public)/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/(public)/layout.tsx')
-rw-r--r--src/app/(public)/layout.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/app/(public)/layout.tsx b/src/app/(public)/layout.tsx
new file mode 100644
index 0000000..5b71246
--- /dev/null
+++ b/src/app/(public)/layout.tsx
@@ -0,0 +1,16 @@
+import { Header } from "@/components/layout/Header";
+import { Footer } from "@/components/layout/Footer";
+
+export default function PublicLayout({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
+ return (
+ <>
+ <Header />
+ <main className="min-h-[calc(100vh-4rem)]">{children}</main>
+ <Footer />
+ </>
+ );
+}