import { FaCodeBranch } from 'react-icons/fa' import { FaLinkSlash } from 'react-icons/fa6' import GiteaLinkButton from './GiteaLinkButton' import PreviewLinkButton from './PreviewLinkButton' const STATUS_COLORS = { ready: '#10b981', live: '#10b981', online: '#10b981', provisioning: '#f59e0b', pending: '#f59e0b', building: '#3b82f6', error: '#ef4444', failed: '#ef4444', } function StatusBadge({ label, value }) { if (!value) return null const color = STATUS_COLORS[String(value).toLowerCase()] || '#a0aec0' return ( {label}: {value} ) } export default function AssignedProjectCard({ project, onUnassign, showActions = false }) { return (