import { Heading } from '@/ui/Heading'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { ReactNode } from 'react'; import { TeamLogo } from './TeamLogo'; import { TeamTag } from './TeamTag'; interface TeamHeaderPanelProps { teamId: string; name: string; tag?: string | null; description?: string; memberCount: number; activeLeaguesCount?: number; foundedDate?: string; category?: string | null; actions?: ReactNode; } export function TeamHeaderPanel({ teamId, name, tag, description, memberCount, activeLeaguesCount, foundedDate, category, actions, }: TeamHeaderPanelProps) { return ( {/* Instrument-grade accent corner */} {/* Logo Container */} {/* Corner detail */} {name} {tag && } {description && ( {description} )} {memberCount} {memberCount === 1 ? 'Member' : 'Members'} {category && ( {category} )} {activeLeaguesCount !== undefined && ( {activeLeaguesCount} {activeLeaguesCount === 1 ? 'League' : 'Leagues'} )} {foundedDate && ( EST. {foundedDate} )} {actions && ( {actions} )} ); }