65 lines
1.4 KiB
TypeScript
65 lines
1.4 KiB
TypeScript
export type AdminNavItem = {
|
|
title: string;
|
|
href: string;
|
|
};
|
|
|
|
export type AdminNavGroup =
|
|
| {
|
|
type: "link";
|
|
title: string;
|
|
href: string;
|
|
}
|
|
| {
|
|
type: "group";
|
|
title: string;
|
|
items: AdminNavItem[];
|
|
};
|
|
|
|
export const adminNav: AdminNavGroup[] = [
|
|
{ type: "link", title: "Home", href: "/" },
|
|
|
|
{
|
|
type: "group",
|
|
title: "Upload",
|
|
items: [
|
|
{ title: "Single Image", href: "/uploads/single" },
|
|
{ title: "Multiple Images", href: "/uploads/bulk" },
|
|
],
|
|
},
|
|
|
|
{ type: "link", title: "Artworks", href: "/artworks" },
|
|
|
|
{
|
|
type: "group",
|
|
title: "Artwork Management",
|
|
items: [
|
|
{ title: "Categories", href: "/categories" },
|
|
{ title: "Tags", href: "/tags" },
|
|
],
|
|
},
|
|
|
|
{
|
|
type: "group",
|
|
title: "Commissions",
|
|
items: [
|
|
{ title: "Requests", href: "/commissions/requests" },
|
|
{ title: "Board", href: "/commissions/kanban" },
|
|
{ title: "Types", href: "/commissions/types" },
|
|
{ title: "TypeOptions", href: "/commissions/types/options" },
|
|
{ title: "TypeExtras", href: "/commissions/types/extras" },
|
|
{ title: "Guidelines", href: "/commissions/guidelines" },
|
|
],
|
|
},
|
|
|
|
{ type: "link", title: "Terms of Service", href: "/tos" },
|
|
|
|
{
|
|
type: "group",
|
|
title: "Users",
|
|
items: [
|
|
{ title: "Users", href: "/users" },
|
|
{ title: "New User", href: "/users/new" },
|
|
],
|
|
},
|
|
];
|