diff --git a/web/app/docs/post-install/customization/page.tsx b/web/app/docs/post-install/customization/page.tsx index b9d8a6a..1f66dbf 100644 --- a/web/app/docs/post-install/customization/page.tsx +++ b/web/app/docs/post-install/customization/page.tsx @@ -1,33 +1,5 @@ -import type { Metadata } from "next" import { Sliders } from "lucide-react" - -export const metadata: Metadata = { - title: "ProxMenux Post-Install: Customization Settings", - description: - "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", - openGraph: { - title: "ProxMenux Post-Install: Customization Settings", - description: - "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", - type: "article", - url: "https://macrimi.github.io/ProxMenux/docs/post-install/customization", - images: [ - { - url: "https://macrimi.github.io/ProxMenux/customization-settings-image.png", - width: 1200, - height: 630, - alt: "ProxMenux Customization Settings", - }, - ], - }, - twitter: { - card: "summary_large_image", - title: "ProxMenux Post-Install: Customization Settings", - description: - "Guide to Customization Settings in the ProxMenux post-install script for configuring the Proxmox VE environment.", - images: ["https://macrimi.github.io/ProxMenux/customization-settings-image.png"], - }, -} +import CodeBlock from "./code-block" function StepNumber({ number }: { number: number }) { return ( @@ -71,9 +43,8 @@ export default function CustomizationSettingsPage() {

This adjustment automates the following commands:

-
-
-          {`# Modify .bashrc for root
+      > /root/.bashrc
 echo 'export PS1="\\u@\\h:\\W \\\$ "' >> /root/.bashrc
 echo "alias ll='ls -alF'" >> /root/.bashrc
 source /root/.bashrc`}
-        
-
+ />

@@ -92,14 +62,12 @@ source /root/.bashrc`}

This option customizes the MOTD to display a ProxMenux optimization message upon login.

This adjustment automates the following commands:

-
-
-          {`# Backup original MOTD
+       temp && mv temp /etc/motd`}
-        
-
+ />

@@ -117,15 +85,13 @@ echo "This system is optimized by: ProxMenux" | cat - /etc/motd > temp && mv tem
  • Configures APT to prevent nagging messages
  • This adjustment automates the following commands:

    -
    -
    -          {`# Remove Proxmox subscription banner
    +       /etc/apt/apt.conf.d/xs-pve-no-nag`}
    -        
    -
    + />

    Customization Application

    diff --git a/web/components/code-block.tsx b/web/components/code-block.tsx new file mode 100644 index 0000000..12908fc --- /dev/null +++ b/web/components/code-block.tsx @@ -0,0 +1,36 @@ +"use client" + +interface CodeBlockProps { + code: string +} + +export default function CodeBlock({ code }: CodeBlockProps) { + return ( +
    +
    {code}
    + +
    + ) +} +