Repository navigation
Fix full-screen locations, serve Minecraft heads from the site, remove Donate - #11
Merged
Merged
Conversation
…e Donate - Full screen: the Campus grid's card widths (#locations-wrapper .location) out-ranked the full-screen rule, so an expanded location stayed card width (410px of a 1280px window). The grid sizes now skip cards that are full screen - Heads: mc-heads.net returned default faces for 7 of the 21 board members (mathhulk, X1_Dragon, JingleTheLeo, Zetrox42, Onnowhere, Rimpo__, Agentbjorn) although Mojang has custom skins for all of them. `bun run heads` (scripts/heads.ts) now takes each face and hat layer straight from Mojang's skin file into public/images/heads/<uuid>.png (8x8, ~5 KB for all 21), scaled up with image-rendering: pixelated. The Club page no longer depends on any third-party service. Board data moves to app/data/board.ts so the script and page share it - Remove the Donate (Patreon) link from the navigation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DxVDmLPux3Tx7RV1v4yznD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes three issues on the live site.
1. Expand (full screen) button on Campus locations
#locations-wrapper .location) is more specific than the full-screen rule, so it kept applying after a card expanded. This came in with the switch from Bootstrap's grid to plain CSS: the old column wrapper sized the card from outside, so the conflict couldn't happen.2. Missing Minecraft skins on the Club page
bun run heads(scripts/heads.ts) reads each player's skin from Mojang by UUID. It takes the 8×8 face, lays the hat layer on top the way the game does, and savespublic/images/heads/<uuid>.png. All 21 together are about 5 KB.image-rendering: pixelated, so they stay crisp.app/data/board.ts, so the script and the page share one list. Re-runbun run headsafter changing who's on the board.3. Donate removed
The Donate (Patreon) link is gone from the desktop and mobile navigation.
Verification
format:check, lint andnuxt typecheckpass; the heads script is type-checked separately under the same strict settings./club;Generated by Claude Code