Skip to content

Fix/countdown timer setting#80

Merged
shoaib-inamdar merged 2 commits into
mainfrom
fix/countdown-timer-setting
Jun 6, 2026
Merged

Fix/countdown timer setting#80
shoaib-inamdar merged 2 commits into
mainfrom
fix/countdown-timer-setting

Conversation

@shoaib-inamdar

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 6, 2026 05:34
@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
codeclubagpit Ready Ready Preview, Comment Jun 6, 2026 5:34am

@shoaib-inamdar shoaib-inamdar merged commit 761737f into main Jun 6, 2026
4 checks passed

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

Pull request overview

This PR updates the hackathon countdown experience (timing, branding, and end-state UI), and introduces a dedicated visual test page for validating countdown phase transitions.

Changes:

  • Updated hackathon countdown configuration (end time and logo) and tweaked layout/spacing.
  • Enhanced the “ended” phase UI to display a bouncing 00:00:00 timer.
  • Added a HackathonCountdown test/demo component and exposed it via a new route.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.

File Description
Frontend/src/components/Events/HackathonCountdownTest.tsx Adds a visual test/demo page for simulating countdown phases.
Frontend/src/components/Events/HackathonCountdown.tsx Adjusts countdown configuration (end time/logo), layout spacing, and ended-phase timer UI.
Frontend/src/App.tsx Adds a route to access the new countdown test page.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Frontend/src/App.tsx
<Route path="/admin/create-staff" element={<Admin/>} />
<Route path="/events/hackathon" element={<Hackathon />} />
<Route path="/events/hackathon-countdown" element={<HackathonCountdownPage />} />
<Route path="/events/hackathon-countdown-test" element={<HackathonCountdownTest />} />
animate={{ scale: [1, 1.1, 1] }}
transition={{ repeat: Infinity, duration: 2, ease: "easeInOut" }}
>
{Object.values(timeLeft).slice(1)[i]}
const HACKATHON_START = new Date("2026-06-05T11:15:00");
const HACKATHON_END = new Date("2026-06-14T11:15:00");
const HACKATHON_2026_LOGO = "/events/image.png";
const HACKATHON_END = new Date("2026-06-14T12:00:00");
Comment on lines 5 to +6
const HACKATHON_START = new Date("2026-06-05T11:15:00");
const HACKATHON_END = new Date("2026-06-14T11:15:00");
const HACKATHON_2026_LOGO = "/events/image.png";
const HACKATHON_END = new Date("2026-06-14T12:00:00");
Comment on lines +9 to +10
const HACKATHON_START = new Date("2026-06-05T11:15:00");
const HACKATHON_END = new Date("2026-06-14T11:15:00");
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