Fix: Reopening ideathon registrations - #60
Conversation
|
@Akshat-Raj is attempting to deploy a commit to the Genesis' projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull request overview
Reopens Ideathon registrations by re-enabling it in the registration UI and allowing API registrations again, while keeping Clash Royale closed and updating the hero banner copy accordingly.
Changes:
- Re-enabled the Ideathon (
pitch_perfect) card on the registration page. - Updated the registration API to only block
clash_royale(allowing Ideathon registrations again). - Adjusted the Hero banner text to reflect that only Clash Royale registrations are closed.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/components/sections/Hero.tsx | Updates hero banner message to no longer state Ideathon is closed. |
| src/app/register/page.tsx | Re-adds Ideathon to the list of selectable registration events. |
| src/app/api/register/route.ts | Removes the API-side block on Ideathon registrations; keeps Clash Royale blocked. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| leading-relaxed md:leading-relaxed" | ||
| > | ||
| <span className="font-black text-[15px] sm:text-base md:text-xl">CLASH ROYALE AND IDEATHON REGISTRATIONS ARE NOW CLOSED!</span> <span className="font-semibold">Please register for other exciting events.</span> <span className="text-[#22c55e] dark:text-[#4ade80] font-bold">On-spot registrations will be available on the day of the fest!</span> | ||
| <span className="font-black text-[15px] sm:text-base md:text-xl">CLASH ROYALE REGISTRATIONS ARE NOW CLOSED!</span> <span className="font-semibold">Please register for other exciting events.</span><br></br> <span className="text-[#22c55e] dark:text-[#4ade80] font-bold">On-spot registrations will be available on the day of the fest!</span> |
There was a problem hiding this comment.
<br></br> is a void element; in JSX this should be self-closing (<br />). The codebase uses the self-closing form elsewhere (e.g., src/app/about/page.tsx), and this avoids React/ESLint void-element warnings.
| <span className="font-black text-[15px] sm:text-base md:text-xl">CLASH ROYALE REGISTRATIONS ARE NOW CLOSED!</span> <span className="font-semibold">Please register for other exciting events.</span><br></br> <span className="text-[#22c55e] dark:text-[#4ade80] font-bold">On-spot registrations will be available on the day of the fest!</span> | |
| <span className="font-black text-[15px] sm:text-base md:text-xl">CLASH ROYALE REGISTRATIONS ARE NOW CLOSED!</span> <span className="font-semibold">Please register for other exciting events.</span><br /> <span className="text-[#22c55e] dark:text-[#4ade80] font-bold">On-spot registrations will be available on the day of the fest!</span> |
Fix: Reopening ideathon registrations