Files
certd/packages/ui/certd-client/src/router/source/modules/about.tsx
T

56 lines
1.2 KiB
TypeScript
Raw Normal View History

import { IFrameView } from "/@/vben/layouts";
2025-03-06 21:11:07 +08:00
import { useSettingStore } from "/@/store/modules/settings";
2025-03-10 15:45:24 +08:00
import { computed } from "vue";
export const aboutResource = [
{
2025-03-06 21:11:07 +08:00
title: "文档",
name: "about",
path: "/about",
redirect: "/about/doc",
meta: {
icon: "lucide:copyright",
2025-03-06 21:11:07 +08:00
order: 9999,
show: () => {
const settingStore = useSettingStore();
return !settingStore.isComm;
}
},
children: [
{
title: "文档",
name: "document",
path: "/about/doc",
component: IFrameView,
meta: {
icon: "lucide:book-open-text",
2025-03-06 21:11:07 +08:00
link: "https://certd.docmirror.cn",
title: "文档"
}
},
{
name: "Github",
path: "/about/github",
component: IFrameView,
meta: {
icon: "mdi:github",
2025-03-06 21:11:07 +08:00
link: "https://github.com/certd/certd",
title: "Github"
}
},
{
name: "Gitee",
path: "/about/gitee",
component: IFrameView,
meta: {
icon: "ion:logo-octocat",
2025-03-06 21:11:07 +08:00
link: "https://gitee.com/certd/certd",
title: "Gite"
}
}
]
}
];
export default aboutResource;