mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: awesome
This commit is contained in:
18
src/routes.tsx
vendored
18
src/routes.tsx
vendored
@@ -7,10 +7,12 @@ import {
|
||||
UserOutlined,
|
||||
DownloadOutlined,
|
||||
FormOutlined,
|
||||
GlobalOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import type { MenuProps } from 'antd';
|
||||
|
||||
import General from '@view/General';
|
||||
import General from '@/view/General';
|
||||
import Awesome from '@/view/awesome';
|
||||
import UserCustom from '@/view/model/UserCustom';
|
||||
import SyncPrompts from '@/view/model/SyncPrompts';
|
||||
import SyncCustom from '@/view/model/SyncCustom';
|
||||
@@ -35,10 +37,10 @@ type ChatRouteObject = {
|
||||
export const routes: Array<ChatRouteObject> = [
|
||||
{
|
||||
path: '/',
|
||||
element: <General />,
|
||||
element: <Awesome />,
|
||||
meta: {
|
||||
label: 'General',
|
||||
icon: <SettingOutlined />,
|
||||
label: 'Awesome',
|
||||
icon: <GlobalOutlined />,
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -101,6 +103,14 @@ export const routes: Array<ChatRouteObject> = [
|
||||
icon: <DownloadOutlined />,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/general',
|
||||
element: <General />,
|
||||
meta: {
|
||||
label: 'General',
|
||||
icon: <SettingOutlined />,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
type MenuItem = Required<MenuProps>['items'][number];
|
||||
|
||||
Reference in New Issue
Block a user