Rich marketing surfaces: products, whitepaper, get-started, sign-in
004-marketing-surfaces
Restores the richer marketing experience the OAP-era statecraft web app carried, ported onto the static apex: a products/architecture page, a papers index with a full whitepaper reader (sticky TOC, reading-progress, scroll-spy, inline references) and an interactive clickable-SVG architecture explorer, and a get-started walkthrough. It expands the site chrome (Products, Papers, Get Started in the nav) and adds a sign-in link that hands off to the control plane's login initiator at app.statecraft.ing/api/v1/auth/login. All content is re-authored to be truthful and checkable against the current public repos (no fabricated hashes, spec counts, signatures, or dead subsystems): the OAP name becomes Statecraft, and factory-encore / template-encore become enrahitu. The site stays fully static and prerendered, with zero runtime off-origin requests; sign-in is a plain outbound link, not an auth flow this site runs.
- Establishes
- app/routes/products.tsx
- app/routes/papers.tsx
- app/routes/papers.$slug.tsx
- app/routes/get-started.tsx
- app/components/paper-reader.tsx
- app/components/architecture-explorer.tsx
- app/components/sign-in-link.tsx
- app/components/icons.tsx
- app/lib/whitepaper.ts
- app/lib/papers.ts
- app/lib/products.ts
- app/lib/explorer-diagrams.ts
- app/lib/get-started.ts
- Sections
- 004: Rich marketing surfaces
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 Chrome and navigation
- 3.2 Sign-in
- 3.3 Products / architecture (`/products`)
- 3.4 Papers and the whitepaper reader (`/papers`, `/papers/:slug`)
- 3.5 Get started (`/get-started`)
- 3.6 Static and dependency posture
- 4. Acceptance
- 5. Out of scope
- 6. Status (2026-07-16): complete
- Source
- specs/004-marketing-surfaces/spec.md @ 4ca583741950as of 2026-07-21 ยท shard d9657ee52f8b