Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
1.4 KiB
1.4 KiB
Why
Marketing staff will build a landing page for every event and are not technical. Today's blocks (hero, text, image with text, FAQ, form, custom HTML) cannot produce a page like the INS design without pasting HTML, which only a developer can maintain. This is change 1 of the page builder: docs/superpowers/specs/2026-12-03-page-builder-design.md.
What Changes
- New section types: FEATURES (icon cards), STEPS (numbered steps), TRUST (a strip of short items) and CTA (a call-to-action band).
- Every section gets a look: Default, Muted, Dark or Accent (the company colour), drawn as a full-width band with readable text. Default keeps today's appearance, so existing pages do not change.
- A HERO image becomes optional.
- The form editor gains the new types, their fields and the look picker; labels in English and Chinese.
Capabilities
New Capabilities
None.
Modified Capabilities
landing-pages: new section types, section looks, optional hero image.
Impact
- services-counter:
CmsBlockgainslookandcards;CmsBlockValidatorrules for the new types. No DDL (blocks are JSON). - mobile-api: none (blocks pass through).
- Portal:
cmsPages.ts,CmsBlocks.tsx,BlockFields.tsx,PageEditor.tsx(add buttons), labels. - SQL:
sql/01-section-labels.sql,sql/99-rollback.sql(labels only). - Rollback: the previous release refuses the new types and fields when such a page is saved, and renders unknown types as nothing.