import type { Block } from 'payload' export const Hero: Block = { slug: 'hero', fields: [ { name: 'title', type: 'text', required: true, localized: true }, { name: 'subtitle', type: 'text', required: true, localized: true }, { name: 'primaryCta', type: 'text', required: true, localized: true }, { name: 'secondaryCta', type: 'group', fields: [ { name: 'text', type: 'text', localized: true }, { name: 'url', type: 'text' }, ], }, { name: 'yearsOfExperience', type: 'text', localized: true }, ], }