From 0ae210a4330eead31848161e0bdf95055e43ad34 Mon Sep 17 00:00:00 2001 From: OG T Date: Wed, 1 Apr 2026 21:24:52 +0800 Subject: [PATCH] fix(ui): sidebar font sizes to standard + remove dead NemoClaw SVG from openclaw-panel --- apps/web/src/components/ai/openclaw-panel.tsx | 228 ------------------ apps/web/src/components/layout/sidebar.tsx | 8 +- 2 files changed, 4 insertions(+), 232 deletions(-) diff --git a/apps/web/src/components/ai/openclaw-panel.tsx b/apps/web/src/components/ai/openclaw-panel.tsx index cfb6a4516..e0e826ff9 100644 --- a/apps/web/src/components/ai/openclaw-panel.tsx +++ b/apps/web/src/components/ai/openclaw-panel.tsx @@ -49,234 +49,6 @@ const STATUS_MESSAGES: Record = { complete: '[SYS] Analysis complete', } -// ============================================================================= -// NemoClaw 3D Ceramic SVG Component (Lab-White Style) -// ============================================================================= - -function NemoClaw({ isActive, isPulsing }: { isActive: boolean; isPulsing: boolean }) { - return ( - - - {/* 3D Ceramic gradient - white/cream tones */} - - - - - - - - {/* Core glow filter - stronger */} - - - - - - {/* Pulse glow animation filter */} - - - - - - - - {/* Shadow for 3D effect */} - - - - - - {/* Base shadow */} - - - {/* Main body - 3D ceramic sphere */} - - - {/* Inner ring - depth effect */} - - - {/* Core LED - Blue pulsing (the eye) */} - - {isPulsing && ( - - )} - - - {/* Core highlight */} - - - {/* Claw arms - ceramic white 3D style */} - {/* Top arm */} - - - - {/* Claw tips */} - - - - - {/* Left arm */} - - - - - - - - {/* Right arm */} - - - - - - - - {/* Bottom left arm */} - - - - - - - {/* Bottom right arm */} - - - - - - - {/* Orbit ring when active */} - {isActive && ( - - )} - - ) -} // ============================================================================= // Typewriter Hook diff --git a/apps/web/src/components/layout/sidebar.tsx b/apps/web/src/components/layout/sidebar.tsx index 01802dde9..40ab178ac 100644 --- a/apps/web/src/components/layout/sidebar.tsx +++ b/apps/web/src/components/layout/sidebar.tsx @@ -193,7 +193,7 @@ export function Sidebar({ {/* 分區標題(collapsed 時隱藏)*/} {!collapsed && (
0 && (