"use client";

import {
  LayoutDashboard,
  Trophy,
  Users,
  Inbox,
  CalendarDays,
} from "lucide-react";
import { DashboardShell } from "./DashboardShell";

const nav = [
  { href: "/master", label: "Dashboard", icon: LayoutDashboard },
  { href: "/master/calendar", label: "Calendar", icon: CalendarDays },
  { href: "/master/leagues", label: "Leagues", icon: Trophy },
  { href: "/master/players", label: "Players", icon: Users },
  { href: "/master/issues", label: "Issues", icon: Inbox },
];

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