Skip to content

Toby/countdown - #28

Closed
spagechi wants to merge 8 commits into
mainfrom
toby/countdown
Closed

Toby/countdown#28
spagechi wants to merge 8 commits into
mainfrom
toby/countdown

Conversation

@spagechi

Copy link
Copy Markdown
Contributor

Added banner and countdown to hero page

  • FYI, restructured hero page styles and added padding to the sides of the hero page (line 8)
  • some changes are left over from when I was working on the redesign by myself (such as renaming proj-blue variables and changing the navbar proj logo)

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
projects-website Ready Ready Preview, Comment Jul 11, 2026 9:21pm

Request Review

@NathanRLiu

Copy link
Copy Markdown

When the countdown changes, sometimes the width of the timestamps change. Can we make it so that the position of each digit is static regardless of which numbers are displayed?

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

lgtm

const difference = target.getTime() - now.getTime();

if (difference <= 0) {
setDays(0);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not sure it's necessary to have hours, seconds, and minutes all be different states; can you think of any other ways we can accomplish this?

@NathanRLiu NathanRLiu closed this Jul 13, 2026
@NathanRLiu
NathanRLiu deleted the toby/countdown branch July 13, 2026 02:28
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