This commit is contained in:
Alex Holliday committed 2026-02-10 19:21:57 +00:00
1 parent 7ef10b4fcd
commit d1d96bd2ba
10 files changed
+369 -48

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
import { Icon } from "@/Components/v2/design-elements";
import {
Globe,
Gauge,
Link,
Bell,
FileText,
AlertTriangle,
Wifi,
Wrench,
Database,
Settings,
} from "lucide-react";
export const getMenu = (t: Function) => {
return [
{ name: t("menu.uptime"), path: "uptime", icon: <Icon icon={Globe} /> },
{ name: t("menu.pagespeed"), path: "pagespeed", icon: <Icon icon={Gauge} /> },
{
name: t("menu.infrastructure"),
path: "infrastructure",
icon: <Icon icon={Link} />,
},
{
name: t("menu.notifications"),
path: "notifications",
icon: <Icon icon={Bell} />,
},
{ name: t("menu.checks"), path: "checks", icon: <Icon icon={FileText} /> },
{ name: t("menu.incidents"), path: "incidents", icon: <Icon icon={AlertTriangle} /> },
{ name: t("menu.statusPages"), path: "status", icon: <Icon icon={Wifi} /> },
{ name: t("menu.maintenance"), path: "maintenance", icon: <Icon icon={Wrench} /> },
{ name: t("menu.logs"), path: "logs", icon: <Icon icon={Database} /> },
{
name: t("menu.settings"),
icon: <Icon icon={Settings} />,
path: "settings",
},
];
};