55 lines
2.8 KiB
HTML
55 lines
2.8 KiB
HTML
{{ define "main" }}
|
|
<!--
|
|
Omegamma - Hugo theme for ad5001.eu and related websites
|
|
|
|
Copyright (C) 2021-2022 Ad5001 <mail@ad5001.eu>
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
{{ partial "section1.html" (dict "Image" "/img/app0.webp" "Content" .Content) }}
|
|
<div id="appslist" class="grid center section-max-108">
|
|
{{ $site := .Site }}
|
|
{{ range .Site.Data.list }}
|
|
{{ $index := . }}
|
|
{{ $i18nData := index $site.Data $site.Language.Lang }}
|
|
{{ $i18nAppData := index $i18nData.apps $index }}
|
|
{{ $AppData := index $site.Data.metadata $index }}
|
|
<div class="padding-container">
|
|
<div class="block-preview" style="background-image: url(/img/preview/{{ $index }}.webp);">
|
|
<a href="{{ $index }}/" class="label-link" alt="{{ $i18nAppData.name }}">
|
|
<div class="label">
|
|
<h2>
|
|
<span class="flex app-name" style="float: left">
|
|
<img src="/icons/apps/svg/{{ $index }}.svg" loading="lazy" class="icon-larger-text" alt=""/> {{ $i18nAppData.name }}
|
|
</span>
|
|
<span class="right-icon"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"/></i></span> <!-- Hint that you can click -->
|
|
|
|
</h2>
|
|
<p class="show-on-hover">{{ $i18nAppData.description }}</p>
|
|
<p class="show-on-hover">{{ i18n "status" }} {{ $i18nAppData.status }}</p>
|
|
<p class="flex show-on-hover">{{ i18n "worksOn" }}
|
|
{{ partial "platforms.html" $AppData.platforms }}
|
|
</p>
|
|
<p class="flex show-on-hover">{{ i18n "translated" }}
|
|
{{ partial "flags.html" $AppData.translated }}
|
|
</p>
|
|
<p class="primary" role="button"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"></i>{{ i18n "learnMore" }}</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
|