mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
Adjusted
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// modules/admin/data/dashboard.data.jsx
|
||||
//
|
||||
// Centralizes all icon maps, link maps, and chart link maps for the
|
||||
// admin dashboard. To add a new section (e.g. Tasks), just add a new
|
||||
// export block here and import it in UsersDashboard.jsx.
|
||||
|
||||
import {
|
||||
Users, UserCheck, UserMinus, ShieldCheck,
|
||||
Archive, FolderOpen, Layers,
|
||||
} from "lucide-react";
|
||||
|
||||
// ─── Users ───────────────────────────────────────────────────────────────────
|
||||
|
||||
export const USER_STAT_MAP = {
|
||||
total: { label: "Total Users", icon: <Users className="size-5 text-muted-foreground" /> },
|
||||
active: { label: "Active", icon: <UserCheck className="size-5 text-green-500" /> },
|
||||
inactive: { label: "Inactive", icon: <UserMinus className="size-5 text-red-400" /> },
|
||||
verified: { label: "Verified", icon: <ShieldCheck className="size-5 text-blue-500" /> },
|
||||
archived: { label: "Archived", icon: <Archive className="size-5 text-muted-foreground" /> },
|
||||
};
|
||||
|
||||
// ─── User Groups ──────────────────────────────────────────────────────────────
|
||||
|
||||
export const GROUP_STAT_MAP = {
|
||||
total: { label: "Total Groups", icon: <Layers className="size-5 text-muted-foreground" /> },
|
||||
active: { label: "Active", icon: <UserCheck className="size-5 text-green-500" /> },
|
||||
inactive: { label: "Inactive", icon: <UserMinus className="size-5 text-red-400" /> },
|
||||
archived: { label: "Archived", icon: <Archive className="size-5 text-muted-foreground" /> },
|
||||
empty: { label: "Empty Groups", icon: <FolderOpen className="size-5 text-amber-500" /> },
|
||||
};
|
||||
Reference in New Issue
Block a user