From 07c47f566a191db4e551b6f5ec489ea583e9fd19 Mon Sep 17 00:00:00 2001 From: billy Date: Sun, 30 Mar 2025 03:13:25 -0400 Subject: [PATCH] Enhance MultiplierShop component by replacing static buttons with a dynamic SimpleGrid layout for multiplier purchases. Updated UI to include a description for click power multipliers and improved responsiveness. --- src/components/MultiplierShop.tsx | 49 ++++++++++++++++++------------- 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/src/components/MultiplierShop.tsx b/src/components/MultiplierShop.tsx index 3ff6c0e..13b5d54 100644 --- a/src/components/MultiplierShop.tsx +++ b/src/components/MultiplierShop.tsx @@ -1,4 +1,4 @@ -import { Box, Button, VStack, HStack, Text } from '@chakra-ui/react' +import { Box, Button, VStack, HStack, Text, SimpleGrid } from '@chakra-ui/react' import { useGameStore } from '../store/gameStore' const MULTIPLIER_PURCHASES = [ @@ -16,25 +16,34 @@ export function MultiplierShop() { return ( - Multiplier Shop - - - - + + Click Power Multiplier + + Temporarily increase the points you get from clicking. Does not affect automatic point generation from buildings. + + + + {MULTIPLIER_PURCHASES.map((purchase) => ( + + ))} + )