Commit graph hackertours/layouts/_shortcodes
Author SHA1 Message Date
bbaff0ee91
feat: Shows events as cards on the home page
Replaces the line of links to previous events with cards after the 40C3
start page: each card has the event's logo (designs.events.ccc.de) in its
heading bar, the motto, full name, dates and venue. 40C3 is greyed out as
in progress; the other cards link to their tours.

The events shortcode reads data/events.yaml; the README documents it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-13 16:41:23 +01:00
a7664c9168
feat: Applies 40c3 style to website
Rebased onto main after the bottom navigation bar (#68). Main's markup and behaviour win; this commit only contributes the 40c3 look.

- Jersey 10 and Hack fonts, the 40c3 palette and light/dark schemes, theme-color metas, web manifest and the 40c3 logo/footer.
- Header: site name as green chip; nav row with the language switch as amber chip. The tagline stays out of the header, as in main.
- Mobile (up to 666px): main's bottom navigation bar is kept and restyled (2px borders and dividers, current page green, language switch amber, visible keyboard focus). The old button-and-sheet styling is dropped.
- Start pages: 40C3 heading; stale commented-out 39C3 block removed.
- layouts/home-baseof.html removed; it was identical to baseof.html.
- Removed the leftover 'h2 a' margin that made the news list 2px wider than a 390px viewport.
- README: describe the bottom navigation bar.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-13 16:41:08 +01:00
f6a698a64b Fix orientation of thumbnails
All checks were successful
/ build (pull_request) Successful in 1m38s
/ accessibility (pull_request) Successful in 2m49s
2026-10-17 10:55:54 +02:00
f1b8c42ab6 Fix pa11y issues with the map 2026-10-17 10:50:38 +02:00
821290616a 40C3: tours, schedule data, tour map and calendar entries
Some checks failed
/ build (pull_request) Successful in 1m16s
/ accessibility (pull_request) Failing after 2m25s
- tour-map shortcode: Leaflet map of the tour locations with routes from the
  Congress, from the map/tours sections of data/schedule/<event>.yaml; Leaflet
  and the OSMIC, Maki and Temaki icon sets vendored; 39C3 uMap data converted.
- calendar shortcode: per tour date, a pill with an .ics download (iCalendar)
  and a Google Calendar link; Font Awesome Free vendored, fa-icon partial.
- README sections for the calendar and tour map shortcodes and the map data.
2026-10-17 10:30:03 +02:00
124bfaed67 Add an image gallery shortcode 2026-10-17 10:16:37 +02:00
71098eb6d7 Add accessilbilty check and fixes
Some checks failed
/ build (push) Successful in 15s
/ accessibility (push) Failing after 23s
2026-10-17 10:03:54 +02:00
c4ee65b9af Schedule: optional title per tour and sold-out status 2026-10-17 10:00:24 +02:00
79eac5c7c5 Make sure missing data is handled gracefully
All checks were successful
/ build (pull_request) Successful in 23s
/ cleanup-staging (pull_request) Successful in 3s
2026-10-16 18:58:29 +02:00
c0dfc9131d Attempt a shortcode for the schedule overview
All checks were successful
/ build (pull_request) Successful in 25s
2026-10-16 18:53:55 +02:00
5c1b60fa3a Upgrade to Hugo 0.16x and zen theme v7.1.0
All checks were successful
/ build (pull_request) Successful in 32s
/ cleanup-staging (pull_request) Successful in 3s
- Bump themes/zen from v5.7.0 to v7.1.0 (vanilla CSS, no libsass).
- Move layouts to Hugo's new template structure (_default -> root,
  index.html -> home.html, shortcodes -> _shortcodes).
- Replace deprecated language API in templates (Locale, Direction, Name)
  and sync base templates and mobile menu with theme v7.
- Config: languageName/languageCode -> label/locale; move copyright to
  the top-level key the v7 footer reads.
- Port _custom.scss to assets/css/_custom.css and map page/body
  backgrounds to v7's --color-body-bg/--color-page-bg.
- CI: build with hugomods/hugo:0.165.0.
2026-10-16 15:07:25 +02:00