Refactor Projects to show Winners component#41
Merged
Conversation
- add a single ‘awarding sponsor’ field on each project - the Studio enforces one winner per challenge track
- one source of truth for challenge names, logos, and Compass - frontend and Studio share the same four challenge tracks - Compass is the org - ‘Hack Michigan AI Challenge’ is the public label
- Query and type the new field everywhere projects are listed - GROQ and TypeScript know about challenge winners; lists put winners first
- hardcoded slugs/titles/team for the winners - until studio is complete this shows us what we want to know
- winners section works before every winner is tagged in Sanity - projects page opens with sponsor challenge winners, then all submissions below - converted SponsorChallengeSection into component - create new SponsorWinnersSection
- winner projects sort to the top and show a challenge ribbon on cards and detail pages
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- fix problematic style
Contributor
Author
|
Data updated and deployed. Once these files are merged, the cards will show up. |
- update to stable Sanity
- big update for refactoring projects section - Version bump
ShugKnight24
approved these changes
May 21, 2026
ShugKnight24
left a comment
Contributor
There was a problem hiding this comment.
Good initiative to show off the winners
Updated the code to be more modular and reusable for the future
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.
Refactor Projects
Jenna requested we promote the winners in a banner above the cards, while we wait for me to finish the Sanity content
Needs polish?
Improvements