refactor(pages): remove fixed hero group from Pages collection

Hero content is now handled via HeroBlock/HeroSliderBlock in the
flexible layout blocks system, giving editors full control.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Porwoll 2026-02-16 11:17:11 +00:00
parent 9f7a9ad558
commit 8abf3a346e

View file

@ -76,27 +76,6 @@ export const Pages: CollectionConfig = {
description: 'URL-Pfad (z.B. "ueber-uns" / "about-us")',
},
},
{
name: 'hero',
type: 'group',
fields: [
{
name: 'image',
type: 'upload',
relationTo: 'media',
},
{
name: 'headline',
type: 'text',
localized: true,
},
{
name: 'subline',
type: 'textarea',
localized: true,
},
],
},
{
name: 'layout',
type: 'blocks',