mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: about
This commit is contained in:
12
src/routes.tsx
vendored
12
src/routes.tsx
vendored
@@ -8,10 +8,12 @@ import {
|
||||
DownloadOutlined,
|
||||
FormOutlined,
|
||||
GlobalOutlined,
|
||||
InfoCircleOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import type { MenuProps } from 'antd';
|
||||
|
||||
import Settings from '@/view/settings';
|
||||
import About from '@/view/about';
|
||||
import Awesome from '@/view/awesome';
|
||||
import UserCustom from '@/view/model/UserCustom';
|
||||
import SyncPrompts from '@/view/model/SyncPrompts';
|
||||
@@ -96,7 +98,7 @@ export const routes: Array<ChatRouteObject> = [
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'download',
|
||||
path: '/download',
|
||||
element: <Download />,
|
||||
meta: {
|
||||
label: 'Download',
|
||||
@@ -111,6 +113,14 @@ export const routes: Array<ChatRouteObject> = [
|
||||
icon: <SettingOutlined />,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
element: <About />,
|
||||
meta: {
|
||||
label: 'About',
|
||||
icon: <InfoCircleOutlined />,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
type MenuItem = Required<MenuProps>['items'][number];
|
||||
|
||||
Reference in New Issue
Block a user