Ship portal module + /api/social/v1 SQLite backend separate from /community; update README for MiroTalk CSP and test5 as the next development branch. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
"use client";
|
||
|
||
import Link from "next/link";
|
||
import SiteShell from "./SiteShell";
|
||
import { SEED_EBOOKS } from "@social/lib/seed";
|
||
|
||
export default function EbookClient() {
|
||
return (
|
||
<SiteShell title="电子书">
|
||
<section className="social-hero">
|
||
<div className="social-hero-tag">UGC · ebook</div>
|
||
<h1>
|
||
社区小册
|
||
<br />
|
||
<span>玩法沉淀成可读内容</span>
|
||
</h1>
|
||
<p>社区向小册在此聚合;完整阅读器复用门户数字游民小册能力。</p>
|
||
</section>
|
||
<div className="social-grid">
|
||
{SEED_EBOOKS.map((b) => (
|
||
<article key={b.id} className="social-card">
|
||
<div className="social-card-top">
|
||
<span className="social-card-ico">📖</span>
|
||
<span className="social-badge">
|
||
{b.chapters} 章 · {b.minutes} 分
|
||
</span>
|
||
</div>
|
||
<strong>{b.title}</strong>
|
||
<p>{b.blurb}</p>
|
||
<Link className="social-btn" href="/book">
|
||
打开小册阅读器
|
||
</Link>
|
||
</article>
|
||
))}
|
||
</div>
|
||
</SiteShell>
|
||
);
|
||
}
|