chore: dashboard

This commit is contained in:
lencx
2023-01-24 23:23:52 +08:00
parent ba438b0640
commit e6052152ea
19 changed files with 473 additions and 350 deletions

16
src/routes.tsx vendored
View File

@@ -38,6 +38,14 @@ type ChatRouteObject = {
};
export const routes: Array<ChatRouteObject> = [
{
path: '/settings',
element: <Settings />,
meta: {
label: 'Settings',
icon: <SettingOutlined />,
},
},
{
path: '/awesome',
element: <Awesome />,
@@ -106,14 +114,6 @@ export const routes: Array<ChatRouteObject> = [
icon: <DownloadOutlined />,
},
},
{
path: '/settings',
element: <Settings />,
meta: {
label: 'Settings',
icon: <SettingOutlined />,
},
},
{
path: '/about',
element: <About />,