'use client'; import React from 'react'; import { Users, Calendar, Shield, Settings, Globe } from 'lucide-react'; import { Box } from '@/ui/Box'; import { Heading } from '@/ui/Heading'; import { Text } from '@/ui/Text'; import { Stack } from '@/ui/Stack'; import { Button } from '@/ui/Button'; import { Surface } from '@/ui/Surface'; import { Icon } from '@/ui/Icon'; interface TeamDetailsHeaderProps { teamId: string; name: string; tag?: string; description?: string; logoUrl?: string; memberCount: number; foundedDateLabel?: string; isAdmin?: boolean; onAdminClick?: () => void; } export function TeamDetailsHeader({ name, tag, description, logoUrl, memberCount, foundedDateLabel, isAdmin, onAdminClick, }: TeamDetailsHeaderProps) { return ( {/* Logo Container */} {logoUrl ? ( ) : ( {name.substring(0, 3).toUpperCase()} )} {/* Info Section */} {name} {tag && ( {tag} )} {description || 'No mission statement provided.'} {/* Metadata Grid */} Personnel {memberCount} UNITS Established {foundedDateLabel || 'UNKNOWN'} Region GLOBAL {/* Action Buttons */} {isAdmin && ( )} ); }