List upcoming schedule days on wider screens
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4c26cda7b4
commit
ce03851d57
1 changed files with 114 additions and 18 deletions
|
|
@ -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 >}}`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue