Files
e-tib.com/src/payload/blocks/ContactSection.tsx
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

29 lines
759 B
TypeScript

import { EtibBlock } from './types';
import { ContactSection as ContactSectionComponent } from '@/components/blocks/ContactSection';
export const ContactSection: EtibBlock = {
slug: 'contactSection',
interfaceName: 'ContactSectionBlock',
render: ContactSectionComponent,
fields: [
{
name: 'showForm',
type: 'checkbox',
defaultValue: true,
label: 'Show Contact Form',
},
{
name: 'showMap',
type: 'checkbox',
defaultValue: true,
label: 'Show Map',
},
{
name: 'showHours',
type: 'checkbox',
defaultValue: true,
label: 'Show Opening Hours',
},
],
};