2021-06-13 17:49:30 +00:00
|
|
|
<!-- heading sections for apps -->
|
|
|
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
2021-08-11 23:37:14 +00:00
|
|
|
{{ $i18nAppData := index $data.apps .Data.AppIndex }}
|
2021-08-11 23:40:40 +00:00
|
|
|
{{ $AppData := index .Site.Data.metadata .Data.AppIndex }}
|
2021-06-13 17:49:30 +00:00
|
|
|
{{ with .Data }}
|
|
|
|
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
|
|
|
<div class="columns-container">
|
2021-07-13 22:18:53 +00:00
|
|
|
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
2021-06-13 17:49:30 +00:00
|
|
|
<br>
|
2021-08-11 23:37:14 +00:00
|
|
|
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.svg" class="icon-larger-text shadowed" alt="{{ .AppIndex | safeHTML }} app icon"/>{{ $i18nAppData.name | safeHTML }}</h1>
|
|
|
|
<h2>{{ $i18nAppData.description | safeHTML }}</h2>
|
2021-06-13 17:49:30 +00:00
|
|
|
{{ if .ShowPlatforms }}
|
|
|
|
<p class="flex flex-right">{{ i18n "availableOn" }}
|
2021-08-11 23:37:14 +00:00
|
|
|
{{ partial "platforms.html" $AppData.platforms }}
|
2021-06-13 17:49:30 +00:00
|
|
|
</p>
|
|
|
|
{{ end }}
|
2021-06-14 15:16:22 +00:00
|
|
|
<div class="grid flex-right">
|
2021-07-16 22:36:59 +00:00
|
|
|
{{ partial "links.html" .Links }}
|
2021-06-14 15:16:22 +00:00
|
|
|
</div>
|
2021-06-13 17:49:30 +00:00
|
|
|
<br>
|
|
|
|
</div>
|
2021-07-13 22:18:53 +00:00
|
|
|
<div class="column col2-3 center flex">
|
2021-08-11 23:37:14 +00:00
|
|
|
<img class="vertical-center-img" alt="{{ $i18nAppData.name | safeHTML }} preview" src="/img/full/{{ .AppIndex }}.png"/>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-18 17:41:15 +00:00
|
|
|
<div class="section-end-triangle"></div>
|
2021-06-13 17:49:30 +00:00
|
|
|
</section>
|
|
|
|
{{ end }}
|