List upcoming schedule days on wider screens
Some checks failed
/ build (pull_request) Has been cancelled
/ accessibility (pull_request) Has been cancelled

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vincent Mahnke 2026-11-14 04:47:18 +01:00
commit ce03851d57
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -114,11 +114,11 @@ days:
- `time` is `HH:MM` with a leading zero (`09:30`). Tours are sorted by time, so their order in the file doesn't matter.
- `title` (optional) replaces the page's title on the card, with one entry per language: `title: { de: "Hafen am Abend", en: "Harbour by Night" }`.
- `status` (optional): `soldout` marks the tour as fully booked. Other values are ignored.
- With the day picker on screens wider than the mobile-menu breakpoint (666px), the first local photo in the tour page fills the right half of its card behind a fade when it has alt text; its gallery credit remains visible.
- With JavaScript on screens wider than the mobile-menu breakpoint (666px), the first local photo in the tour page fills the right half of its card behind a fade when it has alt text; its gallery credit remains visible.
For the events managed with Hackertours-Admin, the data file is generated by its website sync; don't edit it by hand.
A day picker shows one day at a time on all screen sizes, starting with today's day during the event. Without JavaScript, narrow screens show all days stacked; wide screens show a column per day on an hour grid.
With JavaScript, narrow screens show a day picker, starting with today's day during the event. Wider screens list days under their headings, hiding past days until the event ends. Before and after the event, all days are shown. Dates use the visitor's local time. Without JavaScript, narrow screens show all days stacked; wide screens show a column per day on an hour grid.
For a different event than the page's section, pass its name: `{{< schedule 39c3 >}}`.