Add company and school logos (#882)

* Add education logo

* Fix width

* Update css

* Add logos to company

* Add multiple positions

* Update Styling

* Strenghten poistion title

* Improve timeline

* Fix missing curly braces

* Fix curly braces

* Add space

* Add space between position and date

* Make single and multiple experiences more consistent

* Remove single-position layout

* Remove duplicated comment
This commit is contained in:
Bernat Borràs Civil 2024-02-12 08:26:12 +01:00 committed by GitHub
parent e8b0cfb32e
commit 11bddc36a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 93 additions and 59 deletions

View file

@ -31,6 +31,19 @@
</td>
<td class="details">
<div class="degree-info card">
{{ $logoImage:= resources.Get .institution.logo}}
{{ if $logoImage }}
{{/* svg don't support "Fit" operation */}}
{{ if ne $logoImage.MediaType.SubType "svg" }}
{{ $logoImage = $logoImage.Fit "300x300" }}
{{ end }}
<div class="logo-holder">
<img class="company-logo" src="{{ $logoImage.RelPermalink }}" alt="{{ .name }}" />
</div>
{{ end }}
<div class="row">
<div class="col-lg-10 col-md-8">
{{ if .institution.url }}