hackertours/layouts/_partials/logo-40c3.html
Vincent Mahnke d3fc831bc5
Some checks failed
/ build (pull_request) Has been cancelled
/ accessibility (pull_request) Has been cancelled
feat: Applies 40c3 style to website
2026-11-07 10:40:22 +01:00

10 lines
519 B
HTML

{{- /*
40C3 text logo, picked to suit the colour scheme: green on dark, dark text colour on light.
Params: class (optional, on the picture element).
*/ -}}
{{- $light := resources.Get "img/40c3/logo-text-b.svg" -}}
{{- $dark := resources.Get "img/40c3/logo-text-0.svg" -}}
<picture{{ with .class }} class="{{ . }}"{{ end }}>
<source srcset="{{ $dark.RelPermalink }}" media="(prefers-color-scheme: dark)">
<img src="{{ $light.RelPermalink }}" alt="40C3 MODEL_CITIZENS" width="138" height="71" loading="lazy">
</picture>