fix(ui): remove duplicate 'Z' from TopBar header
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

The TopBar had a gradient badge with 'Z' letter followed by the title
'ZCLAW', creating visual 'ZZCLAW'. Replaced badge with a solid gradient
square as a brand indicator without the duplicate letter.
This commit is contained in:
iven
2026-04-09 08:47:34 +08:00
parent 5da6c0e4aa
commit f298a8e1a2

View File

@@ -18,9 +18,7 @@ export function TopBar({
<header className="h-14 bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700 flex items-center px-4 flex-shrink-0"> <header className="h-14 bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700 flex items-center px-4 flex-shrink-0">
{/* 左侧标题 */} {/* 左侧标题 */}
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<div className="w-8 h-8 bg-gradient-to-br from-emerald-400 to-teal-500 rounded-lg flex items-center justify-center text-white font-bold shadow-sm"> <div className="w-8 h-8 bg-gradient-to-br from-emerald-400 to-teal-500 rounded-lg shadow-sm" />
<span className="text-sm">Z</span>
</div>
<div> <div>
<span className="font-bold text-lg text-gray-900 dark:text-gray-100">{title}</span> <span className="font-bold text-lg text-gray-900 dark:text-gray-100">{title}</span>
{subtitle && ( {subtitle && (