diff --git a/app/src/components/MemberRing.tsx b/app/src/components/MemberRing.tsx index 86e21f4..87bb902 100644 --- a/app/src/components/MemberRing.tsx +++ b/app/src/components/MemberRing.tsx @@ -10,36 +10,77 @@ export function MemberRing({ revealed: boolean; }) { const radius = 100; + const center = 170; + return (
-
-
{revealed ? "✓" : "pot"}
+ + + + + {revealed ? "✓" : "pot"} + + {members.map((m, i) => { const angle = (i / members.length) * 2 * Math.PI - Math.PI / 2; - const x = Math.round(Math.cos(angle) * radius); - const y = Math.round(Math.sin(angle) * radius); + const x = center + Math.cos(angle) * radius; + const y = center + Math.sin(angle) * radius; + return ( -
- {i + 1} -
+ + + + {i + 1} + + ); })} + {revealed && ( -
- ? -
+ + + + ? + + )} -
+ + {revealed && (

- Payout landed on the address above — cryptographically, it could be tied to any{" "} - of the 5 members in the ring. An outside observer cannot tell which. + Payout landed on the address above — cryptographically, it could be + tied to any of the 5 members in the ring. An outside + observer cannot tell which.

)}
); -} +} \ No newline at end of file