import type { IconName } from "../kit";
export type NavId = "today" | "patients" | "how" | "settings";
export type NavItem = { id: NavId; label: string; to: string; icon: IconName; activeIcon: IconName; key: string; group: "workspace" | "guides" };
/** The pages in the sidebar, the rail and search. Press G, then the key, to jump. */
export const navItems: NavItem[] = [
{ id: "today", label: "Today", to: "/app/today", icon: "home-5-line", activeIcon: "home-5-fill", key: "T", group: "workspace" },
{ id: "patients", label: "Patients", to: "/app/patients", icon: "team-line", activeIcon: "team-fill", key: "P", group: "workspace" },
{ id: "how", label: "How it works", to: "/app/how-it-works", icon: "book-open-line", activeIcon: "book-open-fill", key: "H", group: "guides" },
{ id: "settings", label: "Settings", to: "/app/settings", icon: "settings-3-line", activeIcon: "settings-3-fill", key: "S", group: "guides" },
];
/** "⌘" on a Mac, "Ctrl" elsewhere. */
export const modKey = () => (typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/.test(navigator.platform) ? "⌘" : "Ctrl");