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 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:
parent
75a8d446e4
commit
213e58256f
1 changed files with 393 additions and 2 deletions
37
data/events.yaml
Normal file
37
data/events.yaml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Event cards on the home page, rendered by the events shortcode, newest first.
|
||||
# event: the event's section (content/*/<event>/) and logo (assets/img/events/<event>.svg).
|
||||
# status: inprogress greys out the card and leaves out the link, for an event without tours yet.
|
||||
# credit: the logo's authors and licence in Markdown, shown in the footer of pages with the cards.
|
||||
events:
|
||||
- event: 40c3
|
||||
title: { de: 40. Chaos Communication Congress, en: 40th Chaos Communication Congress }
|
||||
motto: Model Citizens
|
||||
start: "2026-12-27"
|
||||
end: "2026-12-30"
|
||||
venue: Hamburg Messe
|
||||
status: inprogress
|
||||
- event: 39c3
|
||||
title: { de: 39. Chaos Communication Congress, en: 39th Chaos Communication Congress }
|
||||
motto: Power Cycles
|
||||
start: "2025-12-27"
|
||||
end: "2025-12-30"
|
||||
venue: CCH
|
||||
- event: eh22
|
||||
title: Easterhegg 2025
|
||||
motto: Unhandled Eggception
|
||||
start: "2025-04-18"
|
||||
end: "2025-04-21"
|
||||
venue: Kampnagel
|
||||
credit: "[kritzl, traumweh & Schrottkatze](https://git.hamburg.ccc.de/EH22/design-public), [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)"
|
||||
- event: 38c3
|
||||
title: { de: 38. Chaos Communication Congress, en: 38th Chaos Communication Congress }
|
||||
motto: Illegal Instructions
|
||||
start: "2024-12-27"
|
||||
end: "2024-12-30"
|
||||
venue: CCH
|
||||
- event: 37c3
|
||||
title: { de: 37. Chaos Communication Congress, en: 37th Chaos Communication Congress }
|
||||
motto: Unlocked
|
||||
start: "2023-12-27"
|
||||
end: "2023-12-30"
|
||||
venue: CCH
|
||||
Loading…
Reference in a new issue