import fs from "fs";
import path from "path";
import MarkdownRenderer from "../components/MardownRenderer";

export default function YoutubePage() {
  const filePath = path.join(process.cwd(), "app/Youtube/todo.md");
  const markdown = fs.readFileSync(filePath, "utf8");

  return (
    <div className="p-8">
      <MarkdownRenderer content={markdown} />
    </div>
  );
}
