Update layout.tsx

This commit is contained in:
MacRimi 2025-02-17 19:23:52 +01:00 committed by GitHub
parent 0bbb73933a
commit d9d4638b0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,6 @@ import "./globals.css"
import { Inter } from "next/font/google" import { Inter } from "next/font/google"
import Navbar from "@/components/navbar" import Navbar from "@/components/navbar"
import MouseMoveEffect from "@/components/mouse-move-effect" import MouseMoveEffect from "@/components/mouse-move-effect"
import DocSidebar from "@/components/DocSidebar"
import type React from "react" import type React from "react"
import type { Metadata } from "next" import type { Metadata } from "next"
@ -67,10 +66,7 @@ export default function RootLayout({
<body className={`${inter.className} bg-background text-foreground antialiased`}> <body className={`${inter.className} bg-background text-foreground antialiased`}>
<Navbar /> <Navbar />
<MouseMoveEffect /> <MouseMoveEffect />
<div className="flex flex-col md:flex-row min-h-screen pt-28 md:pt-16"> <div className="pt-16 md:pt-16">{children}</div>
<DocSidebar />
<main className="flex-1 p-4 md:p-6">{children}</main>
</div>
</body> </body>
</html> </html>
) )