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
+9 -1
View File
@@ -1,5 +1,7 @@
import type { Metadata } from "next";
import "./globals.css";
import { Navbar } from "@/components/layout/Navbar";
import { Footer } from "@/components/layout/Footer";
export const metadata: Metadata = {
title: "Selimaj.dev",
@@ -13,7 +15,13 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className="antialiased bg-black">{children}</body>
<body className="antialiased bg-black">
<div className="min-h-screen flex flex-col bg-background dark">
<Navbar />
<main className="flex-1 pt-16">{children}</main>
<Footer />
</div>
</body>
</html>
);
}