doc: update layout app page
This commit is contained in:
1 parent
64fb1f7ac9
commit
3666de5f91
1 file changed
+6
-1
+6
-1
@@ -2,6 +2,8 @@ import type { Metadata } from "next";
|
||||
import { Inter, Space_Grotesk } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
import Navbar from "@/components/Navbar";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
const spaceGrotesk = Space_Grotesk({
|
||||
subsets: ["latin"],
|
||||
@@ -22,7 +24,10 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>
|
||||
<main className="max-w-10xl mx-auto">{children}</main>
|
||||
<main className="max-w-10xl mx-auto">
|
||||
<Navbar />
|
||||
{children}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user