Skip to content

Commit

Permalink
tech logos NEW
Browse files Browse the repository at this point in the history
  • Loading branch information
fintinc committed Sep 23, 2024
1 parent 74d4b9c commit eff529f
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 45 deletions.
21 changes: 0 additions & 21 deletions site/assets/images/tech/Go-Logo_White.svg

This file was deleted.

1 change: 1 addition & 0 deletions site/assets/images/tech/Go.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion site/assets/images/tech/Kubernetes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions site/assets/scss/layouts/_trainings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion site/content/de/trainings/cilium.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions site/content/de/trainings/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 : ""
Expand Down
1 change: 1 addition & 0 deletions site/hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@
"table",
"table-responsive",
"team-list",
"techlogo",
"tekton",
"terraform",
"testimonial",
Expand Down
20 changes: 7 additions & 13 deletions site/layouts/partials/box-training-small.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
<h3 class="h2 mb-8">{{ .Title }}</h3>
</a>
</div>
{{ with .Params.techlogo }}
{{ with resources.Get . }}
<img src="{{ .RelPermalink }}" alt="" width="30" height="30" class="ms-auto mb-auto">
{{ end }}
{{ end }}
</div>

<div class="d-flex mt-auto">
Expand All @@ -34,13 +29,12 @@ <h3 class="h2 mb-8">{{ .Title }}</h3>
{{ end }}
</div>
</div>








</div>
{{ with .Params.techlogo }}
{{ with resources.Get . }}
<div class="techlogo">
<img src="{{ .RelPermalink }}" alt="" width="30" height="30" class="contain">
</div>
{{ end }}
{{ end }}
</div>
Loading

0 comments on commit eff529f

Please sign in to comment.