feat: v1 prototype — core game systems #30

Merged
naomi merged 84 commits from feat/prototype into main 2026-03-08 15:53:39 -07:00
2 changed files with 15 additions and 4 deletions
Showing only changes of commit cddf4fa692 - Show all commits
+5 -1
View File
@@ -49,7 +49,11 @@ export const ClickArea = (): React.JSX.Element => {
type="button"
aria-label={`Click to earn ${formatNumber(clickPower)} gold`}
>
<img
alt="Guild Hall"
className="click-button-image"
src="https://cdn.nhcarrigan.com/avatars/elysium.png"
/>
</button>
{floats.map((float) => (
<span
+10 -3
View File
@@ -201,17 +201,25 @@ body {
}
.click-button {
background: linear-gradient(135deg, var(--colour-accent), var(--colour-accent-light));
background: none;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 3rem;
height: 120px;
overflow: hidden;
padding: 0;
transition: transform 0.1s, box-shadow 0.1s;
width: 120px;
box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}
.click-button-image {
border-radius: 50%;
height: 100%;
object-fit: cover;
width: 100%;
}
.click-button:active {
transform: scale(0.93);
box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
@@ -3000,7 +3008,6 @@ body {
/* Smaller click button for the compact strip */
.click-button {
font-size: 2rem;
height: 64px;
width: 64px;
}