From baa639a9b267f072422c2430827429957462ee0e Mon Sep 17 00:00:00 2001 From: Daniel S Date: Sun, 9 Aug 2026 22:43:36 +0200 Subject: [PATCH] feat(admin): add demo mode toggle in admin dashboard and rewrite 404 page for missing routes --- src/layouts/Layout.astro | 7 +++++++ src/pages/[...slug].astro | 8 +++++--- src/pages/admin/index.astro | 9 +++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 8000625..49af256 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -73,8 +73,15 @@ const { title, description = "Professionelles Webdesign & moderne Websites." } = + {(siteConfig as any).is_demo_mode && ( +
+ 🎭 DEMO-MODUS AKTIV + — Dies ist eine interaktive Vorschau-Instanz der N&D WaaS Engine. +
+ )} +