Creating webp versions of app icons for social media.
|
@ -31,7 +31,7 @@
|
||||||
<div class="label">
|
<div class="label">
|
||||||
<h2>
|
<h2>
|
||||||
<span class="flex app-name" style="float: left">
|
<span class="flex app-name" style="float: left">
|
||||||
<img src="/icons/apps/{{ $index }}.svg" loading="lazy" class="icon-larger-text" alt=""/> {{ $i18nAppData.name }}
|
<img src="/icons/apps/svg/{{ $index }}.svg" loading="lazy" class="icon-larger-text" alt=""/> {{ $i18nAppData.name }}
|
||||||
</span>
|
</span>
|
||||||
<span class="right-icon"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"/></i></span> <!-- Hint that you can click -->
|
<span class="right-icon"><i class="icon-lookup icon-as-text" alt="{{ i18n "learnMore" }}"/></i></span> <!-- Hint that you can click -->
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
<div class="columns-container">
|
<div class="columns-container">
|
||||||
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
||||||
<br>
|
<br>
|
||||||
<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>
|
<h1 class="flex flex-right"> <img src="/icons/apps/svg/{{ .AppIndex | safeHTML }}.svg" class="icon-larger-text shadowed" alt="{{ .AppIndex | safeHTML }} app icon"/>{{ $i18nAppData.name | safeHTML }}</h1>
|
||||||
<h2>{{ $i18nAppData.description | safeHTML }}</h2>
|
<h2>{{ $i18nAppData.description | safeHTML }}</h2>
|
||||||
{{ if .ShowPlatforms }}
|
{{ if .ShowPlatforms }}
|
||||||
<p class="flex flex-right">{{ i18n "availableOn" }}
|
<p class="flex flex-right">{{ i18n "availableOn" }}
|
||||||
|
|
|
@ -16,4 +16,4 @@ GNU Affero General Public License for more details.
|
||||||
You should have received a copy of the GNU Affero General Public License
|
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/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<img class="icon-as-text icon-in-text" alt="{{ .Get 0 }}'s icon" src="/icons/apps/{{ .Get 0 | safeURL }}.svg"></img>
|
<img class="icon-as-text icon-in-text" alt="{{ .Get 0 }}'s icon" src="/icons/apps/svg/{{ .Get 0 | safeURL }}.svg"></img>
|
||||||
|
|
|
@ -45,7 +45,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
<div class="grid flex">
|
<div class="grid flex">
|
||||||
{{ $scratch := newScratch }}
|
{{ $scratch := newScratch }}
|
||||||
{{ range .RelevantSoft }}
|
{{ range .RelevantSoft }}
|
||||||
{{ $scratch.Set "img" "/icons/apps/" }}
|
{{ $scratch.Set "img" "/icons/apps/svg/" }}
|
||||||
{{ $scratch.Add "img" (lower .) }}
|
{{ $scratch.Add "img" (lower .) }}
|
||||||
{{ $scratch.Add "img" ".svg" }}
|
{{ $scratch.Add "img" ".svg" }}
|
||||||
{{ $scratch.Set "url" "https://apps.ad5001.eu/" }}
|
{{ $scratch.Set "url" "https://apps.ad5001.eu/" }}
|
||||||
|
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
BIN
static/icons/apps/webp/accountfree.webp
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
static/icons/apps/webp/ad5001.eu.webp
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
static/icons/apps/webp/logarithmplotter.webp
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
static/icons/apps/webp/nowox.webp
Normal file
After Width: | Height: | Size: 866 B |
BIN
static/icons/apps/webp/unchecker.webp
Normal file
After Width: | Height: | Size: 1.9 KiB |