world-game/site/blueprints/blocks/white-paper.yml
isUnknown 8481dc5f90 add white-paper block type for articles
- Kirby block blueprint with page reference + editable bg/text colors
- PHP snippet renders the card with accessible markup (article, h3, button)
- WhitePaperDialog.svelte: native dialog with download form (a11y: labels, fieldset, autocomplete, focus management)
- Article.svelte: click detection on .wp-block__btn + dialog mount

refs #49

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 19:51:21 +02:00

20 lines
356 B
YAML

name: Livre blanc
icon: download
fields:
whitePaper:
label: Livre blanc
type: pages
max: 1
query: site.find('livres-blancs').children
image:
cover: true
ratio: 4/3
bgColor:
label: Couleur de fond
type: color
default: "#ffffff"
textColor:
label: Couleur de texte
type: color
default: "#000000"