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