import { EtibBlock } from './types';
import { TeamGridBlock as TeamGridComponent } from '@/components/blocks/TeamGridBlock';

export const TeamGrid: EtibBlock = {
  slug: 'teamGrid',
  interfaceName: 'TeamGridBlock',
  render: TeamGridComponent,
  fields: [
    {
      name: 'title',
      type: 'text',
      localized: true,
      defaultValue: 'Ihre Ansprechpartner',
    },
    {
      name: 'subtitle',
      type: 'text',
      localized: true,
      defaultValue: 'Sprechen Sie direkt mit unseren Experten für Ihr regionales Projekt.',
    },
    {
      name: 'filterBranch',
      type: 'select',
      options: [
        { label: 'All', value: 'all' },
        { label: 'E-TIB GmbH', value: 'e-tib' },
        { label: 'Bohrtechnik', value: 'bohr' },
        { label: 'Ingenieurgesellschaft', value: 'ing' },
      ],
      defaultValue: 'all',
    },
  ],
};
