Content blocks: Shown in the page, the card only, or both (migration 071)
A card block also showed on the record's page (the pages printed the card's paragraphs above the body), which the editor didn't say. Shown in now offers The page, The card only, and The card and the page. Every existing card block becomes both, so nothing on the site moves; the pages no longer print card paragraphs, and a both block comes with the page's blocks, in its place in the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b55b088e16
commit
8d6bb8c2b8
10 changed files with 103 additions and 32 deletions
|
|
@ -84,12 +84,6 @@ export default function OrganizationDetail() {
|
|||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<Facts org={org} accent={accent} />
|
||||
|
||||
{org.description.map((paragraph, index) => (
|
||||
<p key={index} className="leading-relaxed max-w-3xl" style={{ color: BODY }}>
|
||||
{paragraph}
|
||||
</p>
|
||||
))}
|
||||
|
||||
<div className="max-w-3xl">
|
||||
<ContentBlocks blocks={org.blocks} accent={accent} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue