Organizations block: the Partners page's cards, picked one by one or every one of a kind

Migration 093 adds the 'organizations' block type (rebuilding
content_blocks for its CHECK, as 088 did), content_blocks.org_kind and
content_block_items.org_id. OrgListCards takes `nested` for a block:
no page gutter, names a level under the block's heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-11 03:23:58 -06:00
parent e9ea75a68d
commit bd271ef02d
8 changed files with 182 additions and 13 deletions

View file

@ -45,6 +45,7 @@ export type ContentBlock = {
| 'people'
| 'map'
| 'events'
| 'organizations'
text?: string | null
media?: string | null
href?: string | null
@ -56,6 +57,8 @@ export type ContentBlock = {
cite?: string | null
/** A list block's style (092): null bold text, 'plain' the old look. */
list_style?: 'plain' | null
/** An organizations block's kind, listed when none are picked (093). */
org_kind?: 'region' | 'group' | 'partner' | 'ministry' | null
/** A video block's WebVTT file, for an uploaded video (066). */
captions?: string | null
items?: ContentBlockItem[]
@ -138,6 +141,8 @@ export type ContentBlockItem = {
/** A featured event's heading and subheading (090). */
heading?: string | null
subheading?: string | null
/** An organizations block's organization (093). */
org_id?: string | null
/** A block entry's sub-items. */
items?: ContentBlockItem[]
/** Its block's tags it has, by key (087). */