format fix
Build and Push Container / Build App (pull_request) Successful in 1m54s
Build and Push Container / Build App (push) Successful in 2m0s
Build and Push Container / Publish App (pull_request) Skipped
Build and Push Container / Publish App (push) Skipped

This commit is contained in:
LiamPietralla committed 2026-10-15 17:28:40 +11:00
1 parent f061457d7f
commit d34a8474fc
35 files changed
+466 -294

No files matched your search

+24 -24
View File
@@ -1,54 +1,54 @@
import { lucideOptions } from "@/lib/lucid-options";
import { revalidatePath } from "next/cache";
import { GlobalConfig } from "payload";
import { lucideOptions } from '@/lib/lucid-options'
import { revalidatePath } from 'next/cache'
import { GlobalConfig } from 'payload'
export const Home: GlobalConfig = {
slug: "home",
slug: 'home',
access: {
read: () => true,
},
fields: [
{
name: "mainLinks",
type: "array",
name: 'mainLinks',
type: 'array',
required: true,
fields: [
{
name: "title",
type: "text",
name: 'title',
type: 'text',
required: true,
},
{
name: "url",
type: "text",
name: 'url',
type: 'text',
required: true,
},
{
name: "icon",
type: "select",
name: 'icon',
type: 'select',
options: lucideOptions,
required: true,
},
],
},
{
name: "popoverLinks",
type: "array",
name: 'popoverLinks',
type: 'array',
required: true,
fields: [
{
name: "title",
type: "text",
name: 'title',
type: 'text',
required: true,
},
{
name: "url",
type: "text",
name: 'url',
type: 'text',
required: true,
},
{
name: "icon",
type: "select",
name: 'icon',
type: 'select',
options: lucideOptions,
required: true,
},
@@ -58,8 +58,8 @@ export const Home: GlobalConfig = {
hooks: {
afterChange: [
async () => {
revalidatePath("/");
}
revalidatePath('/')
},
],
}
}
},
}