Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API. Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
843 B
TypeScript
31 lines
843 B
TypeScript
import { ScrollReaderShell } from "@ebook/components/ScrollReaderShell";
|
||
import type { Metadata } from "next";
|
||
import { VipEbookShell } from "../ebook/VipEbookShell";
|
||
import { loadVipEbookAsBook } from "../lib/loadVipEbookBook";
|
||
|
||
export const dynamic = "force-dynamic";
|
||
|
||
export const metadata: Metadata = {
|
||
title: "阅读 | 数字游民",
|
||
description: "数字游民:地理套利与自动化杠杆。",
|
||
};
|
||
|
||
/**
|
||
* 与 /book/read 同一套 ScrollReaderShell UI;
|
||
* 正文来自 VIP 原 ebook.md(不是游牧代码小册)。
|
||
*/
|
||
export default function VipEbookReadPage() {
|
||
const { book, chapters } = loadVipEbookAsBook();
|
||
|
||
return (
|
||
<VipEbookShell>
|
||
<ScrollReaderShell
|
||
book={book}
|
||
chapters={chapters}
|
||
affiliateRules={[]}
|
||
adSlots={{ mid: "", end: "" }}
|
||
/>
|
||
</VipEbookShell>
|
||
);
|
||
}
|