aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/admin/sidebar/items.tsx
blob: 78dfee349a492978885998769e8c8ed5e54b3ede (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { TFunction } from "i18next";
import { Activity, ArrowLeft, Settings, Users } from "lucide-react";

export const adminSidebarItems = (
  t: TFunction,
): {
  name: string;
  icon: JSX.Element;
  path: string;
}[] => [
  {
    name: t("settings.back_to_app"),
    icon: <ArrowLeft size={18} />,
    path: "/dashboard/bookmarks",
  },
  {
    name: t("admin.server_stats.server_stats"),
    icon: <Activity size={18} />,
    path: "/admin/overview",
  },
  {
    name: t("admin.users_list.users_list"),
    icon: <Users size={18} />,
    path: "/admin/users",
  },
  {
    name: t("common.actions"),
    icon: <Settings size={18} />,
    path: "/admin/actions",
  },
];