mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-30 05:06:53 +00:00
update
This commit is contained in:
parent
81bb5574e0
commit
f8661fc029
@ -2,15 +2,13 @@ import type React from "react"
|
|||||||
import DocSidebar from "@/components/DocSidebar"
|
import DocSidebar from "@/components/DocSidebar"
|
||||||
import Footer from "@/components/footer"
|
import Footer from "@/components/footer"
|
||||||
|
|
||||||
export default function DocsLayout({ children }: { children: React.ReactNode }) {
|
export default function DocsLayout({ children }: LayoutProps) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col min-h-screen bg-white text-gray-900">
|
<div className="flex flex-col lg:flex-row min-h-screen bg-white text-gray-900">
|
||||||
<div className="flex flex-col md:flex-row flex-1 pt-16 md:pt-0">
|
<DocSidebar />
|
||||||
<DocSidebar />
|
<main className="flex-1 p-4 lg:p-8 pt-24 lg:pt-8 overflow-y-auto">
|
||||||
<main className="flex-1 p-4 md:p-6">{children}</main>
|
<div className="max-w-3xl mx-auto lg:mx-0 lg:mr-auto">{children}</div>
|
||||||
</div>
|
</main>
|
||||||
<Footer />
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user