import type { ComponentType, SVGProps } from "react"; import { BreathIcon, ChatIcon, HomeIcon, ImageIcon, MediaIcon, MoodIcon, MusicIcon, QuestionIcon, SceneIcon, SliderIcon, SurveyIcon, TagIcon, TimerIcon, TrophyIcon, WorryIcon, } from "@/components/icons"; export interface NavItem { href: string; label: string; } export interface NavSection { label: string; icon: ComponentType>; items: NavItem[]; } export const NAV: NavSection[] = [ { label: "میزکار", icon: HomeIcon, items: [{ href: "/dashboard", label: "خانه" }], }, { label: "عمومی", icon: TagIcon, items: [ { href: "/dashboard/categories", label: "دسته‌بندی‌ها" }, { href: "/dashboard/sub-categories", label: "زیر‌دسته‌ها" }, ], }, { label: "رسانه‌ها", icon: MediaIcon, items: [{ href: "/dashboard/media", label: "فهرست رسانه‌ها" }], }, { label: "موسیقی", icon: MusicIcon, items: [ { href: "/dashboard/music/tracks", label: "آهنگ‌ها" }, { href: "/dashboard/music/playlists", label: "پلی‌لیست‌ها" }, { href: "/dashboard/music/categories", label: "دسته‌بندی‌ها" }, { href: "/dashboard/music/sub-categories", label: "زیر‌دسته‌ها" }, ], }, { label: "تایمر مدیتیشن", icon: TimerIcon, items: [ { href: "/dashboard/timer/presets", label: "پیش‌تنظیم‌ها" }, { href: "/dashboard/timer/bell-sounds", label: "صدای زنگ" }, { href: "/dashboard/timer/background-sounds", label: "صدای پس‌زمینه" }, { href: "/dashboard/timer/options", label: "گزینه‌های تایمر" }, ], }, { label: "صحنه‌ها", icon: SceneIcon, items: [ { href: "/dashboard/scenes", label: "صحنه‌ها" }, { href: "/dashboard/scenes/settings", label: "تنظیمات صحنه" }, { href: "/dashboard/themes", label: "تم‌ها" }, ], }, { label: "اسلایدر", icon: SliderIcon, items: [{ href: "/dashboard/sliders", label: "اسلایدرها" }], }, { label: "اعلان‌ها", icon: SliderIcon, items: [{ href: "/dashboard/announcements", label: "اعلان‌ها" }], }, { label: "نسخه‌ها", icon: SliderIcon, items: [{ href: "/dashboard/versions", label: "نسخه‌های برنامه" }], }, { label: "تصاویر", icon: ImageIcon, items: [{ href: "/dashboard/images", label: "کتابخانه تصاویر" }], }, { label: "تمرین تنفس", icon: BreathIcon, items: [ { href: "/dashboard/breathing", label: "قالب‌های تنفس" }, { href: "/dashboard/breathing/colors", label: "رنگ‌های تنفس" }, ], }, { label: "پرسش‌ها", icon: QuestionIcon, items: [{ href: "/dashboard/questions", label: "بانک پرسش‌ها" }], }, { label: "نظرسنجی", icon: SurveyIcon, items: [{ href: "/dashboard/surveys", label: "پرسش‌های نظرسنجی" }], }, { label: "گفتگو با مشاور", icon: ChatIcon, items: [{ href: "/dashboard/chat-topics", label: "موضوعات پیشنهادی" }], }, { label: "حال‌وهوا", icon: MoodIcon, items: [{ href: "/dashboard/moods", label: "حالت‌ها" }], }, { label: "جعبه نگرانی", icon: WorryIcon, items: [{ href: "/dashboard/worries", label: "نگرانی‌ها" }], }, { label: "جدول امتیازات", icon: TrophyIcon, items: [{ href: "/dashboard/leaderboard", label: "رتبه‌بندی" }], }, { label: "محتوای کاربران", icon: TagIcon, items: [ { href: "/dashboard/comments", label: "نظرات" }, { href: "/dashboard/app-feedback", label: "نظرات و ایده‌ها برنامه" }, ], }, { label: "سوالات متداول", icon: QuestionIcon, items: [ { href: "/dashboard/faq", label: "پرسش‌ها" }, { href: "/dashboard/faq/categories", label: "دسته‌بندی‌ها" }, ], }, ];