Use a list view on the desktop instead of calendar

| Desktop | Mobile |
| --- | --- |
| ![image](/attachments/5887a605-9fd8-42aa-bbdc-ea9259553eba) | ![image](/attachments/0b68bfa2-a3a7-4f7f-af46-e6217a07a586) |

Co-authored-by: stb <stb@noreply.git.hamburg.ccc.de>
Reviewed-on: #73
This commit is contained in:
Vincent Mahnke 2026-11-14 08:47:08 +01:00 • committed by stb
commit 3471d2487d

View file

@ -114,10 +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 JavaScript at viewport widths of at least 667px, the first local photo in the tour page fills the right 40% 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.
Wide screens get one column per day on an hour grid, with tours that start at the same time side by side. The first column shows the hour wherever the first day has no tour in it. On narrow screens a day picker shows one day at a time, starting with today's day during the event.
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 >}}`.