import {
  FileTextIcon,
  FolderTreeIcon,
  ImagesIcon,
  LayoutDashboardIcon,
  SearchCheckIcon,
  SettingsIcon,
  UsersRoundIcon,
  type LucideIcon,
} from "lucide-react";

export type AdminNavItem = {
  title: string;
  href: string;
  icon: LucideIcon;
  /** Highlight only on this exact path, not its children. */
  exact?: boolean;
};

/**
 * Sidebar navigation. A new content type adds its entry here, next to Blogs.
 */
export const adminNav: AdminNavItem[] = [
  {
    title: "Dashboard",
    href: "/admin",
    icon: LayoutDashboardIcon,
    exact: true,
  },
  { title: "Blogs", href: "/admin/blogs", icon: FileTextIcon },
  { title: "Categories", href: "/admin/categories", icon: FolderTreeIcon },
  { title: "Authors", href: "/admin/authors", icon: UsersRoundIcon },
  { title: "Media Library", href: "/admin/media", icon: ImagesIcon },
  { title: "SEO", href: "/admin/seo", icon: SearchCheckIcon },
  { title: "Settings", href: "/admin/settings", icon: SettingsIcon },
];
