feat: redesign CMS and unify German admin UI
This commit is contained in:
@@ -12,8 +12,9 @@ export const Media: CollectionConfig = {
|
||||
plural: "Bilder",
|
||||
},
|
||||
admin: {
|
||||
group: "Inhalte",
|
||||
useAsTitle: "alt",
|
||||
description: "Bilder für die Website — Alt-Text ist für Barrierefreiheit und SEO Pflicht.",
|
||||
description: "Bilder für die Website - Alt-Text ist für Barrierefreiheit und SEO Pflicht.",
|
||||
},
|
||||
access: {
|
||||
// Images are public so the website can display them without a login.
|
||||
@@ -26,7 +27,7 @@ export const Media: CollectionConfig = {
|
||||
staticDir: path.resolve(dirname, "..", "media"),
|
||||
// SVG deliberately excluded: it can carry inline <script>/event-handler
|
||||
// payloads that execute if the raw file is ever opened directly (not via
|
||||
// <img>) — not currently needed by any part of the site.
|
||||
// <img>) - not currently needed by any part of the site.
|
||||
mimeTypes: ["image/jpeg", "image/png", "image/webp"],
|
||||
imageSizes: [
|
||||
{ name: "thumbnail", width: 400, position: "centre" },
|
||||
|
||||
Reference in New Issue
Block a user