Highlight seasonal Community Center priorities

This commit is contained in:
Codex 2026-10-05 19:10:19 +01:00
parent 8d5a94d7fa
commit d2c7f004ea
8 changed files with 199 additions and 16 deletions

View file

@ -6,7 +6,7 @@
<meta name="theme-color" content="#132720">
<meta name="description" content="A shared two-year Stardew Valley Community Center planner.">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="stylesheet" href="/styles.css?v=1.1.0">
<link rel="stylesheet" href="/styles.css?v=1.2.0">
<title>Valley Yearbook</title>
</head>
<body>
@ -80,11 +80,31 @@
<div class="progress-track" aria-hidden="true"><i id="progress-bar"></i></div>
</div>
</div>
<div class="priority-summary" id="priority-summary" aria-label="Season priorities">
<button type="button" data-filter="now" aria-pressed="false">
<strong id="needed-now-count">0</strong>
<span>Needed now</span>
<small id="needed-now-detail">Available this season</small>
</button>
<button type="button" data-filter="exclusive" aria-pressed="false">
<strong id="exclusive-count">0</strong>
<span>Season-only</span>
<small id="exclusive-detail">Miss it, wait a year</small>
</button>
<button type="button" data-filter="weather" aria-pressed="false">
<strong id="weather-count">0</strong>
<span>Weather window</span>
<small>Rain or sun required</small>
</button>
</div>
<div class="bundle-toolbar" role="group" aria-label="Bundle filter">
<button type="button" data-filter="all" aria-pressed="true">All rooms</button>
<button type="button" data-filter="season" aria-pressed="false">Available this season</button>
<button type="button" data-filter="open" aria-pressed="false">Still needed</button>
<button type="button" data-filter="now" aria-pressed="false">Needed now</button>
<button type="button" data-filter="exclusive" aria-pressed="false">Season-only</button>
<button type="button" data-filter="weather" aria-pressed="false">Weather-specific</button>
<button type="button" data-filter="open" aria-pressed="false">All unfinished</button>
</div>
<p class="availability-note"><span aria-hidden="true">◆</span> Availability follows normal sources for the selected season; the Traveling Cart can occasionally provide exceptions.</p>
<div id="bundle-list" class="bundle-list"></div>
</section>
</main>
@ -94,8 +114,9 @@
</footer>
</div>
<div id="toast" class="toast" role="alert" aria-live="assertive"></div>
<script src="/data.js?v=1.1.0"></script>
<script src="/sync.js?v=1.1.0"></script>
<script src="/app.js?v=1.1.0"></script>
<script src="/data.js?v=1.2.0"></script>
<script src="/sync.js?v=1.2.0"></script>
<script src="/availability.js?v=1.2.0"></script>
<script src="/app.js?v=1.2.0"></script>
</body>
</html>