feat: configure public contact details
This commit is contained in:
+16
-5
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user