bsoc-bitbyte / BSoC-Website

BitByte Summer of Code Website
https://bitbytesummerofcode.netlify.app/
8 stars 34 forks source link

FIxes #76 feat(timer): Added the countdown feature #79

Closed ritankarsaha closed 3 months ago

ritankarsaha commented 3 months ago

Overview

  1. This PR fixes or fixes part of #76 .
  2. This PR does the following:
    1. Adds the countdown option to efficiently count down to the final date.
    2. Adds the necessary styling component.
    3. Adds responsiveness to the components for all screens.
    4. Displays a text "BSoC'24 has ended" when the countdown reaches 0 0 0 0 .
    5. The countdown option is updated after every second

      Essential Checklist

Proof that changes are correct

https://github.com/bsoc-bitbyte/BSoC-Website/assets/136831315/dfe5761d-1bc5-4c3f-a9ec-4b17a7276899

This video shows the countdown going live.

https://github.com/bsoc-bitbyte/BSoC-Website/assets/136831315/8a289343-1d04-4140-8571-848da631494f

This video shows the counter reaching 0 and finally displaying the text.

PR Pointers

netlify[bot] commented 3 months ago

Deploy Preview for bitbytesummerofcode ready!

Name Link
Latest commit 56a7d44c6065ab1ee827f8533909bf6be4c7ce9e
Latest deploy log https://app.netlify.com/sites/bitbytesummerofcode/deploys/666950b3e112370008fbe3ab
Deploy Preview https://deploy-preview-79--bitbytesummerofcode.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

ritankarsaha commented 3 months ago

@ramG-reddy fixed the issue #76 and opened a PR for the same #79

ramG-reddy commented 3 months ago

Yeah implementation looks fine

ritankarsaha commented 3 months ago

@ramG-reddy

Made the necessary changes as desired,

  1. gave it an increased top margin to separate it properly from the FAQs section
  2. made the heading for smaller devices
  3. fixed the bouncing of digits while countdown by adding the monospace attribute in the fonts-family.

Thank You

ritankarsaha commented 3 months ago

@ramG-reddy made the changes

https://github.com/bsoc-bitbyte/BSoC-Website/assets/136831315/7c70881e-f8bc-4481-8e46-ae6478e72adc

Fixed the jumpy nature of digits.

Screenshot 2024-06-12 at 1 13 06 PM

Responsive for smaller devices as well

Fixed the default styles already present in the website