Show value above plus button
Display the actual value of each power of three above the plus button in the balanced ternary game.
This commit is contained in:
parent
92ae14d796
commit
6b9cf87fae
1 changed files with 3 additions and 0 deletions
|
|
@ -172,6 +172,9 @@ const BalancedTernaryGame: React.FC<BalancedTernaryGameProps> = ({ showSocialSha
|
||||||
<div className="grid grid-cols-8 gap-3">
|
<div className="grid grid-cols-8 gap-3">
|
||||||
{POWERS_OF_THREE.map((power, index) => (
|
{POWERS_OF_THREE.map((power, index) => (
|
||||||
<div key={power} className="flex flex-col items-center space-y-2">
|
<div key={power} className="flex flex-col items-center space-y-2">
|
||||||
|
{/* Power value */}
|
||||||
|
<span className="text-xs text-muted-foreground font-medium">{power}</span>
|
||||||
|
|
||||||
{/* Add button */}
|
{/* Add button */}
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue