feat: initial
This commit is contained in:
+117
@@ -0,0 +1,117 @@
|
||||
import type { ComponentType, SVGProps } from "react";
|
||||
import {
|
||||
BreathIcon,
|
||||
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: 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: "نظرات" }],
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user