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>
This commit is contained in:
Vincent Mahnke 2026-11-09 00:28:00 +01:00
commit cea49f0ab5
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -3,7 +3,7 @@ Event cards from data/events.yaml, after the cards on the 40C3 start page
(events.ccc.de/congress/2026/infos/startpage.html): the event's name and logo
(assets/img/events/<event>.svg) in a heading bar, its motto, full name, dates and venue below.
Cards link to the event's section; an event that is in progress, or has no section, gets a
greyed-out card without a link. Logo credits from the data file follow the cards.
greyed-out card without a link. Logo credits from the data file are in the footer (footer.html).
Usage: {{< events >}}
*/ -}}
@ -12,7 +12,6 @@ Usage: {{< events >}}
{{- if not $events -}}
{{- warnidf "warning-events-empty" "events: no events in data/events.yaml: %s" .Position -}}
{{- else -}}
{{- $credits := slice -}}
<ul class="event-cards" role="list">
{{- range $events }}
{{- $name := .name | default (upper .event) }}
@ -45,7 +44,6 @@ Usage: {{< events >}}
{{- else }}
{{- warnf "events: no logo assets/img/events/%s.svg" .event }}
{{- end }}
{{- with .credit }}{{ $credits = $credits | append (dict "name" $name "credit" .) }}{{ end }}
<li class="event-cards__item">
{{- if $link }}
<a class="event-card" href="{{ $page.RelPermalink }}">
@ -74,9 +72,4 @@ Usage: {{< events >}}
</li>
{{- end }}
</ul>
{{- with $credits }}
<p class="event-cards__credits">
{{- range $index, $entry := . }}{{ if $index }} · {{ end }}{{ i18n "events_logo" (dict "Name" $entry.name) }}: {{ $.Page.RenderString $entry.credit }}{{ end -}}
</p>
{{- end }}
{{- end }}