Update Faq

This commit is contained in:
MacRimi 2025-03-07 17:46:15 +01:00
parent 652c45cecd
commit 8f3f57ce57
3 changed files with 66 additions and 70 deletions

View File

@ -6,7 +6,6 @@ import * as gfm from "remark-gfm"
import dynamic from "next/dynamic" import dynamic from "next/dynamic"
import React from "react" import React from "react"
import parse from "html-react-parser" import parse from "html-react-parser"
import Footer from "@/components/footer"
const CopyableCode = dynamic(() => import("@/components/CopyableCode"), { ssr: false }) const CopyableCode = dynamic(() => import("@/components/CopyableCode"), { ssr: false })
@ -15,21 +14,21 @@ async function getCodeOfConductContent() {
const codeOfConductPath = path.join(process.cwd(), "..", "CODE_OF_CONDUCT.md") const codeOfConductPath = path.join(process.cwd(), "..", "CODE_OF_CONDUCT.md")
if (!fs.existsSync(codeOfConductPath)) { if (!fs.existsSync(codeOfConductPath)) {
console.error("❌ Archivo CODE_OF_CONDUCT.md no encontrado.") console.error("CODE_OF_CONDUCT.md file not found.");
return "<p class='text-red-600'>Error: No se encontró el archivo CODE_OF_CONDUCT.md</p>" return "<p class='text-red-600'>Error: CODE_OF_CONDUCT.md file not found.</p>";
} }
const fileContents = fs.readFileSync(codeOfConductPath, "utf8") const fileContents = fs.readFileSync(codeOfConductPath, "utf8");
const result = await remark() const result = await remark()
.use(gfm.default || gfm) .use(gfm.default || gfm)
.use(html) .use(html)
.process(fileContents) .process(fileContents);
return result.toString() return result.toString();
} catch (error) { } catch (error) {
console.error("❌ Error al leer el archivo CODE_OF_CONDUCT.md", error) console.error("Error reading the CODE_OF_CONDUCT.md file", error);
return "<p class='text-red-600'>Error: No se pudo cargar el contenido del Código de Conducta.</p>" return "<p class='text-red-600'>Error: Unable to load the Code of Conduct content.</p>";
} }
} }
@ -61,10 +60,8 @@ export default async function CodeOfConductPage() {
return ( return (
<div className="min-h-screen bg-white text-gray-900"> <div className="min-h-screen bg-white text-gray-900">
<div className="container mx-auto px-4 py-16" style={{ maxWidth: "980px" }}> <div className="container mx-auto px-4 py-16" style={{ maxWidth: "980px" }}>
<h1 className="text-4xl font-bold mb-8">Code of Conduct</h1>
<div className="prose max-w-none text-[16px]">{parsedContent}</div> <div className="prose max-w-none text-[16px]">{parsedContent}</div>
</div> </div>
<Footer />
</div> </div>
) )
} }

View File

