From 92435a088f8fca087e536a8779875c269ba64b32 Mon Sep 17 00:00:00 2001
From: MacRimi <123239993+MacRimi@users.noreply.github.com>
Date: Sun, 16 Feb 2025 12:56:04 +0100
Subject: [PATCH] Update page.tsx
---
web/app/guides/page.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/app/guides/page.tsx b/web/app/guides/page.tsx
index ebe15d5..4dd2e31 100644
--- a/web/app/guides/page.tsx
+++ b/web/app/guides/page.tsx
@@ -3,7 +3,7 @@ import fs from "fs"
import path from "path"
import matter from "gray-matter"
import Link from "next/link"
-import Footer from "@/components/footer"
+import Footer from "@/components/footer2"
const guidesDirectory = path.join(process.cwd(), "..", "guides")
@@ -26,7 +26,7 @@ function getGuides(): Guide[] {
} else if (entry.isFile() && entry.name.endsWith(".md")) {
const slug = relativePath.replace(/\.md$/, "")
- // 🔹 Extraer metadatos usando gray-matter
+
const fileContents = fs.readFileSync(fullPath, "utf8")
const { data } = matter(fileContents)
@@ -64,7 +64,7 @@ export default function GuidesPage() {
))}
-
+
)
}