Initial commit: ANOUMA website with Payload CMS, WebRTC meetings, and booking system
- 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
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import type { GlobalConfig } from "payload";
|
||||
import { isAdmin } from "@/access";
|
||||
|
||||
export const Booking: GlobalConfig = {
|
||||
slug: "booking",
|
||||
label: "Termin buchen",
|
||||
admin: {
|
||||
description: "Inhalt der Seite „Termin buchen“.",
|
||||
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" },
|
||||
{
|
||||
name: "steps",
|
||||
type: "array",
|
||||
label: "Ablaufschritte",
|
||||
minRows: 1,
|
||||
maxRows: 6,
|
||||
fields: [
|
||||
{ name: "title", type: "text", label: "Titel", required: true },
|
||||
{ name: "text", type: "textarea", label: "Beschreibung", required: true },
|
||||
],
|
||||
},
|
||||
{ name: "formNote", type: "textarea", label: "Hinweis unter dem Formular" },
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user