Files
j_kedzierski/src/globals/Footer.ts
T

45 lines
857 B
TypeScript

import type { GlobalConfig } from 'payload'
export const Footer: GlobalConfig = {
slug: 'footer',
access: {
read: () => true,
},
fields: [
{
name: 'navigation',
type: 'array',
fields: [
{
name: 'page',
type: 'relationship',
relationTo: 'pages',
required: true,
},
],
},
{
name: 'association',
type: 'group',
fields: [
{
name: 'title',
type: 'text',
localized: true,
defaultValue: 'Członek b.b.h. Lohnsteuerhilfeverein e.V.',
},
{
name: 'logo',
type: 'upload',
relationTo: 'media',
},
{
name: 'link',
type: 'text',
defaultValue: 'https://bbh-lohnsteuerhilfe.de',
}
]
}
],
}