CHANGE section design to be more dynamic

This commit is contained in:
Hoernschen 2022-03-19 23:54:55 +01:00
parent 6032aebe80
commit 7239b2c45e
No known key found for this signature in database
GPG key ID: 8B027F540E7DBD58
14 changed files with 90 additions and 83 deletions

View file

@ -0,0 +1,15 @@
{{- $logos := .logos }}
{{- $odd := .odd }}
<div id="{{ $logos.id }}" class="section {{if eq $odd 0}} section-even {{end}}">
<div class="section-content funding">
<div class="title">
<h1 class="content-title">{{ $logos.title }}</h1>
<div class="divider"></div>
</div>
<div class="funding-logos">
{{- range $logos.logos}}
<a href="{{ .url }}"><img class="funding-logo" src="{{ .logo }}" alt="{{ .text }}"></a>
{{- end}}
</div>
</div>
</div>