Viel
This commit is contained in:
1 parent
e5869dc6cb
commit
a4a261f871
47 files changed
+1131
-161
No files matched your search
@@ -1,18 +1,17 @@
|
||||
<link rel="stylesheet" href="/css/footer.css">
|
||||
|
||||
<footer id="site_footer">
|
||||
<div class="footer-container">
|
||||
<div class="footer-left">
|
||||
<p>© 2025 Deepwater Survival</p>
|
||||
<p>
|
||||
<a href="/impressum/" target="_self" rel="noopener">Impressum</a> |
|
||||
<a href="/datenschutz/" target="_self" rel="noopener">Datenschutzerklärung</a>
|
||||
</p>
|
||||
<footer class="site-footer">
|
||||
<div class="site-footer__inner">
|
||||
<div class="site-footer__contact">
|
||||
<p class="site-footer__lead">Booking, Presse, Fragen:</p>
|
||||
<a class="site-footer__mail" href="mailto:{{ site.Params.email }}">{{ site.Params.email }}</a>
|
||||
</div>
|
||||
<nav class="site-footer__social" aria-label="Social Media">
|
||||
<a href="{{ site.Params.spotify }}" target="_blank" rel="noopener">Spotify</a>
|
||||
<a href="{{ site.Params.instagram }}" target="_blank" rel="noopener">Instagram</a>
|
||||
<a href="{{ site.Params.youtube }}" target="_blank" rel="noopener">YouTube</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="footer-right">
|
||||
<a href="https://open.spotify.com/artist/2TQ9HNBTNCmUthpg9ippHs" target="_blank" rel="noopener">Spotify</a>
|
||||
<a href="https://www.instagram.com/deepwatersurvival/" target="_blank" rel="noopener">Instagram</a>
|
||||
<a href="https://www.youtube.com/@deepwatersurvival730" target="_blank" rel="noopener">YouTube</a>
|
||||
<div class="site-footer__legal">
|
||||
<p>© {{ now.Year }} Deepwater Survival</p>
|
||||
<p><a href="/impressum/">Impressum</a> <a href="/datenschutz/">Datenschutz</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</footer>
|
||||
@@ -1,14 +1,14 @@
|
||||
<header>
|
||||
<link rel="stylesheet" href="/css/header.css">
|
||||
<div id="logo">
|
||||
<img src="/img/Logo_compressed.png" alt="" height="218" width="600">
|
||||
</div>
|
||||
|
||||
<nav id="main_navigation">
|
||||
<a href="/">Home</a>
|
||||
<a href="/about/">Über uns</a>
|
||||
<a href="/shows/">Shows</a>
|
||||
<a href="/music/">Musik</a>
|
||||
{{ $current := . -}}
|
||||
<header class="site-header">
|
||||
<div class="site-header__inner">
|
||||
<a class="site-header__logo" href="/" aria-label="Deepwater Survival – Startseite">
|
||||
<img src="/img/logo-crop.png" alt="Deepwater Survival" width="1600" height="675">
|
||||
</a>
|
||||
<nav class="site-nav" aria-label="Hauptnavigation">
|
||||
{{ range site.Menus.main -}}
|
||||
{{ $active := or (eq $current.RelPermalink .URL) (and (ne .URL "/") (hasPrefix $current.RelPermalink .URL)) -}}
|
||||
<a href="{{ .URL }}"{{ if $active }} aria-current="page"{{ end }}>{{ .Name }}</a>
|
||||
{{ end -}}
|
||||
</nav>
|
||||
|
||||
</header>
|
||||
</div>
|
||||
</header>
|
||||
@@ -0,0 +1,25 @@
|
||||
{{/*
|
||||
Responsives Bild aus static/img (über assets/img gemountet).
|
||||
Parameter: src (z. B. "/img/about/Olly_compressed.jpg"), alt, sizes, widths, class, eager
|
||||
*/}}
|
||||
{{- $src := .src -}}
|
||||
{{- $alt := .alt | default "" -}}
|
||||
{{- $sizes := .sizes | default "100vw" -}}
|
||||
{{- $widths := .widths | default (slice 480 960 1600) -}}
|
||||
{{- $loading := cond (.eager | default false) "eager" "lazy" -}}
|
||||
{{- $r := resources.Get (strings.TrimPrefix "/" $src) -}}
|
||||
{{- if and $r (in (slice ".jpg" ".jpeg" ".png") (lower (path.Ext $src))) -}}
|
||||
{{- $set := slice -}}
|
||||
{{- $fallback := "" -}}
|
||||
{{- range $widths -}}
|
||||
{{- if le . $r.Width -}}
|
||||
{{- $img := $r.Resize (printf "%dx webp q78" .) -}}
|
||||
{{- $set = $set | append (printf "%s %dw" $img.RelPermalink $img.Width) -}}
|
||||
{{- $fallback = $img -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- if not $fallback -}}{{- $fallback = $r -}}{{- end -}}
|
||||
<img src="{{ $fallback.RelPermalink }}"{{ with $set }} srcset="{{ delimit . ", " }}" sizes="{{ $sizes }}"{{ end }} width="{{ $r.Width }}" height="{{ $r.Height }}" alt="{{ $alt }}" loading="{{ $loading }}" decoding="async"{{ with $.class }} class="{{ . }}"{{ end }}>
|
||||
{{- else -}}
|
||||
<img src="{{ $src }}" alt="{{ $alt }}" loading="{{ $loading }}"{{ with .class }} class="{{ . }}"{{ end }}>
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,18 @@
|
||||
{{- $r := "" -}}
|
||||
{{- with .Params.poster }}{{ $r = resources.Get (strings.TrimPrefix "/" .) }}{{ end -}}
|
||||
<article class="flyer{{ if not $r }} flyer--blank{{ end }}">
|
||||
{{- if $r }}
|
||||
<a class="flyer__poster" href="{{ .Params.poster }}" target="_blank" rel="noopener" aria-label="Plakat {{ .Title }} in voller Größe öffnen">
|
||||
{{ partial "img.html" (dict "src" .Params.poster "alt" (printf "Plakat: %s" .Title) "sizes" "(min-width: 900px) 280px, 45vw" "widths" (slice 320 640)) }}
|
||||
</a>
|
||||
{{- else }}
|
||||
<div class="flyer__poster flyer__poster--type" aria-hidden="true">
|
||||
<span>{{ .Title }}</span>
|
||||
</div>
|
||||
{{- end }}
|
||||
<div class="flyer__caption">
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date | time.Format "2. January 2006" }}</time>
|
||||
<h3>{{ .Title }}</h3>
|
||||
{{ with .Params.location }}<p>{{ . }}</p>{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div class="spotify" data-spotify-src="{{ site.Params.spotifyEmbed }}">
|
||||
<p class="spotify__note">Der Player wird von Spotify geladen. Dabei werden Daten an Spotify übertragen (<a href="/datenschutz/">Datenschutz</a>).</p>
|
||||
<button class="button button--bolt" type="button" data-spotify-load>Spotify-Player laden</button>
|
||||
<a class="spotify__direct" href="{{ site.Params.spotify }}" target="_blank" rel="noopener">Oder direkt auf Spotify öffnen</a>
|
||||
</div>
|
||||
Reference in new issue
Block a user