More scss file splitting, now using font instead of direct SVG icons to optimize requests.

This commit is contained in:
Adsooi 2021-07-17 00:36:59 +02:00
parent 3c87cee9e7
commit 9ff214909b
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
24 changed files with 479 additions and 118 deletions
layouts/partials

View file

@ -6,21 +6,15 @@
<div class="columns-container">
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
<br>
<h1 class="flex flex-right">&nbsp;<img src="/icons/apps/{{ .AppIndex | safeHTML }}.png" class="icon-larger-text" alt=""/>{{ $appdata.name | safeHTML }}</h1>
<h1 class="flex flex-right">&nbsp;<img src="/icons/apps/{{ .AppIndex | safeHTML }}.svg" class="icon-larger-text" alt=""/>{{ $appdata.name | safeHTML }}</h1>
<h2>{{ $appdata.description | safeHTML }}</h2>
{{ if .ShowPlatforms }}
<p class="flex flex-right">{{ i18n "availableOn" }}&nbsp;
<span class="icon-monochrome">{{ partial "platforms.html" $appdata.platforms }}</span>
{{ partial "platforms.html" $appdata.platforms }}
</p>
{{ end }}
<div class="grid flex-right">&nbsp;
{{ 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>&nbsp;
</div>
{{ end }}
{{ partial "links.html" .Links }}
</div>
<br>
</div>