// Team section const Team = () => { const [active, setActive] = React.useState(TEAM[0].id); const sel = TEAM.find(t => t.id === active) || TEAM[0]; return (
{/* List */}
{TEAM.map((t, i) => ( ))}
{/* Active profile */}
{sel.avatar}

{sel.name}

AVAILABLE
{sel.role}
⌖ {sel.location}

{sel.bio}

EXPERTISE
{sel.skills.map(sk => {sk})}
RECENT WORK
{PORTFOLIO.slice(0,3).map(p => (
{p.name}
{p.year}
))}
); }; const Stat = ({ label, value, divider }) => (
{label}
{value}
); window.Team = Team;