Browse Source

Creating webp versions of app icons for social media.

master
Ad5001 5 months ago
parent
commit
ed60f3d091
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
  1. 2
      layouts/apps-list.html
  2. 2
      layouts/partials/section-app-header.html
  3. 2
      layouts/shortcodes/appIcon.html
  4. 2
      layouts/shortcodes/previewSkills.html
  5. 0
      static/icons/apps/svg/accountfree.svg
  6. 0
      static/icons/apps/svg/ad5001.eu.svg
  7. 0
      static/icons/apps/svg/logarithmplotter.svg
  8. 0
      static/icons/apps/svg/nowox.svg
  9. 0
      static/icons/apps/svg/unchecker.svg
  10. BIN
      static/icons/apps/webp/accountfree.webp
  11. BIN
      static/icons/apps/webp/ad5001.eu.webp
  12. BIN
      static/icons/apps/webp/logarithmplotter.webp
  13. BIN
      static/icons/apps/webp/nowox.webp
  14. BIN
      static/icons/apps/webp/unchecker.webp

2
layouts/apps-list.html

@ -31,7 +31,7 @@
<div class="label">
<h2>
<span class="flex app-name" style="float: left">
&nbsp;<img src="/icons/apps/{{ $index }}.svg" loading="lazy" class="icon-larger-text" alt=""/> {{ $i18nAppData.name }}
&nbsp;<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 -->
&nbsp;

2
layouts/partials/section-app-header.html

@ -25,7 +25,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<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 }}.svg" class="icon-larger-text shadowed" alt="{{ .AppIndex | safeHTML }} app icon"/>{{ $i18nAppData.name | safeHTML }}</h1>
<h1 class="flex flex-right">&nbsp;<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>
{{ if .ShowPlatforms }}
<p class="flex flex-right">{{ i18n "availableOn" }}&nbsp;

2
layouts/shortcodes/appIcon.html

@ -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
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>

2
layouts/shortcodes/previewSkills.html

@ -45,7 +45,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<div class="grid flex">
{{ $scratch := newScratch }}
{{ range .RelevantSoft }}
{{ $scratch.Set "img" "/icons/apps/" }}
{{ $scratch.Set "img" "/icons/apps/svg/" }}
{{ $scratch.Add "img" (lower .) }}
{{ $scratch.Add "img" ".svg" }}
{{ $scratch.Set "url" "https://apps.ad5001.eu/" }}

0
static/icons/apps/accountfree.svg → static/icons/apps/svg/accountfree.svg

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

0
static/icons/apps/ad5001.eu.svg → static/icons/apps/svg/ad5001.eu.svg

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B

0
static/icons/apps/logarithmplotter.svg → static/icons/apps/svg/logarithmplotter.svg

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

0
static/icons/apps/nowox.svg → static/icons/apps/svg/nowox.svg

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
static/icons/apps/unchecker.svg → static/icons/apps/svg/unchecker.svg

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

BIN
static/icons/apps/webp/accountfree.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
static/icons/apps/webp/ad5001.eu.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
static/icons/apps/webp/logarithmplotter.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
static/icons/apps/webp/nowox.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

BIN
static/icons/apps/webp/unchecker.webp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Loading…
Cancel
Save