feat: Route list page

This commit is contained in:
2025-06-09 09:17:56 +03:00
parent 02a1d2ea74
commit f4544c1888
37 changed files with 1539 additions and 400 deletions

View File

@ -18,6 +18,7 @@ import {
Newspaper,
PersonStanding,
Cpu,
BookImage,
} from "lucide-react";
export const DRAWER_WIDTH = 300;
@ -28,6 +29,7 @@ interface NavigationItem {
path?: string;
onClick?: () => void;
nestedItems?: NavigationItem[];
isActive?: boolean;
}
export const NAVIGATION_ITEMS: {
@ -77,18 +79,18 @@ export const NAVIGATION_ITEMS: {
label: "Все сущности",
icon: Table,
nestedItems: [
// {
// id: "media",
// label: "Медиа",
// icon: BookImage,
// path: "/media",
// },
// {
// id: "articles",
// label: "Статьи",
// icon: Newspaper,
// path: "/article",
// },
{
id: "media",
label: "Медиа",
icon: BookImage,
path: "/media",
},
{
id: "articles",
label: "Статьи",
icon: Newspaper,
path: "/article",
},
{
id: "attractions",
label: "Достопримечательности",