feat: FaqBlock layer for the SummerCMS FAQ API

- typed client and useFaq/useFaqApi (SSR, faq:<slug>:<locale> key,
  server and public bases, x-forwarded-for forwarded also on cached renders)
- FaqBlock, FaqList and FaqItem: native details, exclusive and openFirst,
  server-sanitized description and answers, nothing or #fallback on 404,
  error or no items
- FAQ tokens and base CSS with the .faq-html rules, README
- node client tests and a playground SSR smoke against a fixture API
This commit is contained in:
2026-10-12 18:22:03 +02:00
commit 2d62924b78
26 changed files with 7834 additions and 0 deletions

View File

@@ -0,0 +1 @@
{ "data": { "name": "Empty", "slug": "empty", "locale": "en", "description": null, "content": [] } }