Files
aibook-fun/marketing-site/pages/read/index.jsx
T

59 lines
2.2 KiB
React

import Head from "next/head";
import Link from "next/link";
import ReaderNav from "../../components/reader/ReaderNav";
import ReaderFooter from "../../components/reader/ReaderFooter";
import { LIBRARY, RECIPES } from "../../data/sample-chapter";
export default function ReadLibrary() {
return (
<>
<Head>
<title>Library · AIBook.fun reading demo</title>
<meta
name="description"
content="People read chapters, not a shelf of cards. Sample reading environment for AIBook.fun."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<ReaderNav />
<main>
<section className="section contents reader-library">
<div className="wrap reader-wide">
<span className="spec demo-chip">Reading demo · not the live book</span>
<h1 className="library-title">Chapters, not a shelf of cards.</h1>
<p className="library-lede">
Preview of the 2026 library. Real Estate is the chapter you can read.
The other verticals are listed as Coming. Full workflows nest in the
chapter, at the point they earn.
</p>
<div className="toc">
{LIBRARY.map((item) =>
item.status === "ready" ? (
<Link href={item.href} key={item.num}>
<span className="num">{item.num}</span>
<span className="name">{item.name}</span>
<span className="desc">{item.desc}</span>
<span className="toc-count">{RECIPES.length} workflows</span>
<span className="arrow" aria-hidden="true">
→
</span>
</Link>
) : (
<div className="toc-soon" key={item.num} aria-disabled="true">
<span className="num">{item.num}</span>
<span className="name">{item.name}</span>
<span className="desc">{item.desc}</span>
<span className="soon">Coming</span>
</div>
)
)}
</div>
</div>
</section>
</main>
<ReaderFooter />
</>
);
}