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> <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> <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> <h2 className="text-2xl font-semibold mt-8 mb-4">How to Use</h2>
<p className="mb-4"> <p className="mb-4">
Once installed, launch <strong>ProxMenux</strong> by running: Once installed, launch <strong>ProxMenux</strong> by running:
</p> </p>
<CopyableCode code="menu" />
<br /> <div className="overflow-x-auto max-w-full">
<br /> <CopyableCode code="menu" />
<br /> </div>
<br />
<h2 className="text-2xl font-semibold mt-8 mb-4">Troubleshooting</h2> <h2 className="text-2xl font-semibold mt-8 mb-4">Troubleshooting</h2>
<p className="mb-4"> <p className="mb-4">
If you encounter any issues during installation or usage, please check the{" "} If you encounter any issues during installation or usage, please check the{" "}
@ -33,4 +36,3 @@ export default function InstallationPage() {
</div> </div>
) )
} }

View File

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

View File

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