feat: redesign CMS and unify German admin UI
This commit is contained in:
+9
-2
@@ -4,6 +4,7 @@ import path from "path";
|
||||
import { buildConfig } from "payload";
|
||||
import { fileURLToPath } from "url";
|
||||
import sharp from "sharp";
|
||||
import { de } from "payload/i18n/de";
|
||||
|
||||
import { Users } from "@/collections/Users";
|
||||
import { Media } from "@/collections/Media";
|
||||
@@ -46,9 +47,11 @@ export default buildConfig({
|
||||
baseDir: path.resolve(dirname),
|
||||
},
|
||||
meta: {
|
||||
titleSuffix: "— Anouma Admin",
|
||||
titleSuffix: " - Anouma Verwaltung",
|
||||
},
|
||||
dateFormat: "dd.MM.yyyy",
|
||||
components: {
|
||||
beforeDashboard: ["/components/admin/AdminWelcome#AdminWelcome"],
|
||||
afterNavLinks: [
|
||||
"/components/admin/CalendarNavLink#CalendarNavLink",
|
||||
"/components/admin/AnalyticsNavLink#AnalyticsNavLink",
|
||||
@@ -65,7 +68,7 @@ export default buildConfig({
|
||||
Component: "/components/admin/AdminAnalyticsView#AdminAnalyticsView",
|
||||
path: "/analytics",
|
||||
exact: true,
|
||||
meta: { title: "Analytics" },
|
||||
meta: { title: "Auswertung" },
|
||||
},
|
||||
anfragen: {
|
||||
Component: "/components/admin/AdminConversationsView#AdminConversationsView",
|
||||
@@ -76,6 +79,10 @@ export default buildConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
i18n: {
|
||||
fallbackLanguage: "de",
|
||||
supportedLanguages: { de },
|
||||
},
|
||||
collections: [
|
||||
Users,
|
||||
Customers,
|
||||
|
||||
Reference in New Issue
Block a user