Hook-Nest/src/app/layout.js
2025-10-04 00:16:42 +05:30

32 lines
700 B
JavaScript

import "./globals.css";
import { Geist, Geist_Mono } from "next/font/google";
import Header from "./layouts/Header";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
<div className="p-5">
<Header/>
</div>
<main className="p-6">{children}</main>
</body>
</html>
);
}