Add non-destructive dev seed on startup
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import Link from "next/link";
|
||||
import { ShieldX } from "lucide-react";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
export const metadata = { title: "Zugriff verweigert · Kita-Planer" };
|
||||
|
||||
export default function ForbiddenPage() {
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col items-center justify-center bg-muted/30 px-4 text-center">
|
||||
<div className="mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10 text-destructive">
|
||||
<ShieldX className="h-8 w-8" />
|
||||
</div>
|
||||
|
||||
<h1 className="text-2xl font-semibold tracking-tight">
|
||||
Zugriff verweigert
|
||||
</h1>
|
||||
<p className="mt-3 max-w-sm text-sm text-muted-foreground">
|
||||
Du hast keine Berechtigung, diese Seite aufzurufen. Falls du glaubst,
|
||||
dass dies ein Fehler ist, wende dich an deinen Kita-Administrator.
|
||||
</p>
|
||||
|
||||
<div className="mt-8 flex gap-3">
|
||||
<Button asChild>
|
||||
<Link href="/dashboard">Zum Dashboard</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline">
|
||||
<Link href="/login">Anmelden</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user