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
+34 -2
View File
@@ -2,7 +2,18 @@
import Link from "next/link";
import { usePathname } from "next/navigation";
import { LayoutDashboard, Users, CalendarCheck2, CalendarDays, Contact, GraduationCap, UserCircle } from "lucide-react";
import {
LayoutDashboard,
Users,
CalendarCheck2,
CalendarDays,
Contact,
GraduationCap,
UserCircle,
ClipboardList,
Stethoscope,
Megaphone,
} from "lucide-react";
import { cn } from "@/lib/utils";
@@ -45,7 +56,28 @@ const navItems = [
label: "Familienverwaltung",
icon: Users,
exact: false,
allowedRoles: [UserRole.ADMIN, UserRole.KOORDINATOR],
allowedRoles: [UserRole.ADMIN],
},
{
href: "/dashboard/admin/dienste",
label: "Dienstplan",
icon: ClipboardList,
exact: false,
allowedRoles: [UserRole.ADMIN],
},
{
href: "/dashboard/admin/news",
label: "Schwarzes Brett",
icon: Megaphone,
exact: false,
allowedRoles: [UserRole.ADMIN],
},
{
href: "/dashboard/admin/abwesenheiten",
label: "Abwesenheiten",
icon: Stethoscope,
exact: false,
allowedRoles: [UserRole.ADMIN, UserRole.KOORDINATOR, UserRole.ERZIEHER],
},
{
href: "/dashboard/erzieher",