diff --git a/dist/index.html b/dist/index.html index bdc8e04..96432eb 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,8 +8,8 @@ http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: http://8.138.234.141 https://one-feel-bucket.oss-cn-guangzhou.aliyuncs.com; connect-src 'self' http://8.138.234.141 https://api.iconify.design wss://onefeel.brother7.cn" /> - - + +
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index d3c66a6..506c643 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -1,14 +1,15 @@ import { useLocation, useNavigate } from 'react-router-dom'; +import { Book, Clock, Code, Cpu, House, Puzzle, Settings } from 'lucide-react'; import { NAV_ITEMS, normalizeWorkspacePath } from '../../router/routes'; -const MENU_MARKS: Record = { - '/home': '首', - '/knowledge': '知', - '/agents': '模', - '/skills': '技', - '/cron': '时', - '/scripts': '脚', - '/setting': '设', +const MENU_MARKS: Record = { + '/home': House, + '/knowledge': Book, + '/agents': Cpu, + '/skills': Puzzle, + '/cron': Clock, + '/scripts': Code, + '/setting': Settings, }; export default function Sidebar() { @@ -17,11 +18,12 @@ export default function Sidebar() { const currentId = normalizeWorkspacePath(location.pathname); return ( -