import { Box, Chip, Paper, Typography } from '@mui/material' import { MapPin } from 'lucide-react' import type { LatentNeed } from '../../domain/latentNeed' import { assetTypeLabel, latentStatusBadge } from './latentNeedUtils' interface PublicNeedCardProps { need: LatentNeed selected: boolean onClick: () => void } function opportunityColor(status: 'public' | 'paused' | 'expired'): string { if (status === 'public') return '#16a34a' if (status === 'paused') return '#d97706' return '#94a3b8' } export function PublicNeedCard({ need, selected, onClick }: PublicNeedCardProps) { const statusCfg = latentStatusBadge(need.status) return ( {need.title} {need.tenantCompany && ( {need.tenantCompany} )} {need.desiredLocation} ) }