Implemented Sweccathon countdown with main page CSS#136
Merged
Navneethd8 merged 5 commits intomainfrom Apr 30, 2026
Merged
Conversation
|
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 |
Contributor
There was a problem hiding this comment.
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
CountdownReact 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.
Add delay as well Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Advayp
approved these changes
Apr 30, 2026
Contributor
Advayp
left a comment
There was a problem hiding this comment.
Address the copilot comment, then LGTM
Copilot stopped work on behalf of
Navneethd8 due to an error
April 30, 2026 22:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!