59 lines
1.4 KiB
TypeScript
59 lines
1.4 KiB
TypeScript
// Sidebar navigation config for the admin app.
|
|
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: "Uploads",
|
|
items: [
|
|
{ title: "Single Image", href: "/uploads/single" },
|
|
{ title: "Multiple Images", href: "/uploads/bulk" },
|
|
],
|
|
},
|
|
{
|
|
type: "group",
|
|
title: "Artworks",
|
|
items: [
|
|
{ title: "Artwork List", href: "/artworks" },
|
|
{ title: "Categories", href: "/categories" },
|
|
],
|
|
},
|
|
{
|
|
type: "group",
|
|
title: "General",
|
|
items: [{ 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: "Custom (YCH)", href: "/commissions/custom-cards" },
|
|
{ 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: "link", title: "Users", href: "/users" },
|
|
];
|