Skip to content

Give product pages a hero, and keep the owl the same at every size. - #10

Merged
suthat merged 1 commit into
mainfrom
feat/site-product-surface
Aug 27, 2026
Merged

Give product pages a hero, and keep the owl the same at every size.#10
suthat merged 1 commit into
mainfrom
feat/site-product-surface

Conversation

@suthat

@suthat suthat commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Product pages now share one hero (kicker, summary, actions, visual) from scripts/site/marketing.mjs, so a positioning change is one edit instead of two hundred HTML files.
  • check-site.mjs treats that visual as a contract: a product page without a hero, a nav that drifted, banned marketing copy, or a stylesheet without a content hash fails the build.
  • Every tab, install, and social size is rasterised from the same guardian owl mark (pnpm brand:build), plus a web manifest. The site/ HTML is the regenerated output — pnpm site:check fails if it is not rebuilt.

Test plan

  • pnpm site:check passes (generator current, and the committed site satisfies the new checks)
  • Home, vet, agent-config, MCP, offline, coverage, and the four compare pages each show a product visual above the long-form copy
  • Primary nav is the same order on every page; 404 is noindex,follow
  • Favicon, Apple touch icon, 512 icon, and og.png all use the same owl geometry
  • No JS, font CDN, or host outside the allowlist shipped

Made with Cursor

Heroes, CTAs, and visuals now live in one module so a positioning change is one edit. The checker refuses a product page that forgot to show the product, and every raster icon is generated from the same mark the tab already uses.

Signed-off-by: suthat <suthat@do.in.th>
Co-authored-by: Cursor <cursoragent@cursor.com>
@suthat
suthat merged commit 29a1a01 into main Aug 27, 2026
4 of 5 checks 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