This commit is contained in:
MacRimi 2025-02-17 22:25:11 +01:00
parent 4b5d4b80c3
commit 90ec250f92
3 changed files with 19 additions and 20 deletions

View File

@ -11,17 +11,20 @@ export default function InstallationPage() {
<h2 className="text-2xl font-semibold mt-8 mb-4">Installation</h2>
<p className="mb-4">To install ProxMenux, simply run the following command in your Proxmox server terminal:</p>
<CopyableCode code={installationCode} />
<div className="overflow-x-auto max-w-full">
<CopyableCode code={installationCode} />
</div>
<h2 className="text-2xl font-semibold mt-8 mb-4">How to Use</h2>
<p className="mb-4">
Once installed, launch <strong>ProxMenux</strong> by running:
</p>
<CopyableCode code="menu" />
<br />
<br />
<br />
<br />
<div className="overflow-x-auto max-w-full">
<CopyableCode code="menu" />
</div>
<h2 className="text-2xl font-semibold mt-8 mb-4">Troubleshooting</h2>
<p className="mb-4">
If you encounter any issues during installation or usage, please check the{" "}
@ -33,4 +36,3 @@ export default function InstallationPage() {
</div>
)
}

View File

@ -1,15 +1,15 @@
import type React from "react"
import DocSidebar from "@/components/DocSidebar"
import Footer from "@/components/footer"
import type React from "react"
export default function DocsLayout({ children }: { children: React.ReactNode }) {
export default function DocsLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<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 />
<div className="flex flex-col md:flex-row min-h-screen pt-40 md:pt-16">
<DocSidebar />
<main className="flex-1 p-4 md:p-6 mt-4 md:mt-0">{children}</main>
</div>
)
}

View File

@ -66,10 +66,7 @@ export default function RootLayout({
<body className={`${inter.className} bg-background text-foreground antialiased`}>
<Navbar />
<MouseMoveEffect />
<div className="flex flex-col md:flex-row min-h-screen pt-28 md:pt-16">
<DocSidebar />
<main className="flex-1 p-4 md:p-6">{children}</main>
</div>
<div className="pt-16 md:pt-16">{children}</div>
</body>
</html>
)