import { Block } from 'payload';

export const TeamLegacySection: Block = {
    slug: 'teamLegacySection',
    interfaceName: 'TeamLegacySectionBlock',
    fields: [
        {
            name: 'title',
            type: 'text',
            required: true,
        },
        {
            name: 'subtitle',
            type: 'text',
            required: true,
        },
        {
            name: 'paragraph1',
            type: 'textarea',
            required: true,
        },
        {
            name: 'paragraph2',
            type: 'textarea',
            required: true,
        },
        {
            name: 'expertiseTitle',
            type: 'text',
            required: true,
        },
        {
            name: 'expertiseDesc',
            type: 'text',
            required: true,
        },
        {
            name: 'networkTitle',
            type: 'text',
            required: true,
        },
        {
            name: 'networkDesc',
            type: 'text',
            required: true,
        },
        {
            name: 'backgroundImage',
            type: 'upload',
            relationTo: 'media',
            required: false,
        },
    ],
};
