feat: manage preistraeger fallback copy via payload

This commit is contained in:
syntaxbullet
2026-06-22 12:48:54 +02:00
parent 2eef1d8350
commit 856ab84252
7 changed files with 109 additions and 17 deletions

View File

@@ -100,6 +100,18 @@ export const preistraegerIndexFields: Field[] = [
fields: [
uploadField('fallbackImage', 'Fallback card image', `Current frontend fallback image: /images/${preistraegerIndexContent.card.fallbackImageFilename}`),
text('hoverLabel', 'Hover label', preistraegerIndexContent.card.hoverLabel),
{
name: 'fallbackWinner',
label: 'Missing winner field fallbacks',
type: 'group',
fields: [
text('name', 'Name', preistraegerIndexContent.card.fallbackWinner.name),
text('category', 'Category', preistraegerIndexContent.card.fallbackWinner.category),
text('awardType', 'Award type', preistraegerIndexContent.card.fallbackWinner.awardType),
text('location', 'Location', preistraegerIndexContent.card.fallbackWinner.location),
text('industry', 'Industry', preistraegerIndexContent.card.fallbackWinner.industry),
],
},
],
},
{