mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 20:26:53 +00:00
Update layout.tsx
This commit is contained in:
parent
11acbc31c0
commit
e2f5fdfa51
@ -5,13 +5,12 @@ import Footer from "@/components/footer"
|
|||||||
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 min-h-screen bg-white text-gray-900">
|
||||||
<div className="flex flex-col lg:flex-row flex-1 pt-16 lg:pt-0">
|
<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-6 overflow-x-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>
|
|
||||||
</main>
|
|
||||||
</div>
|
</div>
|
||||||
<footer />
|
<footer />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user