2021-06-13 17:49:30 +00:00
|
|
|
{{ define "main" }}
|
2021-07-16 22:36:59 +00:00
|
|
|
{{ partial "section1.html" (dict "Image" "/img/app0.webp" "Content" .Content) }}
|
2021-06-13 17:49:30 +00:00
|
|
|
<div id="appslist" class="grid center">
|
|
|
|
{{ $site := .Site }}
|
|
|
|
{{ range .Site.Data.list }}
|
|
|
|
{{ $index := . }}
|
2021-08-11 13:07:15 +00:00
|
|
|
{{ $i18nData := index $site.Data $site.Language.Lang }}
|
|
|
|
{{ $i18nAppData := index $i18nData.apps $index }}
|
|
|
|
{{ $AppData := index $site.Data.metadata $index }}
|
2021-06-13 17:49:30 +00:00
|
|
|
<div class="padding-container">
|
2021-07-16 22:36:59 +00:00
|
|
|
<div class="block-preview" style="background-image: url(/img/preview/{{ $index }}.webp);">
|
2021-08-11 13:07:15 +00:00
|
|
|
<a href="{{ $index }}/" class="label-link" alt="{{ $i18nAppData.name }}">
|
2021-07-16 22:36:59 +00:00
|
|
|
<div class="label">
|
|
|
|
<h2>
|
|
|
|
<span class="flex app-name" style="float: left">
|
2021-08-11 13:07:15 +00:00
|
|
|
<img src="/icons/apps/{{ $index }}.svg" loading="lazy" class="icon-larger-text" alt=""/> {{ $i18nAppData.name }}
|
2021-07-16 22:36:59 +00:00
|
|
|
</span>
|
|
|
|
<span class="right-icon"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"/></i></span> <!-- Hint that you can click -->
|
|
|
|
|
|
|
|
</h2>
|
2021-08-11 13:07:15 +00:00
|
|
|
<p class="show-on-hover">{{ $i18nAppData.description }}</p>
|
|
|
|
<p class="show-on-hover">{{ i18n "status" }} {{ $i18nAppData.status }}</p>
|
2021-07-16 22:36:59 +00:00
|
|
|
<p class="flex show-on-hover">{{ i18n "worksOn" }}
|
2021-08-11 13:07:15 +00:00
|
|
|
{{ partial "platforms.html" $AppData.platforms }}
|
2021-07-16 22:36:59 +00:00
|
|
|
</p>
|
|
|
|
<p class="flex show-on-hover">{{ i18n "translated" }}
|
2021-08-11 13:07:15 +00:00
|
|
|
{{ partial "translations.html" $AppData.translated }}
|
2021-07-16 22:36:59 +00:00
|
|
|
</p>
|
|
|
|
<p class="primary" role="button"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"></i>{{ i18n "learnMore" }}</p>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
2021-07-16 22:36:59 +00:00
|
|
|
</a>
|
2021-06-13 17:49:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|