doc: update layout app page

This commit is contained in:
Leon Xu committed 2023-12-30 14:17:54 -08:00
1 parent 64fb1f7ac9
commit 3666de5f91
1 file changed
+6 -1
+6 -1
View File
@@ -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>
);