feat: Next 16 + Payload 3 scaffold with Kaniko CI and Swarm deploy (#1)
Some checks failed
ci/woodpecker/push/web Pipeline failed
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>
This commit was merged in pull request #1.
This commit is contained in:
33
src/globals/Contact.ts
Normal file
33
src/globals/Contact.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
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.",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user