fix: update sidebar channel icon to use Network component and improve ChannelConfigModal styles

This commit is contained in:
duanshuwen
2026-04-19 16:47:12 +08:00
parent 18f12d6ce3
commit ab6f179ab0
2 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ export default function ChannelConfigModal({
}} }}
> >
<div <div
className="flex max-h-[92vh] w-full max-w-280 flex-col overflow-hidden rounded-[34px] border border-black/10 bg-white shadow-[0_32px_90px_-24px_rgba(15,23,42,0.35)] dark:border-white/10 dark:bg-[#1c1c20]" className="flex max-h-[92vh] w-full max-w-280 flex-col overflow-hidden rounded-2xl border border-black/10 bg-white shadow-[0_32px_90px_-24px_rgba(15,23,42,0.35)] dark:border-white/10 dark:bg-[#1c1c20]"
onMouseDown={(event) => event.stopPropagation()} onMouseDown={(event) => event.stopPropagation()}
onClick={(event) => event.stopPropagation()} onClick={(event) => event.stopPropagation()}
> >

View File

@@ -1,5 +1,5 @@
import { useLocation, useNavigate } from 'react-router-dom'; import { useLocation, useNavigate } from 'react-router-dom';
import { Book, Bot, Clock, Code, Cpu, House, Link2, Puzzle, Settings } from 'lucide-react'; import { Book, Bot, Clock, Code, Cpu, House, Network, Puzzle, Settings } from 'lucide-react';
import { useI18n } from '../../i18n'; import { useI18n } from '../../i18n';
import { NAV_ITEMS, normalizeWorkspacePath } from '../../router/routes'; import { NAV_ITEMS, normalizeWorkspacePath } from '../../router/routes';
@@ -8,7 +8,7 @@ import blueLogo from '../../assets/images/login/blue_logo.png';
const MENU_MARKS: Record<string, typeof House> = { const MENU_MARKS: Record<string, typeof House> = {
'/home': House, '/home': House,
'/knowledge': Book, '/knowledge': Book,
'/channels': Link2, '/channels': Network,
'/agents': Bot, '/agents': Bot,
'/models': Cpu, '/models': Cpu,
'/skills': Puzzle, '/skills': Puzzle,