"use client";

import {
  LayoutDashboard,
  Trophy,
  Medal,
  BookOpen,
  HelpCircle,
  MessageSquare,
  CalendarDays,
} from "lucide-react";
import { DashboardShell } from "./DashboardShell";

const nav = [
  { href: "/manager", label: "Dashboard", icon: LayoutDashboard },
  { href: "/manager/calendar", label: "Calendar", icon: CalendarDays },
  { href: "/manager/leagues", label: "Leagues", icon: Trophy },
  { href: "/manager/cups", label: "Cups", icon: Medal },
  { href: "/manager/rules", label: "Rules", icon: BookOpen },
  { href: "/manager/faq", label: "FAQ", icon: HelpCircle },
  { href: "/manager/issues", label: "Issues", icon: MessageSquare },
];

export function ManagerShell({
  children,
  user,
}: {
  children: React.ReactNode;
  user: { name: string; email: string };
}) {
  return (
    <DashboardShell brand="Team Manager" navItems={nav} user={user}>
      {children}
    </DashboardShell>
  );
}
