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:
parent
e9ea75a68d
commit
bd271ef02d
8 changed files with 182 additions and 13 deletions
|
|
@ -157,6 +157,8 @@ export const blocksChild = (ownerKind) => ({
|
|||
// A venue's map, and event cards (088).
|
||||
"map",
|
||||
"events",
|
||||
// Organization cards (093).
|
||||
"organizations",
|
||||
],
|
||||
{ required: true },
|
||||
),
|
||||
|
|
@ -177,6 +179,8 @@ export const blocksChild = (ownerKind) => ({
|
|||
text("venue_id"),
|
||||
// List blocks (092): null bold text, 'plain' the old look.
|
||||
enumeration("list_style", ["plain"]),
|
||||
// Organizations blocks (093): the kind listed when none are picked.
|
||||
enumeration("org_kind", ["region", "group", "partner", "ministry"]),
|
||||
],
|
||||
children: [
|
||||
{
|
||||
|
|
@ -212,6 +216,8 @@ export const blocksChild = (ownerKind) => ({
|
|||
// A featured event's heading and subheading (090).
|
||||
text("heading"),
|
||||
text("subheading"),
|
||||
// An organizations block's organization (093).
|
||||
text("org_id"),
|
||||
],
|
||||
children: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue