feat(website): add search-intent titles, FAQ schema, and breadcrumbs
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 1m2s
All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 1m2s
Give Google unique snippets and FAQ rich results, and keep robots/sitemap from being cached as HTML. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
30
docs/design/website-seo-faq.md
Normal file
30
docs/design/website-seo-faq.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Home FAQ (SEO)
|
||||
|
||||
## User + job
|
||||
|
||||
Someone comparing LexAI to Grammarly or Copilot gets a direct answer without leaving Home. Success: they install or open Docs.
|
||||
|
||||
## Flow
|
||||
|
||||
Home → FAQ section → expand one question → Docs or store CTA already on the page. Target: read in place (0 extra pages).
|
||||
|
||||
## Screen states
|
||||
|
||||
| State | What |
|
||||
| --- | --- |
|
||||
| Success | Five `<details>`; first collapsed |
|
||||
| Empty / loading / error / offline | Static copy; no extra states |
|
||||
|
||||
## Copy
|
||||
|
||||
Questions and answers live in `packages/website/src/faq.json` only (visible text = JSON-LD).
|
||||
|
||||
## Accessibility
|
||||
|
||||
`summary` min-height 44px; native details/summary keyboard. Breadcrumbs: `nav aria-label="Breadcrumb"` on Docs, Contribute, Community.
|
||||
|
||||
## Acceptance
|
||||
|
||||
1. Home `#faq` shows the five Q&As from `faq.json`.
|
||||
2. Built `dist/index.html` includes `FAQPage` JSON-LD with the same questions.
|
||||
3. Docs/Contribute/Community show Home / current breadcrumbs.
|
||||
Reference in New Issue
Block a user