Some checks failed
ci/woodpecker/push/web Pipeline failed
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
34 lines
858 B
TypeScript
34 lines
858 B
TypeScript
import type { GlobalConfig } from "payload";
|
|
|
|
export const Contact: GlobalConfig = {
|
|
slug: "contact",
|
|
access: { read: () => true },
|
|
fields: [
|
|
{
|
|
name: "availabilityBadge",
|
|
type: "text",
|
|
defaultValue: "Accepting new inquiries",
|
|
},
|
|
{ name: "timezoneLabel", type: "text", defaultValue: "America/Chicago" },
|
|
{ name: "directEmail", type: "email" },
|
|
{
|
|
name: "socialLinks",
|
|
type: "array",
|
|
fields: [
|
|
{ name: "label", type: "text", required: true },
|
|
{ name: "href", type: "text", required: true },
|
|
{ name: "icon", type: "text" },
|
|
],
|
|
},
|
|
{
|
|
name: "newsletterEnabled",
|
|
type: "checkbox",
|
|
defaultValue: false,
|
|
admin: {
|
|
description:
|
|
"Enable the newsletter subscribe UI. Keep false until Mautic is deployed.",
|
|
},
|
|
},
|
|
],
|
|
};
|