'use client' import Image from 'next/image' import Link from 'next/link' import { useEffect } from 'react' import BrandLogo from '@/components/BrandLogo' import { DEFAULT_LOGIN_LOGO_URL } from '@/lib/brand-assets' export function WorkReviewHeader({ name, avatar, secondaryAction, primaryAction, wide = false, }: { name: string avatar?: string | null secondaryAction?: { label: string onClick: () => void icon: 'add' | 'back' } primaryAction?: { label: string onClick: () => void icon: 'add' | 'back' } wide?: boolean }) { const initials = name.trim().slice(0, 2) || '我' useEffect(() => { document.title = '由壹点·品牌中心 · 作品过稿看板' }, []) return (
由壹点·品牌中心
作品过稿看板
Review board
{avatar ? ( {name} ) : initials}
{name}
{secondaryAction && ( )} {primaryAction && ( )} 创意资产库
) }