feat(ai): replace dragon arm SVG with NemoNodeAnimation in OpenClawPanel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-01 20:05:18 +08:00
parent edc3707032
commit beb6a227db

View File

@@ -17,6 +17,7 @@ import { useState, useEffect } from 'react'
import { useTranslations } from 'next-intl'
import { cn } from '@/lib/utils'
import { Sparkles } from 'lucide-react'
import { NemoNodeAnimation } from './nemo-node-animation'
// =============================================================================
// Types
@@ -373,17 +374,28 @@ export function OpenClawPanel({
)}
</div>
{/* NemoClaw 3D Ceramic Visualization */}
<div className="relative w-32 h-32 mx-auto mb-4">
<NemoClaw isActive={isActive} isPulsing={isPulsing} />
{/* NemoClaw 截圖風格動畫 */}
<div style={{ display: 'flex', alignItems: 'flex-start', gap: 12, padding: '10px 12px' }}>
<NemoNodeAnimation size={72} />
{/* Sparkle effects when active */}
{isActive && (
<>
<Sparkles className="absolute -top-1 -right-1 w-4 h-4 text-claw-blue/60 animate-pulse" />
<Sparkles className="absolute -bottom-1 -left-1 w-3 h-3 text-claw-blue/40 animate-pulse" style={{ animationDelay: '0.3s' }} />
</>
)}
{/* 右側文字 */}
<div style={{ flex: 1 }}>
<div style={{ fontSize: 11, fontWeight: 700, color: '#141413', marginBottom: 2 }}>
NemoClaw
</div>
<div style={{ fontSize: 9, color: '#87867f', marginBottom: 6 }}>
{STATUS_MESSAGES[status]}
</div>
<span style={{
fontSize: 8, padding: '2px 8px',
background: 'rgba(74,144,217,0.08)',
border: '0.5px solid rgba(74,144,217,0.3)',
borderRadius: 10,
color: '#4A90D9',
}}>
OpenClaw Pipeline
</span>
</div>
</div>
{/* Status Display - VT323 Dot Matrix Font */}