feat: manage about highlight fallback copy via payload

This commit is contained in:
syntaxbullet
2026-06-22 12:51:51 +02:00
parent 856ab84252
commit 78af786a52
4 changed files with 55 additions and 11 deletions

View File

@@ -134,6 +134,16 @@ export const aboutFields: Field[] = [
textarea('heading', 'Heading', aboutContent.highlights.heading),
ctaGroup('cta', 'CTA', aboutContent.highlights.cta.label, aboutContent.highlights.cta.url),
text('hoverLabel', 'Card hover label', aboutContent.highlights.hoverLabel),
{
name: 'fallbackWinner',
label: 'Fallback winner text',
type: 'group',
fields: [
text('name', 'Name fallback', aboutContent.highlights.fallbackWinner.name),
text('category', 'Category fallback', aboutContent.highlights.fallbackWinner.category),
text('awardType', 'Award type fallback', aboutContent.highlights.fallbackWinner.awardType),
],
},
{
name: 'year',
label: 'Fallback winner year',