'use client'; import { Button } from '@/ui/Button'; import { Image } from '@/ui/Image'; import { TeamHero } from '@/ui/TeamHero'; import { Text } from '@/ui/Text'; import { Badge } from '@/ui/Badge'; import { StatGrid } from '@/ui/StatGrid'; import { Group } from '@/ui/Group'; import { Surface } from '@/ui/Surface'; import { Box } from '@/ui/Box'; interface TeamDetailsHeaderProps { teamId: string; name: string; tag?: string; description?: string; logoUrl?: string; memberCount: number; memberCountLabel?: string; foundedDate?: string; foundedDateLabel?: string; isAdmin?: boolean; onAdminClick?: () => void; } export function TeamDetailsHeader({ name, tag, description, logoUrl, memberCount, memberCountLabel, foundedDate, foundedDateLabel, isAdmin, onAdminClick, }: TeamDetailsHeaderProps) { return ( {name} {tag && [{tag}]} } description={description || 'No mission statement provided.'} sideContent={ {logoUrl ? ( {name} ) : ( {name.substring(0, 2).toUpperCase()} )} } stats={ } actions={ {isAdmin && ( )} } /> ); }