{/* avatar with a gradient ring */}
{/* badge */}
{crossed && (
{p.badge} 🎉
)}
{/* name */}
{p.name}
{p.handle}
{/* stats */}
{[p.posts, count, p.following].map((v, i) => {
const hot = i === 1;
const x = rtl ? W - 115 - (i + 1) * 150 : 115 + i * 150;
return (
);
})}
{/* +1 chips off the followers number */}
{Array.from({length: 9}, (_, i) => {
const t0 = 0.7 + i * 0.2;
const k = p01(t, t0, t0 + 0.8);
if (k <= 0 || k >= 1) return null;
const x = (rtl ? W - 115 - 2 * 150 : 115 + 150) + 75 + (rnd(i, 3) - 0.5) * 90;
return (
+{1 + Math.floor(rnd(i, 5) * 9)}
);
})}
{/* follow button */}
{(() => {
const bx = rtl ? W - 220 - 210 : 220;
const by = 256;
return (
<>
0.5 ? 'rgba(22,21,26,0.07)' : `linear-gradient(135deg, ${p.accent}, ${p.accent2})`, color: flip > 0.5 ? '#16151a' : '#fff',
display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: 28, fontWeight: 800, boxShadow: flip > 0.5 ? 'none' : `0 8px 18px ${rgba(p.accent, 0.35)}`}}>
{flip > 0.5 ? p.followingText : p.followText}
{touch > 0 && (
)}
>
);
})()}