import fs from "fs" import path from "path" import ReactMarkdown from "react-markdown" import remarkGfm from "remark-gfm" import remarkBreaks from "remark-breaks" async function getChangelog() { const changelogPath = path.join(process.cwd(), "..", "CHANGELOG.md") try { const fileContents = fs.readFileSync(changelogPath, "utf8") return fileContents } catch (error) { console.error("Error reading changelog file:", error) return "Changelog content not found." } } export default async function ChangelogPage() { const changelogContent = await getChangelog() return (