"use client"; import { BarChart3, ClipboardList, FileText, ShieldCheck, TimerReset, Trophy, Users } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; const navItems = [ { href: "/dashboard", label: "Dashboard", icon: BarChart3 }, { href: "/roster", label: "Roster", icon: Users }, { href: "/pitching", label: "Pitch Tracking", icon: TimerReset }, { href: "/games", label: "Score Game", icon: FileText }, { href: "/lineup", label: "Generate Lineup", icon: ClipboardList }, { href: "/settings", label: "Pitching Rules", icon: ShieldCheck } ]; export function AppShell({ title, subtitle, children, actions }: { title: string; subtitle: string; children: React.ReactNode; actions?: React.ReactNode; }) { const pathname = usePathname(); return (
{subtitle}