Commit graph

485 commits

Author SHA1 Message Date
78a133c56a
fix: Removes redundant hint
All checks were successful
/ build (pull_request) Successful in 1m26s
/ accessibility (pull_request) Successful in 2m10s
2026-11-09 03:16:48 +01:00
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
e237cf2a06
fix: Avoids layout jitter while fonts load
All checks were successful
/ build (pull_request) Successful in 1m17s
/ accessibility (pull_request) Successful in 2m0s
The headings jumped when Jersey 10 arrived after the first paint: the monospace fallback is much wider, so the heading chips changed their width, and the page transition made it visible on every language switch. Reproduced with revalidated or slow fonts (hugo server sends no cache headers, so it revalidates them on every navigation) in Chromium, WebKit and, on cold loads, Firefox. In Safari the body text shifted as well, because its ui-monospace is the wider SF Mono.

- Embeds the Latin subset of Jersey 10 in the fonts stylesheet.
- Preloads Hack Regular and Bold.
- Generates the @font-face rules and the preload links from one fingerprinted template (assets/css/fonts.css.tmpl, head/fonts.html), so their URLs match and also work below a sub path like the PR previews.
- Drops ui-monospace and SF Mono from the body font stack: Menlo has the same width as Hack.

Frames with shifted elements while switching language on the tours page, with revalidated or slow fonts: 9 to 92 before, none after (Chromium and WebKit, desktop and mobile). Firefox cold loads: up to 48 before, none painted after. Rendering after loading is unchanged.

Trade-off: the first paint of a cold load on a slow connection (Slow 4G) is about 0.26 s later; later navigations are not affected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 13:11:35 +01:00
16e5653e00
fix: Aligns titles
All checks were successful
/ build (pull_request) Successful in 1m25s
/ accessibility (pull_request) Successful in 2m10s
2026-11-08 11:56:10 +01:00
454d7fbd7e
fix: Restores header layout and uses 40C3 page colours for light theme
- Light scheme: background #ebedf0 and text #001300, the colours the 40C3 info
  pages (events.ccc.de/congress/2026/infos) use. Their black link boxes and
  per-level heading colours are not copied; links, headings and chips follow the
  styleguide as before. The theme-color metas, the web manifest and the footer
  logo use the same colours.
- Menu: the four entries are full-width buttons in a row below the header again
  (outlined like the styleguide's quiet chips; the current page, hover and
  focus are filled green).
- Language link: back on the right of the header instead of in the menu bar.
  layouts/baseof.html, layouts/_partials/menu.html and layouts/home-baseof.html
  are main's again, so the theme only adds files under layouts/.
