This commit is contained in:
eric
2026-06-07 01:17:46 -05:00
parent 283d65d1d1
commit cd885f5fcd
110 changed files with 17876 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
import { readFileSync } from "fs";
import path from "path";
import { parseEbookMarkdown } from "../../../digital/lib/ebook";
import EbookClient from "./EbookClient";
export const metadata = {
title: "电子书 | 数字游民",
description: "数字游民:地理套利与自动化杠杆,低成本工作室、云手机、无人直播、出海掘金。",
};
export default function EbookPage() {
const mdPath = path.join(process.cwd(), "app/digital/data/ebook.md");
const source = readFileSync(mdPath, "utf-8");
const data = parseEbookMarkdown(source);
return <EbookClient data={data} />;
}