Repository navigation
feat: add repair day countdown page and homepage banner - #172
Merged
Merged
Conversation
Deploying home with
|
| Latest commit: |
889e1fa
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3ca05e25.fuji-2ku.pages.dev |
| Branch Preview URL: | https://feat-repair-day-countdown.fuji-2ku.pages.dev |
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.
The 11.28 repair day needs a place on the site where students can see when it starts, book a repair, and claim a pass.
https://card.nbtca.space/e/repair-day-2026-11-28, set inpassinsrc/repair-day.ts. That event does not exist yet. Create it on card with this slug before merging, or updatepassto match.The homepage shows a banner above the posts with a countdown to 9:30 at NB122. It switches to "正在进行" during the event and removes itself at 17:00, so the site does not need a rebuild afterward.
/repair-dayis a new event page. It covers services, what to bring, photos from past repair days, and history since 2008. Each call to action offers both "预约维修" and "领取入场券". A pass gets a student in even without a repair, and nbtca/card#54 adds a "预约维修" link to repair-day passes./repair-day.icsadds the event to a calendar app, with both links in the description, andnginx.confnow serves.icsastext/calendar.Photos come from the member album. Shots that show metal tools touching a live mainboard were left out. The page loads about 1.2 MB of WebP images on desktop, and images below the fold are lazy loaded.