ProxMenux/web/app/docs/layout.tsx

23 lines
728 B
TypeScript
Raw Normal View History

2025-02-18 12:16:57 +01:00
import type React from "react"
2025-02-18 11:53:41 +01:00
import DocSidebar from "@/components/DocSidebar"
2025-02-18 12:16:57 +01:00
import Footer from "@/components/footer"
2025-04-17 17:45:23 +02:00
import { DocNavigation } from "@/components/ui/doc-navigation"
2025-02-13 17:28:49 +01:00
2025-02-18 12:34:48 +01:00
export default function DocsLayout({ children }: { children: React.ReactNode }) {
2025-02-13 17:28:49 +01:00
return (
2025-02-18 12:34:48 +01:00
<div className="flex flex-col min-h-screen bg-white text-gray-900">
2025-02-18 13:04:41 +01:00
<div className="flex flex-col lg:flex-row flex-1 pt-16 lg:pt-0">
2025-02-18 12:34:48 +01:00
<DocSidebar />
2025-02-18 17:09:54 +01:00
<main className="flex-1 p-4 lg:p-6 pt-6 lg:pt-6 overflow-y-auto">
2025-04-17 17:45:23 +02:00
<div className="max-w-3xl mx-auto" style={{ maxWidth: "980px" }}>
{children}
<DocNavigation />
</div>
2025-02-18 13:04:41 +01:00
</main>
2025-02-18 12:34:48 +01:00
</div>
2025-02-18 13:04:41 +01:00
<Footer />
2025-02-13 17:28:49 +01:00
</div>
)
2025-02-18 12:38:27 +01:00
}
2025-04-17 17:45:23 +02:00