feat: manage event detail fallback media via payload

This commit is contained in:
syntaxbullet
2026-06-22 12:35:05 +02:00
parent 9d2994ecdf
commit a2c4df74e9
5 changed files with 36 additions and 5 deletions

View File

@@ -130,6 +130,15 @@ export const Events: CollectionConfig = {
'Shared labels, status/update labels, subscription copy, CTAs, and formatting copy for the Event detail route.',
},
fields: [
{
name: 'fallbackImage',
type: 'upload',
relationTo: 'media',
label: 'Fallback hero image',
admin: {
description: `Current frontend fallback image: /images/${eventDetailContent.fallbackImageFilename}`,
},
},
{
name: 'notFound',
label: 'Not found state',