Files
meditation-admin/lib/nav.ts
T
2026-06-03 17:08:59 +03:30

124 lines
3.3 KiB
TypeScript

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<SVGProps<SVGSVGElement>>;
items: NavItem[];
}
export const NAV: NavSection[] = [
{
label: "میزکار",
icon: HomeIcon,
items: [{ href: "/dashboard", label: "خانه" }],
},
{
label: "رسانه‌ها",
icon: MediaIcon,
items: [
{ href: "/dashboard/media", label: "فهرست رسانه‌ها" },
{ href: "/dashboard/media/categories", label: "دسته‌بندی‌ها" },
{ href: "/dashboard/media/sub-categories", 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: "تنظیمات صحنه" },
],
},
{
label: "اسلایدر",
icon: SliderIcon,
items: [{ href: "/dashboard/sliders", label: "اسلایدرها" }],
},
{
label: "تصاویر",
icon: ImageIcon,
items: [{ href: "/dashboard/images", label: "کتابخانه تصاویر" }],
},
{
label: "تمرین تنفس",
icon: BreathIcon,
items: [{ href: "/dashboard/breathing", 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: "نظرات" }],
},
];