feat: Shows events as cards on the home page
All checks were successful
/ build (pull_request) Successful in 1m16s
/ accessibility (pull_request) Successful in 2m1s
/ cleanup-staging (pull_request) Successful in 27s

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 cards reuse the theme's own colours -- the link colour for the motto
and the heading and text colours for the rest -- on the hairline border
and 0.25rem corners of the start page's cards. The logo credits that a
licence asks for are shown in the page footer.

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Vincent Mahnke 2026-11-09 03:42:28 +01:00
commit 213e58256f
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469
2 changed files with 393 additions and 2 deletions

View file

@ -9,3 +9,8 @@ gallery_dialog: "Bildansicht"
gallery_close: "Schließen"
gallery_previous: "Vorheriges Bild"
gallery_next: "Nächstes Bild"
events_inprogress: "In Vorbereitung"
events_logo: "Logo {{ .Name }}"
events_date: "2. January 2006"
events_date_day_month: "2. January"
events_date_day: "2."

View file

@ -9,3 +9,8 @@ gallery_dialog: "Image viewer"
gallery_close: "Close"
gallery_previous: "Previous image"
gallery_next: "Next image"
events_inprogress: "In progress"
events_logo: "{{ .Name }} logo"
events_date: "2 January 2006"
events_date_day_month: "2 January"
events_date_day: "2"