mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-07 11:23:40 +00:00
Merge remote-tracking branch 'origin/new-page-framework' into llm_framework
This commit is contained in:
commit
ab750b02ce
@ -4,8 +4,7 @@ import { usePathname, useSearchParams } from 'next/navigation';
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import { Box, List, ListItem, ListItemButton, ListItemDecorator, ListItemContent, Typography, Button, useColorScheme } from '@/lib/mui';
|
import { Box, List, ListItem, ListItemButton, ListItemDecorator, ListItemContent, Typography, Button, useColorScheme } from '@/lib/mui';
|
||||||
import SmartToyRoundedIcon from '@mui/icons-material/SmartToyRounded'; // Icons import
|
import Article from '@mui/icons-material/Article';
|
||||||
import StorageRoundedIcon from '@mui/icons-material/StorageRounded';
|
|
||||||
import DarkModeIcon from '@mui/icons-material/DarkMode';
|
import DarkModeIcon from '@mui/icons-material/DarkMode';
|
||||||
import WbSunnyIcon from '@mui/icons-material/WbSunny';
|
import WbSunnyIcon from '@mui/icons-material/WbSunny';
|
||||||
import MenuIcon from '@mui/icons-material/Menu';
|
import MenuIcon from '@mui/icons-material/Menu';
|
||||||
@ -19,14 +18,9 @@ const LeftSider = () => {
|
|||||||
|
|
||||||
const menus = useMemo(() => {
|
const menus = useMemo(() => {
|
||||||
return [{
|
return [{
|
||||||
label: 'Agents',
|
|
||||||
icon: <SmartToyRoundedIcon fontSize="small" />,
|
|
||||||
route: '/agents',
|
|
||||||
active: pathname === '/agents',
|
|
||||||
}, {
|
|
||||||
label: 'Datastores',
|
label: 'Datastores',
|
||||||
route: '/datastores',
|
route: '/datastores',
|
||||||
icon: <StorageRoundedIcon fontSize="small" />,
|
icon: <Article fontSize="small" />,
|
||||||
active: pathname === '/datastores'
|
active: pathname === '/datastores'
|
||||||
}];
|
}];
|
||||||
}, [pathname]);
|
}, [pathname]);
|
||||||
@ -75,13 +69,6 @@ const LeftSider = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className='flex items-center gap-3'>
|
<div className='flex items-center gap-3'>
|
||||||
<Image
|
|
||||||
src="/databerry-logo-icon.png"
|
|
||||||
width="100"
|
|
||||||
height="100"
|
|
||||||
className='w-12'
|
|
||||||
alt="Databerry"
|
|
||||||
/>
|
|
||||||
<Typography component="h1" fontWeight="xl">
|
<Typography component="h1" fontWeight="xl">
|
||||||
DB-GPT
|
DB-GPT
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 115 KiB |
Loading…
Reference in New Issue
Block a user