From 6e8321cf7e0c2ae08423163b75bb8396b8b89a20 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Sat, 22 Nov 2025 00:14:40 +0800 Subject: [PATCH] feat: polish logo card with svg transitions --- static/app.js | 7 +-- static/icons/zap.svg | 13 +++++ static/index.html | 35 +++++++++----- static/style.css | 111 +++++++++++++++++++++++++++---------------- 4 files changed, 110 insertions(+), 56 deletions(-) create mode 100644 static/icons/zap.svg diff --git a/static/app.js b/static/app.js index e305128..f653c89 100644 --- a/static/app.js +++ b/static/app.js @@ -71,7 +71,8 @@ const ICONS = Object.freeze({ triangleAlert: '/static/icons/triangle-alert.svg', user: '/static/icons/user.svg', wrench: '/static/icons/wrench.svg', - x: '/static/icons/x.svg' + x: '/static/icons/x.svg', + zap: '/static/icons/zap.svg' }); const TOOL_ICON_MAP = Object.freeze({ @@ -219,12 +220,12 @@ async function bootstrapApp() { autoScrollEnabled: true, // 面板宽度控制 - leftWidth: 280, + leftWidth: 350, rightWidth: 420, rightCollapsed: true, isResizing: false, resizingPanel: null, - minPanelWidth: 200, + minPanelWidth: 350, maxPanelWidth: 600, // 工具状态跟踪 diff --git a/static/icons/zap.svg b/static/icons/zap.svg new file mode 100644 index 0000000..a64ccff --- /dev/null +++ b/static/icons/zap.svg @@ -0,0 +1,13 @@ + + + diff --git a/static/index.html b/static/index.html index 9acdddf..abd450c 100644 --- a/static/index.html +++ b/static/index.html @@ -168,21 +168,30 @@