diff --git a/src/App.tsx b/src/App.tsx index 6553b51..01b3259 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -139,45 +139,33 @@ function App() { - - Clicker Clicker 2 - - - Click anywhere to start (and then scroll down) - + {points === 0 && ( + + Click anywhere to start + + )} - - {/* Reset button positioned in the top right */} - - - - {/* Shop Section */} - - - Shop - Level {playerLevel} - - - {availableBuildings.map((building) => ( - useGameStore.getState().buyBuilding(building.id as BuildingId)} - description={building.description} - production={building.production} - buildingType={building.id} - levelRequirement={building.levelRequirement} - /> - ))} - - - + {/* Buildings Grid */} + + {availableBuildings.map((building) => ( + useGameStore.getState().buyBuilding(building.id as BuildingId)} + description={building.description} + production={building.production} + buildingType={building.id} + levelRequirement={building.levelRequirement} + /> + ))} + + diff --git a/src/assets/logo.png b/src/assets/logo.png index 3f11755..8518c81 100644 Binary files a/src/assets/logo.png and b/src/assets/logo.png differ diff --git a/src/components/ResetButton.tsx b/src/components/ResetButton.tsx index 9178f4f..685e316 100644 --- a/src/components/ResetButton.tsx +++ b/src/components/ResetButton.tsx @@ -7,8 +7,6 @@ import { AlertDialogContent, AlertDialogOverlay, useDisclosure, - IconButton, - Tooltip } from '@chakra-ui/react' import React, { useRef } from 'react' import { useGameStore } from '../store/gameStore' @@ -25,17 +23,14 @@ export function ResetButton() { return ( <> - - 🔄} - onClick={onOpen} - colorScheme="red" - size="md" - variant="ghost" - borderRadius="full" - /> - + - {/* Points */} - - Points - {Math.floor(points)} - +{pointsPerSecond.toFixed(1)}/s + {/* Logo */} + + Clicker Clicker 2 - - - {/* Click Power */} - - Click Power - {actualClickPower} - {activeMultipliers.length > 0 && ( - {totalMultiplier}x Active - )} + {/* Reset button */} + + - - - {/* Level */} - - Level - {playerLevel} - - - {/* Progress to next level */} - - - - Level {playerLevel} - Level {playerLevel + 1} - - + {/* Main content - centered */} + + {/* Points */} + + Points + {Math.floor(points)} + +{pointsPerSecond.toFixed(1)}/s - + + + + {/* Click Power */} + + Click Power + {actualClickPower} + {activeMultipliers.length > 0 && ( + {totalMultiplier}x Active + )} + + + + + {/* Level */} + + Level + {playerLevel} + + + {/* Progress to next level */} + + + + Level {playerLevel} + Level {playerLevel + 1} + + + + + )