code format

This commit is contained in:
josc146
2023-05-22 10:52:06 +08:00
parent 035c6ab8de
commit bbad153ecb
28 changed files with 429 additions and 429 deletions

View File

@@ -1,5 +1,5 @@
import {ReactElement} from 'react';
import {Configs} from './Configs';
import { ReactElement } from 'react';
import { Configs } from './Configs';
import {
ArrowDownload20Regular,
Chat20Regular,
@@ -10,13 +10,13 @@ import {
Settings20Regular,
Storage20Regular
} from '@fluentui/react-icons';
import {Home} from './Home';
import {Chat} from './Chat';
import {Models} from './Models';
import {Train} from './Train';
import {Settings} from './Settings';
import {About} from './About';
import {Downloads} from './Downloads';
import { Home } from './Home';
import { Chat } from './Chat';
import { Models } from './Models';
import { Train } from './Train';
import { Settings } from './Settings';
import { About } from './About';
import { Downloads } from './Downloads';
type NavigationItem = {
label: string;
@@ -30,57 +30,57 @@ export const pages: NavigationItem[] = [
{
label: 'Home',
path: '/',
icon: <Home20Regular/>,
element: <Home/>,
icon: <Home20Regular />,
element: <Home />,
top: true
},
{
label: 'Chat',
path: '/chat',
icon: <Chat20Regular/>,
element: <Chat/>,
icon: <Chat20Regular />,
element: <Chat />,
top: true
},
{
label: 'Configs',
path: '/configs',
icon: <DocumentSettings20Regular/>,
element: <Configs/>,
icon: <DocumentSettings20Regular />,
element: <Configs />,
top: true
},
{
label: 'Models',
path: '/models',
icon: <DataUsageSettings20Regular/>,
element: <Models/>,
icon: <DataUsageSettings20Regular />,
element: <Models />,
top: true
},
{
label: 'Downloads',
path: '/downloads',
icon: <ArrowDownload20Regular/>,
element: <Downloads/>,
icon: <ArrowDownload20Regular />,
element: <Downloads />,
top: true
},
{
label: 'Train',
path: '/train',
icon: <Storage20Regular/>,
element: <Train/>,
icon: <Storage20Regular />,
element: <Train />,
top: true
},
{
label: 'Settings',
path: '/settings',
icon: <Settings20Regular/>,
element: <Settings/>,
icon: <Settings20Regular />,
element: <Settings />,
top: false
},
{
label: 'About',
path: '/about',
icon: <Info20Regular/>,
element: <About/>,
icon: <Info20Regular />,
element: <About />,
top: false
}
];