Update layout.tsx

This commit is contained in:
MacRimi 2025-02-17 22:38:41 +01:00 committed by GitHub
parent 1cebde3d5d
commit dcf8c4bb04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,16 +1,15 @@
import type React from "react"
import DocSidebar from "@/components/DocSidebar" import DocSidebar from "@/components/DocSidebar"
import Footer from "@/components/footer" import type React from "react"
export default function DocsLayout({ children }: { children: React.ReactNode }) { export default function DocsLayout({
children,
}: {
children: React.ReactNode
}) {
return ( return (
<div className="flex flex-col min-h-screen bg-white text-gray-900"> <div className="flex flex-col md:flex-row min-h-screen pt-40 md:pt-16">
<div className="flex flex-col md:flex-row flex-1"> <DocSidebar />
<DocSidebar /> <main className="flex-1 p-4 md:p-6 mt-4 md:mt-0">{children}</main>
<main className="flex-1 p-4 md:p-6">{children}</main>
</div>
<Footer />
</div> </div>
) )
} }