Skip to content

Implemented Sweccathon countdown with main page CSS#136

Merged
Navneethd8 merged 5 commits intomainfrom
navneeth
Apr 30, 2026
Merged

Implemented Sweccathon countdown with main page CSS#136
Navneethd8 merged 5 commits intomainfrom
navneeth

Conversation

@Navneethd8
Copy link
Copy Markdown
Contributor

Author: Navneeth

What changes were made?

Implemented a countdown components that can be used for any major event that we want to market

Why are these changes important/necessary?

To help hype up sweccathon + other events in the future

(If applicable) Screenshots of your changes. Providing an “old vs. new” comparison would be great!

image

Copilot AI review requested due to automatic review settings April 30, 2026 04:24
@Navneethd8 Navneethd8 requested a review from Advayp April 30, 2026 04:25
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

Visit the preview URL for this PR (updated for commit e63ccbb):

https://swecc-org--pr136-navneeth-u45539xa.web.app

(expires Thu, 07 May 2026 22:23:48 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d5f37faadb442ba8fa7c35b669f11be1475c4891

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a reusable countdown component and surfaces it on the Home page to promote Sweccathon (and future events) using existing Home page styling.

Changes:

  • Added new Countdown React component that computes and displays time remaining until an event date.
  • Rendered the countdown on the Home page beneath the carousel.
  • Reused Home page CSS classes for countdown styling.

Reviewed changes

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

File Description
src/Components/Home.js Imports and renders the new Countdown with Sweccathon-specific props.
src/Components/Countdown.js Introduces countdown logic (time calculations + interval-based updates) and UI markup.

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

Comment thread src/Components/Home.js Outdated
Comment thread src/Components/Countdown.js Outdated
Comment thread src/Components/Countdown.js Outdated
Comment thread src/Components/Countdown.js
Navneethd8 and others added 3 commits April 29, 2026 21:43
Add delay as well

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@Advayp Advayp left a comment

Choose a reason for hiding this comment

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

Address the copilot comment, then LGTM

Copilot stopped work on behalf of Navneethd8 due to an error April 30, 2026 22:22
@Navneethd8 Navneethd8 merged commit fe0f37a into main Apr 30, 2026
2 checks passed
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.

4 participants