ibms-dome/ibms_react/src/constants/user.js
2023-01-31 23:15:50 +08:00

36 lines
1.2 KiB
JavaScript

import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faHouse,
faDisplay,
faChartPie,
faChartArea,
faChartLine,
faBell,
faServer,
faImage,
faUser,
} from "@fortawesome/free-solid-svg-icons";
export const userAllAuthPages = [
{ name: "首頁", path: "/", icon: <FontAwesomeIcon size="2x" icon={faHouse} /> },
{ name: "系統監控", path: "/monitor", icon: <FontAwesomeIcon size="2x" icon={faDisplay} /> },
{ name: "能源管理", path: "/energy", icon: <FontAwesomeIcon size="2x" icon={faChartPie} /> },
{ name: "歷史資料", path: "/history", icon: <FontAwesomeIcon size="2x" icon={faChartArea} /> },
{ name: "報表管理", path: "/form", icon: <FontAwesomeIcon size="2x" icon={faChartLine} /> },
{ name: "即時告警", path: "/alert", icon: <FontAwesomeIcon size="2x" icon={faBell} /> },
{
name: "運維管理",
path: "/operation",
icon: <FontAwesomeIcon size="2x" icon={faServer} />,
},
{
name: "圖資管理",
path: "/graphManagement",
icon: <FontAwesomeIcon size="2x" icon={faImage} />,
},
{
name: "帳號管理",
path: "/accountManagement",
icon: <FontAwesomeIcon size="2x" icon={faUser} />,
},
];