Skip to content

feat(website): custom landing with Hero, Mermaid workflow, features (PR3)#165

Merged
montfort merged 1 commit into
mainfrom
feat/website-landing
May 18, 2026
Merged

feat(website): custom landing with Hero, Mermaid workflow, features (PR3)#165
montfort merged 1 commit into
mainfrom
feat/website-landing

Conversation

@montfort
Copy link
Copy Markdown
Contributor

Summary

Third and final planned PR for the website rollout. Replaces the PR1 placeholder landing with a full home composed from four sections, fully translated to Spanish.

Section Component Notes
Hero src/components/Hero/ H1 tagline, 3 pillars, dual CTA: install oneliner (CodeBlock) + buttons to /docs and /blog
Workflow diagram src/components/WorkflowDiagram/ Mermaid flowchart of Human ↔ Agent ↔ StrayMark loop
Why this exists src/components/WhyExists/ Positioning lead from Aparador/Categorización/Posicionamiento-completo §3
Features src/components/FeatureGrid/ 6 cards linking to docs (discipline, repo-native, governance, evidence, CLI, TDE)

Mermaid

Enables @docusaurus/theme-mermaid and markdown.mermaid: true. The home workflow is rendered via <Mermaid value={...}>; future MDX pages can use fenced mermaid blocks for free.

i18n

All user-facing copy is wrapped in <Translate> / translate() with stable IDs; full Spanish translation ships in website/i18n/es/code.json. The locale switcher on / lands you on a fully Spanish home at /es/.

Styling

CSS modules per component using Docusaurus CSS variables (--ifm-*), so the landing adapts to light and dark mode without extra logic.

Out of scope (deferred follow-ups)

  • Asciinema demo cast — no recording yet; placeholder skipped intentionally rather than shipping a fake. Add when the cast exists.
  • Footer badges (build, release, CLA, license) — needs decisions on which badges, where to source, real URLs.
  • Lighthouse pass — measure against the live site after deploy and tune if any score < 90.

Test plan

  • cd website && npm install
  • npm run start/ shows Hero + Mermaid diagram (light/dark mode renders both) + Why + 6 feature cards
  • Click each feature card → lands on the corresponding doc
  • Install code block is copyable; the two CTAs route to /docs and /blog
  • Locale switcher → /es/ shows the full Spanish landing (pillars, captions, features, why-paragraph all translated)
  • npm run build exits 0 with no new warnings beyond the pre-existing PR1 set
  • After merge, the Deploy Website Action runs green and the live landing is up at https://strangedaystech.github.io/straymark/
  • Run Lighthouse on the live landing; if anything < 90, file a follow-up

🤖 Generated with Claude Code

…PR3)

Third and last planned PR for the website rollout. Replaces the PR1
placeholder landing with a full home composed from four sections:

- Hero (src/components/Hero/) — H1 tagline ("Cognitive discipline for
  AI-assisted engineering"), three pillars (Track every decision · Detect
  drift empirically · Audit-ready by default), and a dual CTA: the install
  oneliner as a copyable CodeBlock + buttons to /docs and /blog.
- WorkflowDiagram (src/components/WorkflowDiagram/) — Mermaid flowchart
  of the Human ↔ Agent ↔ StrayMark loop (Spec → Charter → Plan → AILOG →
  Self-audit → TDE → Review → Audit trail). Enables
  @docusaurus/theme-mermaid and `markdown.mermaid: true`.
- WhyExists (src/components/WhyExists/) — one-paragraph positioning lead
  sourced from Aparador/Categorización/Posicionamiento-completo §3.
- FeatureGrid (src/components/FeatureGrid/) — 6 cards linking to docs:
  cognitive discipline, repo-native, agent governance, evidence as
  byproduct, CLI, TDE drift detection.

All copy is wrapped in <Translate> with i18n keys; full Spanish translation
ships in website/i18n/es/code.json so the locale switcher gives a fully
translated landing on /es/.

CSS modules per component with system-color-aware tokens (uses Docusaurus
CSS variables) so it works in light and dark mode.

Out of scope (deferred to follow-ups):
- Asciinema demo cast (no recording yet; placeholder skipped intentionally
  rather than shipping a fake)
- Footer badges (build / release / CLA) — needs real URLs and decisions
- Lighthouse pass against the live site (test after deploy)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit 8d4c4f4 into main May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant