continued the kita-planer

This commit is contained in:
t.indorf
2026-05-08 14:32:14 +02:00
parent b686e714ff
commit 7aff691803
85 changed files with 9434 additions and 588 deletions
+10 -3
View File
@@ -1,13 +1,20 @@
import Link from "next/link";
import type { Metadata } from "next";
import { Baby, LogOut } from "lucide-react";
import { auth, signOut } from "@/auth";
import { signOut } from "@/auth";
import { requireKitaSession } from "@/lib/auth-utils";
import { prisma } from "@/lib/prisma";
import { Button } from "@/components/ui/button";
import { Separator } from "@/components/ui/separator";
import { SidebarNav } from "@/components/dashboard/sidebar-nav";
export const metadata: Metadata = {
robots: {
index: false,
follow: false,
},
};
// =====================================================================
// Dashboard-Layout · Linke Sidebar
// ---------------------------------------------------------------------
@@ -47,7 +54,7 @@ export default async function DashboardLayout({
{/* Navigation */}
<div className="flex-1 overflow-y-auto py-4">
<SidebarNav role={session.user.role as any} />
<SidebarNav role={session.user.role} />
</div>
{/* Footer: User-Info + Abmelden */}