23 lines
545 B
TypeScript
23 lines
545 B
TypeScript
import { EtibBlock } from './types';
|
|
import { JobListingBlock as JobListingComponent } from '@/components/blocks/JobListingBlock';
|
|
|
|
export const JobListingBlock: EtibBlock = {
|
|
slug: 'jobListing',
|
|
interfaceName: 'JobListingBlock',
|
|
render: JobListingComponent,
|
|
fields: [
|
|
{
|
|
name: 'title',
|
|
type: 'text',
|
|
localized: true,
|
|
defaultValue: 'Aktuelle Stellenangebote',
|
|
},
|
|
{
|
|
name: 'showFairs',
|
|
type: 'checkbox',
|
|
defaultValue: true,
|
|
label: 'Nächste Messetermine anzeigen',
|
|
},
|
|
],
|
|
};
|