You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.2 KiB
TypeScript
24 lines
1.2 KiB
TypeScript
// frontend/lib/nav.ts
|
|
import type { IconName } from "@/components/icons/paths";
|
|
|
|
export type NavItem = {
|
|
id: string; // 원본 id 보존 (active 매칭)
|
|
label: string; // 한국어 표시 라벨 (원본 그대로)
|
|
icon: IconName;
|
|
href: string; // 영어 라우트
|
|
badge?: string; // 배지 숫자 (문자열, 원본과 동일)
|
|
mvp: boolean; // MVP 3개 페이지 여부 (placeholder 구분)
|
|
};
|
|
|
|
export const MAIN: NavItem[] = [
|
|
{ id: "dash", label: "대시보드", icon: "grid", href: "/dashboard", mvp: true },
|
|
{ id: "sbox", label: "인박스", icon: "inbox", href: "/inbox", mvp: true },
|
|
{ id: "appr", label: "결재함", icon: "spark", href: "/approvals", badge: "3", mvp: false },
|
|
{ id: "auto", label: "자동화", icon: "zap", href: "/automation", mvp: false },
|
|
{ id: "journey", label: "여정", icon: "route", href: "/journey", mvp: false },
|
|
{ id: "cal", label: "일정", icon: "cal", href: "/calendar", mvp: false },
|
|
{ id: "task", label: "작업", icon: "check", href: "/tasks", badge: "4", mvp: true },
|
|
{ id: "mail", label: "메일", icon: "mail", href: "/mail", mvp: false },
|
|
{ id: "noti", label: "알림", icon: "bell", href: "/notifications", badge: "6", mvp: false },
|
|
];
|