ProxMenux/web/app/docs/layout.tsx

17 lines
477 B
TypeScript
Raw Normal View History

2025-02-17 22:25:11 +01:00
import type React from "react"
2025-02-17 22:28:42 +01:00
import DocSidebar from "@/components/DocSidebar"
import Footer from "@/components/footer"
2025-02-13 17:28:49 +01:00
2025-02-17 22:28:42 +01:00
export default function DocsLayout({ children }: { children: React.ReactNode }) {
2025-02-13 17:28:49 +01:00
return (
2025-02-17 22:28:42 +01:00
<div className="flex flex-col min-h-screen bg-white text-gray-900">
<div className="flex flex-col md:flex-row flex-1">
<DocSidebar />
<main className="flex-1 p-4 md:p-6">{children}</main>
</div>
<Footer />
2025-02-13 17:28:49 +01:00
</div>
)
}