Improved layout codebase

This commit is contained in:
2026-01-21 12:01:23 +01:00
parent 76fee37f4a
commit 34f0d40780
5 changed files with 73 additions and 33 deletions
-19
View File
@@ -1,19 +0,0 @@
"use client";
import { ReactNode } from "react";
import { Footer } from "./Footer";
import { Navbar } from "./Navbar";
interface LayoutProps {
children: ReactNode;
}
export function Layout({ children }: LayoutProps) {
return (
<div className="min-h-screen flex flex-col bg-background dark">
<Navbar />
<main className="flex-1 pt-16">{children}</main>
<Footer />
</div>
);
}