new core element: cta (call-to-action strip) #91
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
A new
ctacore element: a full-width tinted call-to-action strip with centered content, distinct fromhero(which remains the page lead). Sidecar + shortcode + deckle theme CSS.Sidecar (
scaffold/editor/elements/cta.yaml):Heading is optional (button-only CTAs are legitimate) and renders smaller than hero's h2 — use h3, or a styled p when semantics would create a heading-level skip.
Acceptance criteria
themes/deckle/layouts/shortcodes/cta.htmlrenders heading + rte body with button chipsBlocked by
None - can start immediately
Triage confirmed — enhancement, ready-for-agent. The issue body is the authoritative agent brief.
Verified against the codebase: the proposed sidecar is valid against the current schema — rte
allow:lists andallowedInlinechips are established (text.yamlusesallowedInline: [button, icon]), and the deckle theme's shortcode layout directory is wherecta.htmlbelongs. New element ⇒scaffold/site/AGENTS.mdscaffold-layout notes may need touching per CLAUDE.md if the element list is enumerated there.