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:
gpt-engineer-app[bot] 2025-07-21 07:34:55 +00:00
parent 92ae14d796
commit 6b9cf87fae

View file

@ -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"