This commit is contained in:
Chris Tate
2026-01-26 14:09:17 -06:00
committed by GitHub
parent efb1923fbb
commit bf5ba0a557
4 changed files with 152 additions and 76 deletions
+11 -6
View File
@@ -1,6 +1,8 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { MobileNavProvider } from "@/components/mobile-nav-context";
import { Header } from "@/components/header";
import { Sidebar } from "@/components/sidebar";
const geist = Geist({
@@ -28,12 +30,15 @@ export default function RootLayout({
<body
className={`${geist.variable} ${geistMono.variable} antialiased bg-zinc-950 text-zinc-100`}
>
<div className="flex min-h-screen">
<Sidebar />
<main className="flex-1 overflow-auto pt-14 lg:pt-0">
{children}
</main>
</div>
<MobileNavProvider>
<Header />
<div className="flex min-h-[calc(100vh-3.5rem)]">
<Sidebar />
<main className="flex-1 overflow-auto">
{children}
</main>
</div>
</MobileNavProvider>
</body>
</html>
);