返回 VideoClaw
BrandHeader.tsx
根目录 / video-claw / video-claw / frontend / components / BrandHeader.tsx
1 'use client';
2
3 import Link from 'next/link';
4
5 export default function BrandHeader() {
6 return (
7 <>
8 <header className="fixed top-0 right-0 left-[var(--app-sidebar-width)] z-30 h-14 bg-white border-b border-gray-200 flex items-center px-4 min-w-0 transition-[left] duration-300">
9 <Link href="/" className="flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0">
10 <img
11 src="/logo.jpg"
12 alt="Logo"
13 className="w-8 h-8 rounded-lg object-contain"
14 />
15 <span className="font-bold text-sm text-gray-800 tracking-tight">
16 Video-Claw
17 </span>
18 </Link>
19 </header>
20 <div className="h-14 flex-shrink-0" />
21 </>
22 );
23 }
24
24 lines Plain Text