feat: redesign CMS and unify German admin UI

This commit is contained in:
2026-09-17 16:51:24 +02:00
parent a2b3e99174
commit 7ec0c51ff5
129 changed files with 952 additions and 550 deletions
+4 -4
View File
@@ -2,7 +2,7 @@ import type { MetadataRoute } from "next";
import { getSiteUrl, isSiteIndexable } from "@/lib/seo/config";
// Reads the CMS's SEO settings (site URL override, robots kill switch) on
// every request — must not be statically prerendered at build time.
// every request - must not be statically prerendered at build time.
export const dynamic = "force-dynamic";
export default async function robots(): Promise<MetadataRoute.Robots> {
@@ -10,7 +10,7 @@ export default async function robots(): Promise<MetadataRoute.Robots> {
if (!indexable) {
// Global kill switch (SEO-Einstellungen → "Website für Suchmaschinen
// sichtbar") — block everything rather than list exceptions.
// sichtbar") - block everything rather than list exceptions.
return { rules: [{ userAgent: "*", disallow: "/" }] };
}
@@ -24,7 +24,7 @@ export default async function robots(): Promise<MetadataRoute.Robots> {
"/admin",
"/admin/*",
"/api/*",
// Customer accounts — never public.
// Customer accounts - never public.
"/konto",
"/konto/*",
"/login",
@@ -32,7 +32,7 @@ export default async function robots(): Promise<MetadataRoute.Robots> {
"/auth/*",
// Private calendar-subscription feed (secret-token URLs).
"/calendar/*",
// Meeting join/call flow — session-gated, never a page worth indexing.
// Meeting join/call flow - session-gated, never a page worth indexing.
"/termine/*/beitreten",
"/termine/*/call",
],