36 lines
1.8 KiB
HTML
36 lines
1.8 KiB
HTML
<!-- heading sections for apps -->
|
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
|
{{ $appdata := index $data.apps .Data.AppIndex }}
|
|
{{ with .Data }}
|
|
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
|
<div class="columns-container">
|
|
<div class="column col3 text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
|
<br>
|
|
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.png" class="icon-larger-text" alt=""/>{{ $appdata.name | safeHTML }}</h1>
|
|
<h2>{{ $appdata.description | safeHTML }}</h2>
|
|
{{ if .ShowPlatforms }}
|
|
<p class="flex flex-right">{{ i18n "availableOn" }}
|
|
<span class="icon-monochrome">{{ partial "platforms.html" $appdata.platforms }}</span>
|
|
</p>
|
|
{{ end }}
|
|
<div class="grid flex-right">
|
|
{{ range .Links }}
|
|
<div>
|
|
<a href="{{ .URL | safeURL }}" role="button" class="primary" title="{{ .Title }}">
|
|
<img src="/icons/{{ .Icon }}.svg" class="icon-as-text" alt="{{ .Icon }}">{{ .Title }}
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
<br>
|
|
</div>
|
|
<div class="column col2-3 flex">
|
|
<img class="vertical-center-img" src="/img/full/{{ .AppIndex }}.png"/>
|
|
</div>
|
|
</div>
|
|
<div style="background: {{ .BottomBackground | safeCSS }}; height: {{ .BottomHeight | safeCSS }}; width: 100%; margin-top: -{{ .BottomHeight | safeCSS }};">
|
|
<div style="float: left; max-width: 100%;">{{ .BottomLeft | safeHTML }}</div>
|
|
<div style="float: right; max-width: 100%;">{{ .BottomRight | safeHTML }}</div>
|
|
</div>
|
|
</section>
|
|
{{ end }}
|