# The Tea Advent Calendar — AdventBox

Northwind Tea Co. 24 doors, Tue, Dec 1 – Thu, Dec 24; each opens at midnight in Europe/London.

## Checked in Chrome

- Pass: Before the first door: every door is locked and the countdown shows (24 locked; "Opens in 1d 22h 59m 59s")
- Pass: A locked door says when it opens ("Not yet! Opens Tue, Dec 1")
- Pass: Door 5 morning: doors 1 to 5 can be opened, the rest are locked (5 ready, 19 locked)
- Pass: Opening door 5 shows its card ("Tea and cake")
- Pass: An opened door stays open after a reload on the same device (1 opened after reload)
- Pass: Fits a 390 px phone with no sideways scrolling (fits)
- Pass: After the last door: every door can be opened and the closing message shows (24 ready; finale shown)
- Pass: No page errors (none)

## Checks

- **Check:** 5 doors have no code or link; that is fine for a message, a tip or a story.
- **Check:** The page holds every door in its source, so someone who reads the code can see later doors early. For prizes or codes that must stay secret, run scripts/serve.mjs, which only sends a door once it has opened.

## Doors

| Door | Opens | Title | Code | Link |
|---|---|---|---|---|
| 1 | Tue, Dec 1 | A cup on the house | CUP1 |  |
| 2 | Wed, Dec 2 | Warm the pot first |  |  |
| 3 | Thu, Dec 3 | Orange and clove | CLOVE15 | https://northwind-tea.example/spiced |
| 4 | Fri, Dec 4 | Brewing playlist |  | https://northwind-tea.example/playlist |
| 5 | Sat, Dec 5 | Tea and cake |  | https://northwind-tea.example/recipes/earl-grey-loaf |
| 6 | Sun, Dec 6 | Free delivery weekend | SHIPFREE |  |
| 7 | Mon, Dec 7 | Not every tea likes boiling water |  | https://northwind-tea.example/kettle-chart |
| 8 | Tue, Dec 8 | Gift wrapping on us | WRAPIT |  |
| 9 | Wed, Dec 9 | Shortbread pairing |  |  |
| 10 | Thu, Dec 10 | Peppermint, picked late | MINT20 | https://northwind-tea.example/peppermint |
| 11 | Fri, Dec 11 | The story of our name |  | https://northwind-tea.example/story |
| 12 | Sat, Dec 12 | Win a tasting for two |  | https://northwind-tea.example/draw |
| 13 | Sun, Dec 13 | Iced chai, in December |  |  |
| 14 | Mon, Dec 14 | Stocking fillers |  | https://northwind-tea.example/stocking-fillers |
| 15 | Tue, Dec 15 | Honey, not sugar | HONEY10 |  |
| 16 | Wed, Dec 16 | Cold brew overnight |  |  |
| 17 | Thu, Dec 17 | Late order? Still in time |  | https://northwind-tea.example/delivery |
| 18 | Fri, Dec 18 | Smoky lapsang | SMOKE15 | https://northwind-tea.example/lapsang |
| 19 | Sat, Dec 19 | Send a tea postcard | POST241 |  |
| 20 | Sun, Dec 20 | Hot chocolate's quiet cousin |  | https://northwind-tea.example/cacao |
| 21 | Mon, Dec 21 | The longest night |  |  |
| 22 | Tue, Dec 22 | Draw your own tin |  | https://northwind-tea.example/colouring |
| 23 | Wed, Dec 23 | Last-minute gift card |  | https://northwind-tea.example/gift-card |
| 24 | Thu, Dec 24 | Thank you | THANKYOU25 | https://northwind-tea.example |

## Publish

- **Simple:** upload `calendar/index.html` to your site (it is one file with nothing else to upload) or paste it into a page that allows HTML. Doors open on each visitor's screen at midnight Europe/London time.
- **Secret doors:** the simple page holds every door in its source. If later doors must stay hidden (prize codes, surprises), run `node scripts/serve.mjs --input advent.json --port 8080` on a server with Node.js 20+; it sends a door only after it opens.
- **Posts:** post `social/door-NN-*.png` each morning with its caption from `schedule.csv`. Posts never reveal what is behind the door.
