import React from 'react'; import { Briefcase, Sparkles, Star, Quote } from 'lucide-react'; import { esatTag, recentJobs, clientEndorsements } from '@/lib/talentInsights'; export default function EmployerInsights({ profile }) { const esat = esatTag(profile); const jobs = recentJobs(profile); const endorsements = clientEndorsements(profile); if (jobs.length === 0 && endorsements.length === 0) return null; return (
{/* ESAT + Job history header row */}

JOB HISTORY · 3 YR

ESAT {esat.label}
{jobs.length > 0 && (
{jobs.map((e, i) => (
{e.role} · {e.company} {e.years != null && · {e.years}yr}
))}
)} {/* 3 Client endorsements */} {endorsements.length > 0 && (

CLIENT ENDORSEMENTS

{endorsements.map((en, i) => (

{en.company}

{en.role}

{Array.from({ length: 5 }).map((_, s) => ( ))}
))}
)}
); }