Skip to content

LosAltosHacks/losaltoshacks-countdown

Repository files navigation

LAHX Countdown (Next.js)

A fullscreen judging-round countdown page intended for attendees (read-only) with a hidden admin settings panel.

Features

  • Round countdown: Hours / minutes / seconds until the configured end time.
  • Round title + end-time summary: Displays the round name and a human-friendly end-time string.
  • Auto-hide settings (attendee-safe):
    • Once Round name is non-empty and Round ends is in the future, the settings UI hides.
    • When the countdown finishes, settings become visible again automatically.
  • Hidden admin reveal:
    • While the timer is running, Shift-click the logo to reveal/hide the settings panel.
    • Keyboard: focus the logo, then press Shift+Enter or Shift+Space.
  • Persists settings in the browser via localStorage:
    • lah-judging-round-name
    • lah-judging-target-ms

How to use (admin)

  1. Open the page in the browser.
  2. Enter Round name.
  3. Set Round ends (uses your computer’s local timezone/clock).
  4. As soon as both are set and the end time is in the future, the settings UI hides for attendees.
  5. If you need to adjust mid-round, Shift-click the logo to reveal settings.

Local development

npm install
npm run dev

Then open the printed localhost URL.

Deploy to Vercel

  • Import this project in Vercel (auto-detects Next.js), then deploy.
  • Default commands work:
    • Install: npm install
    • Build: npm run build
    • Start: npm run start

About

Countdown shown on screen at Los Altos Hacks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors