import React from 'react'; import { MOCK_CANDIDATES } from '../../constants'; import { Search, UserPlus, Phone, FileText, ChevronRight, MoreHorizontal } from 'lucide-react'; const STAGES = [ { id: 'new', label: 'Новые', color: 'bg-slate-100 text-slate-500', border: 'border-slate-200' }, { id: 'interview', label: 'Собеседование', color: 'bg-primary-50 text-primary-600', border: 'border-primary-200' }, { id: 'offer', label: 'Оффер', color: 'bg-emerald-50 text-emerald-600', border: 'border-emerald-200' }, ]; export const HiringPipeline: React.FC = () => { return (
{/* Stage Stats */}
{STAGES.map((stage, idx) => { const count = MOCK_CANDIDATES.filter(c => c.stage === stage.id).length; return (

{count}

{stage.label}

{idx < STAGES.length - 1 &&
} ); })}
{/* Candidate Cards */}

Активные соискатели

{MOCK_CANDIDATES.map(cand => (
s.id === cand.stage)?.color.split(' ')[0]}`}> s.id === cand.stage)?.color.split(' ')[1]}`}/>

{cand.name}

s.id === cand.stage)?.color}`}> {STAGES.find(s => s.id === cand.stage)?.label}

{cand.position} • Тел: {cand.phone}

))}
); };