feat: Add more pages

This commit is contained in:
2025-06-06 16:08:15 +03:00
parent f2aab1ab33
commit d74789a0d8
67 changed files with 3491 additions and 787 deletions

View File

@ -5,7 +5,12 @@ import {
Building2,
MonitorSmartphone,
Map,
BookImage,
Users,
Earth,
Landmark,
BusFront,
Bus,
GitBranch,
} from "lucide-react";
export const DRAWER_WIDTH = 300;
@ -22,12 +27,54 @@ export const NAVIGATION_ITEMS: {
secondary: NavigationItem[];
} = {
primary: [
{
id: "countries",
label: "Страны",
icon: Earth,
path: "/country",
},
{
id: "cities",
label: "Города",
icon: Building2,
path: "/city",
},
{
id: "carriers",
label: "Перевозчики",
icon: BusFront,
path: "/carrier",
},
// {
// id: "media",
// label: "Медиа",
// icon: BookImage,
// path: "/media",
// },
// {
// id: "articles",
// label: "Статьи",
// icon: Newspaper,
// path: "/article",
// },
{
id: "attractions",
label: "Достопримечательности",
icon: Building2,
icon: Landmark,
path: "/sight",
},
// {
// id: "stations",
// label: "Остановки",
// icon: PersonStanding,
// path: "/station",
// },
{
id: "snapshots",
label: "Снапшоты",
icon: GitBranch,
path: "/snapshot",
},
{
id: "map",
label: "Карта",
@ -41,10 +88,22 @@ export const NAVIGATION_ITEMS: {
path: "/devices",
},
{
id: "media",
label: "Медиа",
icon: BookImage,
path: "/media",
id: "vehicles",
label: "Транспорт",
icon: Bus,
path: "/vehicle",
},
// {
// id: "routes",
// label: "Маршруты",
// icon: Split,
// path: "/route",
// },
{
id: "users",
label: "Пользователи",
icon: Users,
path: "/user",
},
// {
// id: "articles",
@ -65,3 +124,8 @@ export const NAVIGATION_ITEMS: {
},
],
};
export const VEHICLE_TYPES = [
{ label: "Трамвай", value: 1 },
{ label: "Троллейбус", value: 2 },
];