From eff529f39e84e1d5b7e4d6067526ce7ec48d56a0 Mon Sep 17 00:00:00 2001 From: jan Date: Mon, 23 Sep 2024 10:39:45 +0200 Subject: [PATCH] tech logos NEW --- site/assets/images/tech/Go-Logo_White.svg | 21 ------------- site/assets/images/tech/Go.svg | 1 + site/assets/images/tech/Kubernetes.svg | 2 +- ...{cilium-logo-white.svg => cilium-logo.svg} | 2 +- site/assets/scss/layouts/_trainings.scss | 30 +++++++++++++++++++ site/content/de/trainings/cilium.md | 2 +- site/content/de/trainings/go.md | 4 +-- site/hugo_stats.json | 1 + site/layouts/partials/box-training-small.html | 20 +++++-------- site/layouts/partials/box-training.html | 16 ++++++---- 10 files changed, 54 insertions(+), 45 deletions(-) delete mode 100755 site/assets/images/tech/Go-Logo_White.svg create mode 100755 site/assets/images/tech/Go.svg rename site/assets/images/tech/{cilium-logo-white.svg => cilium-logo.svg} (99%) diff --git a/site/assets/images/tech/Go-Logo_White.svg b/site/assets/images/tech/Go-Logo_White.svg deleted file mode 100755 index 165d623..0000000 --- a/site/assets/images/tech/Go-Logo_White.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - Go-Logo_White - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/site/assets/images/tech/Go.svg b/site/assets/images/tech/Go.svg new file mode 100755 index 0000000..63264a6 --- /dev/null +++ b/site/assets/images/tech/Go.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/assets/images/tech/Kubernetes.svg b/site/assets/images/tech/Kubernetes.svg index 006c203..aae3367 100755 --- a/site/assets/images/tech/Kubernetes.svg +++ b/site/assets/images/tech/Kubernetes.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/site/assets/images/tech/cilium-logo-white.svg b/site/assets/images/tech/cilium-logo.svg similarity index 99% rename from site/assets/images/tech/cilium-logo-white.svg rename to site/assets/images/tech/cilium-logo.svg index af8bc1b..c70fc41 100644 --- a/site/assets/images/tech/cilium-logo-white.svg +++ b/site/assets/images/tech/cilium-logo.svg @@ -2,7 +2,7 @@ logo-lightbg-vertical-monochrome - + diff --git a/site/assets/scss/layouts/_trainings.scss b/site/assets/scss/layouts/_trainings.scss index 6413dea..51d7716 100644 --- a/site/assets/scss/layouts/_trainings.scss +++ b/site/assets/scss/layouts/_trainings.scss @@ -3,6 +3,36 @@ left: 1em; } +.techlogo { + position: absolute; + top: 0.1rem; + right: 1rem; + width: 33%; //8rem; + height: 6rem; + overflow: hidden; + z-index: -1; + + img { + transform: translate(0.5rem, -0.5rem); + object-position: top right; + } + + @include media-breakpoint-up(lg) { + top: auto; + right: auto; + width: 33%; + height: 10rem; + bottom: 0.1rem; + left: 3.1rem; + + img { + transform: translate(-1.5rem, 1.5rem); + object-position: bottom left; + } + } +} + + // Filter .btn-filter { diff --git a/site/content/de/trainings/cilium.md b/site/content/de/trainings/cilium.md index 1588ec3..b25de8c 100644 --- a/site/content/de/trainings/cilium.md +++ b/site/content/de/trainings/cilium.md @@ -11,7 +11,7 @@ categories: ["Basics", "Ergänzende Trainings", "New"] abstract: "eBPF-basiertes Networking" main_title: "eBPF-basiertes Networking" -techlogo: "images/tech/Kubernetes.svg" +techlogo: "images/tech/cilium-logo.svg" # Infos NEU 2024 diff --git a/site/content/de/trainings/go.md b/site/content/de/trainings/go.md index 2129b39..78e17b8 100644 --- a/site/content/de/trainings/go.md +++ b/site/content/de/trainings/go.md @@ -7,11 +7,11 @@ date: 2022-03-30T12:16:39+06:00 draft: false weight: 3 subtitle: "Basics" -categories: ["Basics", "Programming"] +categories: ["Basics", "Programming", "New"] duration: "1 Tag" abstract: "Einführung in Go für Software Entwickler, Architekten und DevOps Engineers." main_title: "Einführung in Go für Software Entwickler, Architekten und DevOps Engineers." -techlogo: "images/tech/Kubernetes.svg" +techlogo: "images/tech/Go.svg" personen: daten : "" diff --git a/site/hugo_stats.json b/site/hugo_stats.json index 4dbab7f..ef33afa 100644 --- a/site/hugo_stats.json +++ b/site/hugo_stats.json @@ -472,6 +472,7 @@ "table", "table-responsive", "team-list", + "techlogo", "tekton", "terraform", "testimonial", diff --git a/site/layouts/partials/box-training-small.html b/site/layouts/partials/box-training-small.html index 7e7257c..0d34539 100644 --- a/site/layouts/partials/box-training-small.html +++ b/site/layouts/partials/box-training-small.html @@ -13,11 +13,6 @@

{{ .Title }}

- {{ with .Params.techlogo }} - {{ with resources.Get . }} - - {{ end }} - {{ end }}
@@ -34,13 +29,12 @@

{{ .Title }}

{{ end }}
- - - - - - - - + {{ with .Params.techlogo }} + {{ with resources.Get . }} + + {{ end }} + {{ end }} diff --git a/site/layouts/partials/box-training.html b/site/layouts/partials/box-training.html index b43b55f..62a7387 100644 --- a/site/layouts/partials/box-training.html +++ b/site/layouts/partials/box-training.html @@ -5,22 +5,18 @@
{{ i18n "new" }}
{{ end }} +
{{ .Params.subtitle | humanize }}
-
{{ .Params.subtitle | humanize }}

{{ .Title }}

- {{ with .Params.techlogo }} - {{ with resources.Get . }} - - {{ end }} - {{ end }} +
@@ -45,4 +41,12 @@

{{ .Title }}

+ + {{ with .Params.techlogo }} + {{ with resources.Get . }} + + {{ end }} + {{ end }}