feat: add participation and network support pages, update about fields and home winners section
- Added support for '/teilnahme' and '/netzwerk' in findSupportPages function. - Updated the description in aboutFields to clarify the relationship with the homepage Preisträger grid. - Enhanced the About page by integrating HomeWinnersSection for better modularity. - Created HomeWinnersSection component to encapsulate winners display logic and improve code organization. - Removed unused WinnerCardData type and related logic from Home component.
This commit is contained in:
@@ -89,6 +89,9 @@ async function findSupportPages(payload: Awaited<ReturnType<typeof getPayload>>,
|
||||
{ spaPath: { equals: '/netzwerk' } },
|
||||
{ slug: { equals: 'netzwerk' } },
|
||||
{ slug: { equals: 'network' } },
|
||||
{ spaPath: { equals: '/teilnahme' } },
|
||||
{ slug: { equals: 'teilnahme' } },
|
||||
{ slug: { equals: 'participation' } },
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user