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 117 additions and 3 deletions
Showing only changes of commit 29f92fff88 - Show all commits
+3 -3
View File
@@ -90,7 +90,7 @@ export const ResourceBar = ({
target="_blank"
title="Support the developer"
>
💜 Donate
💜 <span className="btn-label">Donate</span>
</a>
<a
className="profile-link-button"
@@ -99,7 +99,7 @@ export const ResourceBar = ({
target="_blank"
title="Join our Discord"
>
💬 Discord
💬 <span className="btn-label">Discord</span>
</a>
{syncError !== null ? (
<span className="save-status save-error" title={syncError}>
@@ -126,7 +126,7 @@ export const ResourceBar = ({
target="_blank"
title="View your public profile"
>
👤 Profile
👤 <span className="btn-label">Profile</span>
</a>
<button
className="profile-edit-button"
+114
View File
@@ -2911,3 +2911,117 @@ body {
padding: 0.5rem 0.75rem;
text-align: center;
}
/* ===================== RESPONSIVE ===================== */
/* --- Mobile (≤ 768px) --------------------------------- */
@media (max-width: 768px) {
/* Resource bar wraps onto multiple lines */
.resource-bar {
flex-wrap: wrap;
gap: 0.35rem 0.75rem;
padding: 0.5rem 0.75rem;
}
/* Hide text labels — icon + value is enough */
.resource-label {
display: none;
}
.resource-value {
font-size: 0.95rem;
}
/* Prestige / transcendence / apotheosis counts visible in their own tabs */
.prestige-badge,
.transcendence-badge,
.apotheosis-badge {
display: none;
}
/* Profile buttons fill their own row, aligned right */
.profile-buttons {
margin-left: 0;
justify-content: flex-end;
width: 100%;
}
/* Stack sidebar above main content */
.game-main {
flex-direction: column;
}
/* Sidebar becomes a compact horizontal strip */
.game-sidebar {
align-items: center;
border-bottom: 1px solid var(--colour-border);
border-right: none;
flex-direction: row;
gap: 0.75rem;
justify-content: center;
padding: 0.5rem 0.75rem;
width: 100%;
}
.game-copyright {
display: none;
}
/* Click area lays out horizontally inside the strip */
.click-area {
align-items: center;
display: flex;
flex-direction: row;
gap: 0.75rem;
text-align: left;
}
/* Hide the verbose "Guild Hall" heading */
.click-area h2 {
display: none;
}
.game-title {
font-size: 1rem;
margin-bottom: 0;
}
.game-version {
margin-bottom: 0;
}
/* Smaller click button for the compact strip */
.click-button {
font-size: 2rem;
height: 64px;
width: 64px;
}
.click-power {
font-size: 0.7rem;
margin-top: 0;
}
/* Early access notice is too verbose for a horizontal strip */
.early-access-notice {
display: none;
}
}
/* --- Small mobile (≤ 480px) --------------------------- */
@media (max-width: 480px) {
/* Icon-only profile link buttons to save horizontal space */
.btn-label {
display: none;
}
.profile-link-button {
padding: 0.3rem 0.5rem;
}
/* Slightly smaller tab buttons */
.tab-button {
font-size: 0.8rem;
padding: 0.3rem 0.6rem;
}
}