diff --git a/web/app/guides/page.tsx b/web/app/guides/page.tsx index 8ac7798..1ac79c6 100644 --- a/web/app/guides/page.tsx +++ b/web/app/guides/page.tsx @@ -1,4 +1,3 @@ -import type React from "react" import fs from "fs" import path from "path" import matter from "gray-matter" @@ -14,7 +13,7 @@ interface Guide { } function getGuides(): Guide[] { - let guides: Guide[] = [] + const guides: Guide[] = [] function findGuides(dir: string, basePath = "") { fs.readdirSync(dir, { withFileTypes: true }).forEach((entry) => { @@ -26,7 +25,6 @@ function getGuides(): Guide[] { } else if (entry.isFile() && entry.name.endsWith(".md")) { const slug = relativePath.replace(/\.md$/, "") - const fileContents = fs.readFileSync(fullPath, "utf8") const { data } = matter(fileContents) @@ -48,10 +46,10 @@ export default function GuidesPage() { return (
-
+

ProxMenux Guides

Complementary guides to make the most of your Proxmox VE.

-
+
{guides.map((guide) => ( ))}
+

Additional Resources

+
+ +

Community Helper Scripts

+

+ Explore user-submitted guides and scripts for Proxmox VE from the community. +

+
+ +

Official Proxmox Documentation

+

+ Access the official Proxmox VE documentation for comprehensive guides and information. +

+
+