feat: redesign CMS and unify German admin UI
This commit is contained in:
+4
-4
@@ -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",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user