Skip to content

docs: re-skin to txn2 design system, add hero mark, OG card, SEO#84

Merged
cjimti merged 2 commits into
mainfrom
feat/docs-design-overhaul
Apr 27, 2026
Merged

docs: re-skin to txn2 design system, add hero mark, OG card, SEO#84
cjimti merged 2 commits into
mainfrom
feat/docs-design-overhaul

Conversation

@cjimti

@cjimti cjimti commented Apr 27, 2026

Copy link
Copy Markdown
Member

Summary

Brings the mcp-s3.txn2.com documentation site in line with the canonical txn2 design system (token-alignment level 2), matching the kubefwd and txeh adoptions, and ships the new canonical .hero__main + .hero__mark pattern alongside a proper SEO surface.

  • Re-skin (commit aad2a32): single dark slate palette, custom home.html template (rail, hero, flagship cards, terminal demos, stack list, coda, home-footer), Material chrome restyle on the slate scheme, restyled 404, single Google Fonts request loading Fraunces / Instrument Sans / JetBrains Mono.
  • Hero symbol mark (commit 19a18c2): geometric mark extracted from the historical MCP-S3 banner into docs/images/mcp-s3-symbol.svg (paper linework + signal-orange circle). Inlined into the hero so the accent path can breathe (6s scale animation, accelerates on hover, drops under prefers-reduced-motion). Hero rewired to a .hero__main flex layout with mark on the left, three-row Fraunces display on the right.
  • OG card + SEO: 1200x630 OG card at docs/images/mcp-s3-og.png (rasterised from mcp-s3-og.svg with rsvg-convert). docs/overrides/main.html carries the full SEO surface: og:image:type/width/height/alt, og:locale, og:site_name, per-page-aware og:title / twitter:title, JSON-LD SoftwareApplication, keywords, canonical, author. docs/llms.txt follows the llms.txt convention.
  • Sister-project links in the lede and ecosystem stack row now point at the doc sites (mcp-trino.txn2.com, mcp-datahub.txn2.com, mcp-data-platform.txn2.com), not GitHub repos.
  • DESIGN.md: new local adoption record (token-alignment level 2). The hero mark and SEO pattern are documented canonically in the matching upstream txn2/www/DESIGN.md change so sister projects can adopt the same treatment.

Visual

docs/images/mcp-s3-og.png (1200x630) is the same composition shown on the homepage hero: symbol on the left, Fraunces display on the right, mono metadata top and bottom, signal-orange registration ticks.

Test plan

  • python3 -m mkdocs build --strict passes locally (verified)
  • Homepage renders rail + hero (mark + display) + flagship cards + terminal demos + stack list + coda + home-footer
  • Inner pages (/server/, /library/, /reference/) inherit the slate scheme and the upstream Google Fonts
  • 404 page uses the same chrome
  • OG card resolves at https://mcp-s3.txn2.com/images/mcp-s3-og.png after deploy; preview in opengraph.xyz and the Twitter card validator
  • https://mcp-s3.txn2.com/llms.txt reachable
  • No em-dashes / en-dashes anywhere (grep -RE "—|–" docs/ mkdocs.yml returns empty)
  • Sister-project links go to docs sites, not GitHub
  • prefers-reduced-motion: reduce cancels the symbol breath, ticker, and rail spin

Companion change

Canonical pattern docs went into a separate commit on txn2/www (master, not yet pushed) so sister sites can adopt the same hero mark and SEO surface from one source of truth.

cjimti added 2 commits April 26, 2026 18:07
Re-skin mcp-s3.txn2.com to match the txn2 visual identity at
token-alignment level 2, mirroring the kubefwd and txeh adoptions.

- DESIGN.md records the local adoption decisions and defers to
  txn2/www DESIGN.md and tokens.json as the canonical source.
- mkdocs.yml: single dark slate palette, font: false so the
  upstream Google Fonts URL loads with trimmed axes, dropped
  light/dark toggle.
- docs/overrides/main.html: upstream Fraunces/Instrument Sans/
  JetBrains Mono link, OG and Twitter meta, skiplink.
- docs/overrides/home.html: custom homepage template with rail,
  hero, flagship server and library cards, terminal demos, stack
  list, coda, and home-footer.
- docs/overrides/404.html: restyled not-found page that inherits
  the rail and footer chrome.
- docs/stylesheets/extra.css: homepage components scoped under
  page--home plus Material chrome restyle on the slate scheme.
- docs/index.md: stub front matter pointing at home.html.
Implement the canonical .hero__main / .hero__mark pattern from the
upstream txn2/www DESIGN.md (which gained a new component spec for
this in the same change set). The mark anchors the hero on the left;
the typographic display lives to its right at a tuned smaller scale.

- docs/images/mcp-s3-symbol.svg: extracted geometric mark from the
  historical MCP-S3 banner. Two paths only: paper linework and a
  signal-orange circle. Inlined into home.html so the accent path
  can breathe via a 6s scale animation (accelerates on hover, drops
  under prefers-reduced-motion). overflow: visible on the SVG so
  the scaled circle does not clip at the viewBox edge.
- docs/overrides/home.html: hero rewired to .hero__main flex with
  the mark on the left and a flush-left three-row Fraunces display
  on the right. Asymmetric row indents removed (the mark anchors
  the left edge instead). Sister-project links in the lede and
  ecosystem stack row point at the docs sites, not GitHub repos.
- docs/stylesheets/extra.css: .hero__mark sized clamp(144px, 20vw,
  288px), display sized clamp(44px, 8vw, 140px). 880px breakpoint
  switches .hero__main to a vertical stack and shrinks the mark.
- docs/images/mcp-s3-og.svg + .png: 1200x630 social card mirroring
  the homepage hero (symbol left, typographic display right, mono
  metadata top and bottom, signal-orange registration ticks and
  URL). Rasterised with rsvg-convert.
- docs/overrides/main.html: full SEO surface. og:image points at
  the new card with width/height/type/alt; og:locale, og:site_name,
  per-page-aware og:title and twitter:title (homepage marquee vs.
  inner-page "Page · Site"); JSON-LD SoftwareApplication block;
  keywords; canonical; author.
- docs/llms.txt: llms.txt convention docs map.
- DESIGN.md: file map records the new SVG / PNG / llms.txt entries
  and notes that mcp-s3 is the first sister project to adopt the
  canonical hero mark pattern. Sister projects should follow the
  same extraction (square symbol, two paths, paper + signal).
@cjimti cjimti merged commit 3b03ea5 into main Apr 27, 2026
8 checks passed
@cjimti cjimti deleted the feat/docs-design-overhaul branch April 27, 2026 02:29
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