Skip to content

docs: redesign the Pages site and add search and AI metadata - #11

Merged
Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo
Nov 19, 2026
Merged

Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo

Conversation

@Schero94

Copy link
Copy Markdown
Owner

What changes

The MessageGate docs site moves to the shared theme that all eight Schero94 plugin sites use (pilot: Schero94/Magic-Mail#31), and gets search and AI metadata. All sections, ids, content and screenshots stay.

Design (shared site.css + site.js, byte-identical across the plugin sites)

  • The page is rebuilt on the shared skeleton: top bar, hero with the message timeline screenshot (its light, dark and phone <picture> sources kept), side navigation, content column, footer with hub links.
  • Spacing and type scale, 68ch line length, light and dark colours from tokens, AA contrast, visible focus, reduced motion, copy buttons on every code block.
  • New site-extra.css with only the orange accent (from the plugin icon) and three small rules (picture display, top links on small phones, full-width install steps).

Search and AI

  • 150-character description, robots meta, Twitter tags, img/og.jpg (1200x630, cut from the existing timeline screenshot), preload of the hero image.
  • JSON-LD @graph: SoftwareApplication (MIT, price 0, npm download URL, repository, author), BreadcrumbList (Schero94 > Plugins > Magic MessageGate) and FAQPage built from a new visible FAQ of six questions taken from the README FAQ and Costs section.
  • New robots.txt (allows Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot) and sitemap.xml. llms.txt now names the requirements and links the docs site, npm and the hub; llms-full.txt is unchanged (generated, --check passes).
  • A one-sentence definition in the hero and a "Use it when / Skip it when / Requirements" block.
  • Hub and docs link to each other; each page keeps its own canonical.

Facts synced with the README: Node.js ^22.21.0 || >=24.9.0 <=26.x.x (the hero said "Node.js 22 / 24"). No current package version on the page.

Checks

  • npm test: 159 pass, 0 fail. npx eslint . clean, npx prettier --check . clean (docs/site is prettier-ignored).
  • Playwright on a local server: zero horizontal overflow at 320, 390, 768, 1024 and 1440 px in light and dark, one h1, no broken anchors or duplicate ids, JSON-LD parses, first Tab reaches the skip link, reduced motion turns off smooth scrolling, no console errors.
  • Lighthouse 13.6 mobile, local: performance 100, accessibility 100, best practices 100, SEO 100 (live site before: 100 / 100 / 96 / 100).
  • Workbench scripts/check-plugin-pages.mjs still lists this site under its old name (Magic-WhatsApp, strapi-plugin-magic-whatsapp), so it reports the title, repository link and feature terms as missing. That entry needs updating in the workbench; the failures are the same as before this change.

Commit type docs:, so semantic-release publishes nothing.

🤖 Generated with Claude Code

Schero94 and others added 2 commits November 20, 2026 00:05
Move the site to the shared docs theme (site.css, site.js) used by every
Schero94 plugin site and rebuild the page on its skeleton: top bar, hero
with the message timeline screenshot (light, dark and phone versions
kept), side navigation, content column and a footer with links to the
plugin hub. Spacing and type scale, readable line length, light and
dark colours with AA contrast, copy buttons on every code block. The new
site-extra.css holds only the orange accent from the plugin icon and
three small layout rules.

Search and AI:
- 150-character description, robots meta, Twitter tags, og.jpg
  (1200x630, cut from the existing message timeline screenshot),
  preload of the hero image, breadcrumb (hub > plugins > MessageGate)
- JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built
  from the new visible FAQ, whose answers come from the README FAQ and
  the Costs section
- robots.txt (allows Googlebot, Google-Extended, GPTBot, ClaudeBot,
  PerplexityBot) and sitemap.xml; llms.txt now names the requirements
  and links the docs site, npm and the hub
- definition sentence in the hero and a "use it / skip it / requirements"
  block

Facts synced with the README: Node.js ^22.21.0 || >=24.9.0 <=26.x.x (the
hero said "Node.js 22 / 24"). The page names no current package version.

Docs read 2026-11-19: llmstxt.org (file layout), Google Search Central
"Software app structured data", schema.org FAQPage and BreadcrumbList.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fold the fixes found while rolling the theme out to all plugin sites into
the shared site.css: the install line in the hero no longer shows a code
box inside its box and its Copy button stays on one line, step lists use
the full content width, a <picture> in a screenshot is a block, and code
in table cells breaks anywhere only on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Schero94
Schero94 merged commit 42cc4ec into main Nov 19, 2026
14 checks passed
@Schero94
Schero94 deleted the docs/pages-design-seo branch November 19, 2026 23:26
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