mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-25 13:51:15 +00:00
add doc navigation page
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type React from "react"
|
||||
import DocSidebar from "@/components/DocSidebar"
|
||||
import Footer from "@/components/footer"
|
||||
import { DocNavigation } from "@/components/ui/doc-navigation"
|
||||
|
||||
export default function DocsLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
@@ -8,10 +9,14 @@ export default function DocsLayout({ children }: { children: React.ReactNode })
|
||||
<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 pt-6 lg:pt-6 overflow-y-auto">
|
||||
<div className="max-w-3xl mx-auto" style={{ maxWidth: "980px" }}>{children}</div>
|
||||
<div className="max-w-3xl mx-auto" style={{ maxWidth: "980px" }}>
|
||||
{children}
|
||||
<DocNavigation />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user