feat(admin): add demo mode toggle in admin dashboard and rewrite 404 page for missing routes
Some checks failed
Production Build & Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Production Build & Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -73,8 +73,15 @@ const { title, description = "Professionelles Webdesign & moderne Websites." } =
|
||||
</script>
|
||||
</head>
|
||||
<body class="font-sans transition-colors duration-500 antialiased">
|
||||
{(siteConfig as any).is_demo_mode && (
|
||||
<div class="bg-gradient-to-r from-amber-600 via-amber-500 to-amber-600 text-slate-950 text-center py-2 px-4 text-xs font-bold font-mono tracking-wide shadow-md flex items-center justify-center gap-2">
|
||||
<span>🎭 DEMO-MODUS AKTIV</span>
|
||||
<span class="opacity-75 font-sans font-normal">— Dies ist eine interaktive Vorschau-Instanz der N&D WaaS Engine.</span>
|
||||
</div>
|
||||
)}
|
||||
<slot />
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
|
||||
Reference in New Issue
Block a user