- Next.js 16 App Router site with the ANOUMA design system - Payload CMS (PostgreSQL) for offers, events, posts and page content - WebRTC video-call system with custom signaling server - SMTP email reminders and booking-request notifications - Customer accounts, calendar-based availability, and booking workflow
21 lines
632 B
TypeScript
21 lines
632 B
TypeScript
import type { GlobalConfig } from "payload";
|
|
import { isAdmin } from "@/access";
|
|
|
|
export const AktuellesIntro: GlobalConfig = {
|
|
slug: "aktuelles-intro",
|
|
label: "Aktuelles (Einleitung)",
|
|
admin: {
|
|
description: "Kopftext der Aktuelles-Seite. Die Beiträge selbst werden in der Sammlung „Beiträge“ gepflegt.",
|
|
group: "Seiteninhalte",
|
|
},
|
|
access: {
|
|
read: () => true,
|
|
update: isAdmin,
|
|
},
|
|
fields: [
|
|
{ name: "eyebrow", type: "text", label: "Kicker" },
|
|
{ name: "title", type: "text", label: "Überschrift", required: true },
|
|
{ name: "lead", type: "textarea", label: "Einleitungstext" },
|
|
],
|
|
};
|