Commit graph hackertours/layouts/_shortcodes
Author SHA1 Message Date
0a415a4958
feat: Takes over the 40C3 startpage's background and headings
Light green background (#dff0d4), which is also the text colour in the
dark scheme. Page titles and the site name are capitals like the
startpage's h1, and section headings are green boxes like its
"GET INFORMED", so the home page's 40C3 heading is now an h2.
The EH22 logo credit moves to the footer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-09 00:28:00 +01:00
8fef93f0da
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-08 23:58:04 +01:00
6cbf724fce
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-08 11:26:46 +01:00
311a3b1370 Fix orientation of thumbnails
All checks were successful
/ build (push) Successful in 1m14s
/ accessibility (push) Successful in 2m7s
(cherry picked from commit f6a698a64b)
2026-10-17 10:58:12 +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