From a2f4eb341e1fdc1184f8064a317ea309a20b4292 Mon Sep 17 00:00:00 2001 From: DEV_DSW <562304744@qq.com> Date: Fri, 17 Apr 2026 16:23:11 +0800 Subject: [PATCH] feat: update Sidebar and Login components with icon integration and localization improvements --- dist/index.html | 4 +-- src/components/layout/Sidebar.tsx | 40 ++++++++++++++-------------- src/pages/Login/index.tsx | 43 +++++++++++++++++++++---------- 3 files changed, 52 insertions(+), 35 deletions(-) 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