mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 13:13:45 +08:00
fix: img path error
This commit is contained in:
parent
ed421445e9
commit
025c8856ed
@ -7,7 +7,6 @@ import {
|
|||||||
Avatar,
|
Avatar,
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
import { useMatch, useResolvedPath, useNavigate } from "react-router-dom";
|
import { useMatch, useResolvedPath, useNavigate } from "react-router-dom";
|
||||||
import type { LinkProps } from "react-router-dom";
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
to: string;
|
to: string;
|
||||||
|
@ -5,48 +5,55 @@ import ProfilesPage from "./profiles";
|
|||||||
import SettingsPage from "./settings";
|
import SettingsPage from "./settings";
|
||||||
import ConnectionsPage from "./connections";
|
import ConnectionsPage from "./connections";
|
||||||
import RulesPage from "./rules";
|
import RulesPage from "./rules";
|
||||||
|
import ProxiesSVG from "@/assets/image/itemicon/proxies.svg";
|
||||||
|
import ProfilesSVG from "@/assets/image/itemicon/profiles.svg";
|
||||||
|
import ConnectionsSVG from "@/assets/image/itemicon/connections.svg";
|
||||||
|
import RulesSVG from "@/assets/image/itemicon/rules.svg";
|
||||||
|
import LogsSVG from "@/assets/image/itemicon/logs.svg";
|
||||||
|
import TestSVG from "@/assets/image/itemicon/test.svg";
|
||||||
|
import SettingsSVG from "@/assets/image/itemicon/settings.svg";
|
||||||
|
|
||||||
export const routers = [
|
export const routers = [
|
||||||
{
|
{
|
||||||
label: "Label-Proxies",
|
label: "Label-Proxies",
|
||||||
link: "/",
|
link: "/",
|
||||||
img: "../../assets/image/itemicon/proxies.svg",
|
img: ProxiesSVG,
|
||||||
ele: ProxiesPage,
|
ele: ProxiesPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Profiles",
|
label: "Label-Profiles",
|
||||||
link: "/profile",
|
link: "/profile",
|
||||||
img: "../../assets/image/itemicon/profiles.svg",
|
img: ProfilesSVG,
|
||||||
ele: ProfilesPage,
|
ele: ProfilesPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Connections",
|
label: "Label-Connections",
|
||||||
link: "/connections",
|
link: "/connections",
|
||||||
img: "../../assets/image/itemicon/connections.svg",
|
img: ConnectionsSVG,
|
||||||
ele: ConnectionsPage,
|
ele: ConnectionsPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Rules",
|
label: "Label-Rules",
|
||||||
link: "/rules",
|
link: "/rules",
|
||||||
img: "../../assets/image/itemicon/rules.svg",
|
img: RulesSVG,
|
||||||
ele: RulesPage,
|
ele: RulesPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Logs",
|
label: "Label-Logs",
|
||||||
link: "/logs",
|
link: "/logs",
|
||||||
img: "../../assets/image/itemicon/logs.svg",
|
img: LogsSVG,
|
||||||
ele: LogsPage,
|
ele: LogsPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Test",
|
label: "Label-Test",
|
||||||
link: "/test",
|
link: "/test",
|
||||||
img: "../../assets/image/itemicon/test.svg",
|
img: TestSVG,
|
||||||
ele: TestPage,
|
ele: TestPage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Label-Settings",
|
label: "Label-Settings",
|
||||||
link: "/settings",
|
link: "/settings",
|
||||||
img: "../../assets/image/itemicon/settings.svg",
|
img: SettingsSVG,
|
||||||
ele: SettingsPage,
|
ele: SettingsPage,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user