- README: the language switch is in the header, not in the menu.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 11:49:58 +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
75a8d446e4 Keeps logo size across languages and resolves mobile menu overlap (#68)
All checks were successful
/ build (push) Successful in 1m14s
/ accessibility (push) Successful in 2m2s
## Header

![image](/attachments/dd741d30-ffbe-49ad-b717-cd3e7bd46bcb)

## Mobile menu
| | |
| --- | --- |
| ![localhost_8888_en_ (1)](/attachments/ce78aa3d-b229-457a-add5-0d5e3ddc71ec) | ![localhost_8888_en_](/attachments/ae1832d5-605d-4bd5-b41a-b7fe9d6e14e5) |

Reviewed-on: #68
2026-11-07 21:28:53 +01:00
stb
91f48051fd Merge pull request 'Announce 40C3' (#66) from 40c3-announce into main
All checks were successful
/ build (push) Successful in 1m19s
/ accessibility (push) Successful in 2m12s
Reviewed-on: #66
2026-11-03 18:47:51 +01:00
1085be2479 Announce 40C3
All checks were successful
/ build (pull_request) Successful in 1m26s
/ accessibility (pull_request) Successful in 2m10s
/ cleanup-staging (pull_request) Successful in 46s
2026-11-03 17:42:26 +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
89a0e7e353 Convert historic pages to new gallery shortcode
All checks were successful
/ build (push) Successful in 1m1s
/ accessibility (push) Successful in 1m56s
2026-10-17 10:22:34 +02:00
9b894a8362 Add missing files 2026-10-17 10:18:01 +02:00
124bfaed67 Add an image gallery shortcode 2026-10-17 10:16:37 +02:00
fd01d9d124 Add og:image from the first image in a page; fix Hansaplatz post image
Some checks failed
/ build (push) Successful in 22s
/ accessibility (push) Failing after 23s
2026-10-17 10:09:00 +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
stb
6c626450e7 Merge pull request 'Attempt a shortcode for the schedule overview' (#65) from tour-overview-shortcode into main
All checks were successful
/ build (push) Successful in 13s
Reviewed-on: #65
2026-10-16 19:00:18 +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
stb
eaad6eb7b2 Merge pull request 'Upgrade to Hugo 0.16x and zen theme v7.1.0' (#63) from upgrade-hugo into main
All checks were successful
/ build (push) Successful in 14s
Reviewed-on: #63
2026-10-16 15:11:26 +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
stb
be7539cc21 Merge pull request 'Update https://code.forgejo.org/forgejo/upload-artifact action to v5' (#56) from renovate/https-code.forgejo.org-forgejo-upload-artifact-5.x into main
All checks were successful
/ build (push) Successful in 13s
Reviewed-on: #56
2026-10-16 14:55:44 +02:00
stb
b77f88880d Merge pull request 'Update docker.io/nginx Docker tag to v1.29.1' (#61) from renovate/docker.io-nginx-1.x into main
Some checks failed
/ build (push) Has been cancelled
Reviewed-on: #61
2026-10-16 14:55:30 +02:00
stb
b50bc65a66 Merge pull request 'Update actions/checkout action to v7' (#62) from renovate/actions-checkout-7.x into main
Some checks failed
/ build (push) Has been cancelled
Reviewed-on: #62
2026-10-16 14:55:17 +02:00
dcca7368d3 Update actions/checkout action to v7
All checks were successful
/ build (pull_request) Successful in 37s
/ cleanup-staging (pull_request) Successful in 24s
2026-06-18 15:16:38 +00:00
1276bc0e2f Update docker.io/nginx Docker tag to v1.29.1
All checks were successful
/ build (pull_request) Successful in 34s
/ cleanup-staging (pull_request) Successful in 11s
2026-05-18 22:18:40 +00:00
bb52940f97 Update https://code.forgejo.org/forgejo/upload-artifact action to v5
All checks were successful
/ build (pull_request) Successful in 42s
/ cleanup-staging (pull_request) Successful in 3s
2026-04-18 00:17:37 +00:00
9d62169814 Happy New Year
All checks were successful
/ build (pull_request) Successful in 27s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 21s
2025-12-29 22:21:32 +01:00
c2f34bb54e
fix: Updates times for Eisenbahnmuseum
All checks were successful
/ build (push) Successful in 16s
2025-12-28 12:12:03 +01:00
94008df339 instant payment works correctly now
All checks were successful
/ build (push) Successful in 15s
2025-12-27 12:28:27 +01:00
97dc11a9bb online transfer delayed
All checks were successful
/ build (push) Successful in 15s
2025-12-27 12:01:31 +01:00
c1d75f9542 Mark fully booked tours
All checks were successful
/ build (push) Successful in 16s
2025-12-26 12:39:16 +01:00
447c4cf333 Add missing Alsterdampfer
All checks were successful
/ build (push) Successful in 14s
2025-12-25 19:40:53 +01:00
23bd9bf4c7 Last Minute bookings
All checks were successful
/ build (pull_request) Successful in 24s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 15s
2025-12-25 18:09:22 +01:00
127d5bf56e fix: Aligns times with pretix
All checks were successful
/ build (pull_request) Successful in 26s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 15s
2025-12-25 17:58:40 +01:00
879b6c224c fix: Aligns times with pretix 2025-12-25 17:58:40 +01:00
e0631079e1 Link to c3nac
All checks were successful
/ build (push) Successful in 14s
2025-12-25 13:21:36 +01:00
0f6711976c Körperfunk added, corrected languages
All checks were successful
/ build (push) Successful in 15s
2025-12-25 09:57:12 +01:00
67fb40666e Advertise Körperfunkkollektiv and remaining places
All checks were successful
/ build (pull_request) Successful in 26s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 16s
2025-12-24 12:11:37 +01:00
5bfc595015
fix: Adds outline to logo to make it readable in both light and dark mode (#50 (comment))
All checks were successful
/ build (pull_request) Successful in 27s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 14s
2025-12-24 04:38:56 +01:00
5bed9266cb
fix: Adds missing translation (#50/files (comment)) 2025-12-24 04:36:49 +01:00
f00d99c100
fix: Removes empty row (#50 (comment)) 2025-12-24 04:36:24 +01:00
68c683dfce Add Koerperfunk to overview
All checks were successful
/ build (pull_request) Successful in 25s
2025-12-23 20:14:03 +01:00
15310c719b Correct times and price
All checks were successful
/ build (pull_request) Successful in 25s
2025-12-23 12:57:22 +01:00
adff5bc59c Description; details still tbc
All checks were successful
/ build (pull_request) Successful in 27s
2025-12-23 11:49:46 +01:00
70743b1b47 Cancel Steamer on day 2
All checks were successful
/ build (push) Successful in 15s
2025-12-19 22:00:50 +01:00
ee3e61489c
fix: Removes link to full map and renames file
All checks were successful
/ build (pull_request) Successful in 29s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 18s
2025-12-11 23:01:21 +01:00
96606e3ccc
fix: Moves raw HTML to shortcode, to resolve omission
All checks were successful
/ build (pull_request) Successful in 27s
2025-12-11 15:11:27 +01:00
595f2d61a3
fix: Restores submodule
All checks were successful
/ build (pull_request) Successful in 29s
2025-12-11 15:06:36 +01:00