Skip to content

Refactor Projects to show Winners component#41

Merged
ShugKnight24 merged 14 commits into
mainfrom
feat/projLayout
May 21, 2026
Merged

Refactor Projects to show Winners component#41
ShugKnight24 merged 14 commits into
mainfrom
feat/projLayout

Conversation

@shrinkray

@shrinkray shrinkray commented May 20, 2026

Copy link
Copy Markdown
Contributor

Refactor Projects

Jenna requested we promote the winners in a banner above the cards, while we wait for me to finish the Sanity content

  • Add sponsor challenge winners to the site: each winning project can be tagged in Sanity with its awarding sponsor (one winner per track).
  • The Projects page shows a winners showcase at the top (sponsor logo, challenge name, project link), and winner projects are highlighted and sorted first in the grid. Until all winners are in CMS, a small fallback file keeps the four announced teams visible.

Needs polish?

Screenshot 2026-05-19 at 7 45 04 PM
Screenshot 2026-05-19 at 9 50 01 PM

Improvements

  • Look at slideshows for each winner and extract any useful images, info
  • Add a field to link to Kaggle profile
  • Add field to link to slideshow
  • Add buttons to the card that make it more obvious someone can get more info on the project
  • Team name looks like a chip instead of button

shrinkray added 6 commits May 19, 2026 20:04
- 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
@vercel

vercel Bot commented May 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hackmi26 Ready Ready Preview, Comment May 21, 2026 2:22pm

- fix problematic style
@shrinkray

Copy link
Copy Markdown
Contributor Author

Data updated and deployed. Once these files are merged, the cards will show up.

shrinkray added 2 commits May 19, 2026 22:23
- update to stable Sanity
- big update for refactoring projects section
- Version bump

@ShugKnight24 ShugKnight24 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good initiative to show off the winners

Updated the code to be more modular and reusable for the future

@ShugKnight24 ShugKnight24 merged commit ab67107 into main May 21, 2026
6 checks passed
@ShugKnight24 ShugKnight24 deleted the feat/projLayout branch May 21, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants