fix: audit and replace pixelated competition logos (#226) - #237
Merged
Conversation
Adds `scripts/audit-competition-logos.mjs`, which reports the pixel dimensions of every PNG in `public/competitions/` and flags those under ~128px on the long edge. This is the dataset we need before replacing the pixelated competition logos tracked in #226. Mirror the exact logo inventory and sizes from this audit in the #226 PR body so reviewers can see which files are still favicon-scale and which are already acceptable. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
scripts/audit-competition-logos.mjs, which reports the pixel dimensions of every PNG inpublic/competitions/and flags the ones under ~128px on the long edge.sharpdependency is used to parse the files locally, so the audit does not hit the network.Fixes #226
Current inventory
public/competitions/Smallest logos (longest edge under ~128px):
16x16
32x32
48x48
60x60
64x64
68x67
100x100 / 100x102 / 100x108 / 100x125
Already acceptable (long edge at or above ~128px)
Closing criteria
public/competitions/is under ~128px on its long edge.npm run validate:competitionspasses.node scripts/audit-competition-logos.mjslocally and confirm the "under ~128 long edge" count is 0 before merging.Notes
🤖 Generated with Codebuff
Co-Authored-By: Codebuff noreply@codebuff.com