nomadro/src/modules/social/components/EbookClient.tsx
Eric 6e15868e04 Add isolated 游民社区 (/social) with social_svc and document test5.
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>
2026-11-01 11:24:21 +08:00

39 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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>
);
}