feat: configure public contact details

This commit is contained in:
2026-09-17 00:38:48 +02:00
parent ba2147c717
commit d99c69f46d
5 changed files with 53 additions and 7 deletions
+16 -5
View File
@@ -187,13 +187,24 @@ async function seedGlobals(payload: Awaited<ReturnType<typeof getPayload>>) {
eyebrow: "Kontakt",
title: "Ich freue mich, von dir zu hören",
lead: "Ob Frage, Anliegen oder der Wunsch nach einem Kennenlerngespräch – schreib mir gerne.",
// Placeholder contact details — replace with the real ones in the admin.
email: "hallo@anouma.org",
phone: "+49 000 00 00 00",
region: "Platzhalter – Ort / Region",
email: "info@anouma.org",
phone: "+49 151 53611786",
region: "Haldenweg 3, 79853 Lenzkirch",
},
});
console.log(" ↺ Global „Kontakt“ gesetzt (mit Platzhalter-Kontaktdaten — bitte im Admin ersetzen)");
console.log(" ↺ Global „Kontakt“ gesetzt");
await payload.updateGlobal({
slug: "booking-settings",
data: {
locationName: "Anouma",
street: "Haldenweg 3",
postalCode: "79853",
city: "Lenzkirch",
country: "Deutschland",
},
});
console.log(" ↺ Global „Buchungseinstellungen“ gesetzt");
await payload.updateGlobal({
slug: "booking",