Improved layout codebase
This commit is contained in:
+9
-1
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user