import React from 'react'; import { Star } from 'lucide-react'; const SEED_NETWORK = ['Luis', 'Chef Antonio']; const SEED_ROLES = ['Supervisor', 'Chef']; export default function ExperienceNetwork({ profile }) { const exp = (profile.experience || []).slice(0, 3); const list = exp.length ? exp.map((e, i) => ({ company: e.company || 'Company', shifts: Math.max(1, Math.round((e.years || 1) * 20)), ref: SEED_NETWORK[i % SEED_NETWORK.length], role: e.role || SEED_ROLES[i % SEED_ROLES.length], action: i === 0 ? 'Request Reference' : 'Endorse Skill', })) : [ { company: 'Google', shifts: 58, ref: 'Luis', role: 'Supervisor', action: 'Request Reference' }, { company: 'Adobe', shifts: 26, ref: 'Chef Antonio', role: 'Chef', action: 'Endorse Skill' }, { company: 'EA', shifts: 15, ref: 'Maria', role: 'Manager', action: 'Request Reference' }, ]; return (

Verified Experience & Network

{list.map((x, i) => (

{x.company}

{x.shifts} shifts ยท {x.ref} ({x.role})

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