mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
57 lines
2.1 KiB
JavaScript
57 lines
2.1 KiB
JavaScript
import { Users, GitFork, FolderOpen, BookText, BookCheck, FileText, ListCheck, ShieldCheck, Megaphone, Bell, Cog } from "lucide-react";
|
|
|
|
export const ADMIN_SECTIONS = [
|
|
{
|
|
id: "section-users",
|
|
tab: "User Management",
|
|
title: "User Management",
|
|
description: "Manage people across different systems",
|
|
tiles: [
|
|
{ key: "users", label: "Users", icon: Users, link: "/admin/users" },
|
|
{ key: "user-groups", label: "User Groups", icon: GitFork, link: "/admin/groups" },
|
|
|
|
],
|
|
},
|
|
{
|
|
id: "section-resources",
|
|
tab: "Resource Management",
|
|
title: "Resource Management",
|
|
description: "It includes assets management and tier plans.",
|
|
tiles: [
|
|
{ key: "assets", label: "Assets", icon: FolderOpen, link: "/admin/assets" },
|
|
{ key: "tiers", label: "Tier Plans", icon: ShieldCheck, link: "/admin/tiers/plans" },
|
|
],
|
|
},
|
|
{
|
|
id: "section-courses",
|
|
tab: "Content Management",
|
|
title: "Content Management",
|
|
description: "Manage tasks and courses",
|
|
tiles: [
|
|
{ key: "courses", label: "Courses", icon: BookText, link: "/admin/courses" },
|
|
{ key: "units", label: "Units", icon: BookCheck, link: "/admin/units" },
|
|
{ key: "lessons", label: "Lessons", icon: FileText, link: "/admin/lessons" },
|
|
{ key: "tasks", label: "Tasks", icon: ListCheck, link: "/admin/taskList" },
|
|
|
|
],
|
|
},
|
|
{
|
|
id: "section-site",
|
|
tab: "Site Content",
|
|
title: "Site Content",
|
|
description: "Manage public-facing content",
|
|
tiles: [
|
|
{ key: "advertisements", label: "Ads", icon: Megaphone, link: "/admin/advertisements" },
|
|
{ key: "notifications", label: "Alerts", icon: Bell, link: "/admin/announcements" },
|
|
],
|
|
},
|
|
{
|
|
id: "section-system",
|
|
tab: "System",
|
|
title: "System",
|
|
description: "Background jobs and automation",
|
|
tiles: [
|
|
{ key: "jobs", label: "Jobs", icon: Cog, link: "/admin/jobs" },
|
|
],
|
|
},
|
|
]; |