@ -49,9 +49,13 @@ export default function FaqPage() {
What is ProxMenux, and what is it used for? What is ProxMenux, and what is it used for?
</h3> </h3>
<p className="mb-4"> <p className="mb-4">
<strong>ProxMenux</strong> is an interactive menu-driven tool designed to make <strong>Proxmox VE</strong> accessible to <strong>ProxMenux</strong> is an interactive menu-driven tool designed to make <strong>Proxmox VE</strong> more accessible
all users, regardless of their technical experience. It allows users to execute commands and manage Proxmox VE to all users, regardless of their technical experience. It simplifies command execution, allowing users to perform
without requiring advanced Linux knowledge. actions on their system without requiring advanced Linux knowledge.
</p>
<p className="mb-4">
For less experienced users, <strong>ProxMenux</strong> provides an intuitive way to run commands through a structured
menu interface, reducing the need for manual terminal input.
</p> </p>
<p className="mb-4"> <p className="mb-4">
Proxmox VE is widely used for: Proxmox VE is widely used for:
@ -84,72 +88,67 @@ export default function FaqPage() {
</pre> </pre>
{/* 3⃣ Compatibility */} {/* 3⃣ Compatibility */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">3 Is ProxMenux compatible with all Proxmox versions?</h2>
<StepNumber number={3} />
Is ProxMenux compatible with all Proxmox versions?
</h3>
<p className="mb-4"> <p className="mb-4">
No, <strong>ProxMenux is only compatible with Proxmox VE 8 and later versions.</strong> No, <strong>ProxMenux is only compatible with Proxmox VE 8 and later versions.</strong>
</p> </p>
{/* 4⃣ Customization */} {/* 4⃣ Customization */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">4 Can I customize ProxMenux?</h2>
<StepNumber number={4} />
Can I customize ProxMenux?
</h3>
<p className="mb-4"> <p className="mb-4">
The core scripts cannot be modified directly as they are hosted on GitHub, but you can personalize the The core scripts cannot be modified directly as they are hosted on GitHub, but you can personalize
<strong> console logo </strong> using the <strong> FastFetch </strong> tool in the Post-Install options. the <strong>console logo</strong> using the <strong>FastFetch</strong> tool in the <strong>Post-Install options</strong>.
</p> </p>
{/* 5⃣ Updates */} {/* 5⃣ Updates */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">5 How do I update ProxMenux?</h2>
<StepNumber number={5} />
How do I update ProxMenux?
</h3>
<p className="mb-4"> <p className="mb-4">
When a new version is available, ProxMenux will automatically detect it upon launch and ask if you want to update. When a new version is available, ProxMenux will automatically detect it upon launch and ask
The update process will replace utility files and configurations. if you want to update. The update process will replace utility files and configurations.
</p> </p>
{/* 6⃣ Reporting Issues */} {/* 6⃣ Reporting Issues */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">6 Where can I report issues?</h2>
<StepNumber number={6} />
Where can I report issues?
</h3>
<p className="mb-4"> <p className="mb-4">
If you encounter bugs or errors, report them in the{" "} If you encounter bugs or errors, report them in the{" "}
<Link href="https://github.com/MacRimi/ProxMenux/issues" className="text-blue-500 hover:underline"> <Link href="https://github.com/MacRimi/ProxMenux/issues" className="text-blue-500 hover:underline">Issues section</Link>.
Issues section
</Link>.
</p> </p>
{/* 7⃣ Contributing */} {/* 7⃣ Contributing */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">7 Can I contribute to ProxMenux?</h2>
<StepNumber number={7} />
Can I contribute to ProxMenux?
</h3>
<p className="mb-4"> <p className="mb-4">
Yes! ProxMenux is an open-source project, and contributions are welcome. Yes! ProxMenux is an open-source project, and contributions are welcome.
You can share ideas or discuss improvements in the{" "} You can share ideas or discuss improvements in the{" "}
<Link href="https://github.com/MacRimi/ProxMenux/discussions" className="text-blue-500 hover:underline"> <Link href="https://github.com/MacRimi/ProxMenux/discussions" className="text-blue-500 hover:underline">Discussions section</Link>.
Discussions section
</Link>.
Make sure to check the{" "} Make sure to check the{" "}
<Link href="https://github.com/MacRimi/ProxMenux/blob/main/CODE_OF_CONDUCT.md" className="text-blue-500 hover:underline"> <Link href="https://github.com/MacRimi/ProxMenux/blob/main/CODE_OF_CONDUCT.md" className="text-blue-500 hover:underline">Code of Conduct & Best Practices</Link>.
Code of Conduct & Best Practices
</Link>.
</p> </p>
{/* 8⃣ System Modifications */} {/* 8⃣ Modifying System Files */}
<h3 className="text-xl font-semibold mt-16 mb-4 flex items-center"> <h2 className="text-2xl font-semibold mt-8 mb-4">8 Does ProxMenux modify critical system files?</h2>
<StepNumber number={8} />
Does ProxMenux modify critical system files?
</h3>
<p className="mb-4"> <p className="mb-4">
No, <strong>ProxMenux does not modify critical Proxmox system files.</strong> No, <strong>ProxMenux does not modify critical Proxmox system files.</strong>
It only installs dependencies and downloads its scripts into{" "} It installs dependencies (whiptail, curl, jq, Python3), sets up a virtual environment for translations, and downloads its scripts into
<code className="bg-gray-200 px-1 rounded">/usr/local/share/proxmenux/</code>. <code className="bg-gray-200 px-1 rounded">/usr/local/share/proxmenux/ and the executable menu into /usr/local/bin/</code>.
It does not interfere with Proxmox's core operations.
</p>
{/* 9⃣ Production Use */}
<h2 className="text-2xl font-semibold mt-8 mb-4">9 Is it safe to use ProxMenux in production?</h2>
<p className="mb-4">
Yes, ProxMenux is <strong>safe for production</strong>.
Since it does not modify core Proxmox files, it can be used in production environments.
However, it is always recommended to test it in a controlled environment first.
</p>
{/* 🔟 Uninstallation */}
<h2 className="text-2xl font-semibold mt-8 mb-4">🔟 How do I uninstall ProxMenux?</h2>
<p className="mb-4">
You can uninstall ProxMenux from the **Settings menu** using the **Uninstall ProxMenux** option.
Detailed steps can be found in the{" "}
<Link href="https://macrimi.github.io/ProxMenux/docs/settings/uninstall-proxmenux" className="text-blue-500 hover:underline">
Uninstall Guide
</Link>.
</p> </p>
</div> </div>
); );

View File

@ -52,12 +52,12 @@ export default function ExternalRepositoriesPage() {
{/* Introduction */} {/* Introduction */}
<p className="mb-4"> <p className="mb-4">
ProxMenux integrates with selected external repositories to provide alternative scripts for ProxMenux integrates with selected external repositories to provide alternative scripts for
various functionalities. These scripts come from **trusted sources** and serve as additional various functionalities. These scripts come from <strong>trusted sources</strong> and serve as additional
options in some menu sections. options in some menu sections.
</p> </p>
<p className="mb-4"> <p className="mb-4">
When an external script is available as an alternative, **ProxMenux will clearly indicate that it When an external script is available as an alternative, ProxMenux will clearly indicate that it
originates from an external repository and specify which one.** originates from an external repository and specify which one.
</p> </p>
{/* 1⃣ Example of External Repository */} {/* 1⃣ Example of External Repository */}
@ -88,11 +88,11 @@ export default function ExternalRepositoriesPage() {
{/* 3⃣ Reporting Issues with External Scripts */} {/* 3⃣ Reporting Issues with External Scripts */}
<SectionHeader number={3} title="Reporting Issues with External Scripts" /> <SectionHeader number={3} title="Reporting Issues with External Scripts" />
<p className="mb-4"> <p className="mb-4">
If you encounter an issue with an external script, **please report it directly to the original If you encounter an issue with an external script, <strong>please report it directly to the original
repository** instead of opening an issue in the ProxMenux repository. repository</strong> instead of opening an issue in the ProxMenux repository.
</p> </p>
<p className="mb-4"> <p className="mb-4">
**ProxMenux does not modify external scripts**; it simply provides a link to the original source. <strong>ProxMenux does not modify external scripts</strong>; it simply provides a link to the original source.
Therefore, any problems related to functionality should be reported to the respective developers. Therefore, any problems related to functionality should be reported to the respective developers.
</p> </p>