Skip to content

Fix: Reopening ideathon registrations - #60

Merged
Akshat-Raj merged 1 commit into
Genesis-ISE-DSCE:mainfrom
Akshat-Raj:idea
Apr 16, 2026
Merged

Fix: Reopening ideathon registrations#60
Akshat-Raj merged 1 commit into
Genesis-ISE-DSCE:mainfrom
Akshat-Raj:idea

Conversation

@Akshat-Raj

Copy link
Copy Markdown
Collaborator

Fix: Reopening ideathon registrations

Copilot AI review requested due to automatic review settings April 16, 2026 08:53
@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

@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.

@Akshat-Raj
Akshat-Raj merged commit 6a493f5 into Genesis-ISE-DSCE:main Apr 16, 2026
3 of 4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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>

Copilot AI Apr 16, 2026

Copy link

Choose a reason for hiding this comment

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

<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.

Suggested change
<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>

Copilot uses AI. Check for mistakes.
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