diff --git a/assets/banner/2010er.jpeg b/assets/banner/2010er.jpeg new file mode 100644 index 0000000..5752b1f Binary files /dev/null and b/assets/banner/2010er.jpeg differ diff --git a/assets/banner/80s.jpeg b/assets/banner/80s.jpeg new file mode 100644 index 0000000..24c260b Binary files /dev/null and b/assets/banner/80s.jpeg differ diff --git a/assets/banner/90s.jpeg b/assets/banner/90s.jpeg new file mode 100644 index 0000000..4d72151 Binary files /dev/null and b/assets/banner/90s.jpeg differ diff --git a/assets/banner/Baggypants.jpeg b/assets/banner/Baggypants.jpeg new file mode 100644 index 0000000..9fac177 Binary files /dev/null and b/assets/banner/Baggypants.jpeg differ diff --git a/assets/banner/Cowboyhut.jpeg b/assets/banner/Cowboyhut.jpeg new file mode 100644 index 0000000..922b8a2 Binary files /dev/null and b/assets/banner/Cowboyhut.jpeg differ diff --git a/assets/banner/DS-Trainerinnen.jpeg b/assets/banner/DS-Trainerinnen.jpeg new file mode 100644 index 0000000..8f8ea2b Binary files /dev/null and b/assets/banner/DS-Trainerinnen.jpeg differ diff --git a/assets/banner/Erwachsenentanz.jpeg b/assets/banner/Erwachsenentanz.jpeg new file mode 100644 index 0000000..b1cb435 Binary files /dev/null and b/assets/banner/Erwachsenentanz.jpeg differ diff --git a/assets/banner/Gründung Jazzdance.jpeg b/assets/banner/Gründung Jazzdance.jpeg new file mode 100644 index 0000000..4021046 Binary files /dev/null and b/assets/banner/Gründung Jazzdance.jpeg differ diff --git a/assets/banner/Hochzeitskleid.jpeg b/assets/banner/Hochzeitskleid.jpeg new file mode 100644 index 0000000..0ab5b47 Binary files /dev/null and b/assets/banner/Hochzeitskleid.jpeg differ diff --git a/assets/banner/Kindertanzen.jpeg b/assets/banner/Kindertanzen.jpeg new file mode 100644 index 0000000..01e9df0 Binary files /dev/null and b/assets/banner/Kindertanzen.jpeg differ diff --git a/themes/tsc_vfl/static/img/banner/Paare_2019.jpg b/assets/banner/Paare_2019.jpg similarity index 100% rename from themes/tsc_vfl/static/img/banner/Paare_2019.jpg rename to assets/banner/Paare_2019.jpg diff --git a/assets/banner/Putzkolonne.jpeg b/assets/banner/Putzkolonne.jpeg new file mode 100644 index 0000000..ad9a0a2 Binary files /dev/null and b/assets/banner/Putzkolonne.jpeg differ diff --git a/assets/banner/Renote.jpeg b/assets/banner/Renote.jpeg new file mode 100644 index 0000000..884ffbb Binary files /dev/null and b/assets/banner/Renote.jpeg differ diff --git a/assets/banner/Schlusstanz.jpeg b/assets/banner/Schlusstanz.jpeg new file mode 100644 index 0000000..52146b4 Binary files /dev/null and b/assets/banner/Schlusstanz.jpeg differ diff --git a/assets/banner/Traum-Alptraum.jpeg b/assets/banner/Traum-Alptraum.jpeg new file mode 100644 index 0000000..792a7d6 Binary files /dev/null and b/assets/banner/Traum-Alptraum.jpeg differ diff --git a/assets/banner/Turnierpaare.jpeg b/assets/banner/Turnierpaare.jpeg new file mode 100644 index 0000000..69dcd6b Binary files /dev/null and b/assets/banner/Turnierpaare.jpeg differ diff --git a/themes/tsc_vfl/static/img/banner/slider-turnier.jpg b/assets/banner/slider-turnier.jpg similarity index 100% rename from themes/tsc_vfl/static/img/banner/slider-turnier.jpg rename to assets/banner/slider-turnier.jpg diff --git a/themes/tsc_vfl/layouts/partials/page/banner-images.html b/themes/tsc_vfl/layouts/partials/page/banner-images.html new file mode 100644 index 0000000..b37ee0b --- /dev/null +++ b/themes/tsc_vfl/layouts/partials/page/banner-images.html @@ -0,0 +1,22 @@ +{{- $images := resources.Match "banner/*" -}} +{{- $first := true -}} +{{- range $images }} + {{- $img := .Fit "1220x340 webp" -}} + {{ if $first }} + + {{ $first = false }} + {{ end }} + +{{ end -}} +
+ {{- $count := (len $images) -}} + {{- $first := true -}} + {{- range (seq 0 (sub $count 1)) }} +
+ {{ $first = false }} + {{- end }} +
+ + diff --git a/themes/tsc_vfl/layouts/partials/page/head.html b/themes/tsc_vfl/layouts/partials/page/head.html index 02df9b0..3546ad2 100644 --- a/themes/tsc_vfl/layouts/partials/page/head.html +++ b/themes/tsc_vfl/layouts/partials/page/head.html @@ -19,7 +19,6 @@ {{ $title }} - diff --git a/themes/tsc_vfl/layouts/partials/page/header.html b/themes/tsc_vfl/layouts/partials/page/header.html index 7958084..c83dd94 100644 --- a/themes/tsc_vfl/layouts/partials/page/header.html +++ b/themes/tsc_vfl/layouts/partials/page/header.html @@ -8,21 +8,7 @@
- - - - - - - -
-
-
-
-
-
-
-
+ {{ partial "page/banner-images.html" . }}