change to webp

This commit is contained in:
2023-04-26 21:41:43 +10:00
parent 7fddeeeaae
commit f1a28b6efe
74 changed files with 21 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
public/assets/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

View File

@@ -9,13 +9,13 @@
<router-link :to="{ name: 'home' }" id="logo-link">
<img
class="nav-logo dark:d-none"
src="/assets/logo.png"
src="/assets/logo.webp"
width="270"
height="40"
alt="STEMMechanics" />
<img
class="nav-logo light:d-none"
src="/assets/logo-dark.png"
src="/assets/logo-dark.webp"
width="270"
height="40"
alt="STEMMechanics" />

View File

@@ -49,10 +49,10 @@ export const getFileExtension = (fileName: string): string => {
export const getFileIconImagePath = (fileName: string): string => {
const ext = getFileExtension(fileName);
if (ext.length > 0) {
return `/img/fileicons/${ext}.png`;
return `/assets/fileicons/${ext}.webp`;
}
return "/img/fileicons/unknown.png";
return "/assets/fileicons/unknown.webp";
};
/**
@@ -68,10 +68,10 @@ export const getFilePreview = (url: string): string => {
return `${url}?size=thumb`;
}
return `/img/fileicons/${ext}.png`;
return `/assets/fileicons/${ext}.webp`;
}
return "/img/fileicons/unknown.png";
return "/assets/fileicons/unknown.webp";
};
/**

View File

@@ -32,39 +32,39 @@ import SMMastHead from "../components/SMMastHead.vue";
const communities = [
{
thumbnail: "/img/community-discord.jpg",
thumbnail: "/assets/community-discord.webp",
url: "https://discord.gg/yNzk4x7mpD",
title: "Discord",
content:
"A vibrant community for discussion, user support, showcases... and custom emoji!",
},
{
thumbnail: "/img/community-minecraft.jpg",
thumbnail: "/assets/community-minecraft.webp",
url: "/minecraft",
title: "Minecraft",
content:
"Our usual hang-out to kill zombies and build redstone contraptions.",
},
{
thumbnail: "/img/community-github.jpg",
thumbnail: "/assets/community-github.webp",
url: "https://github.com/stemmechanics",
title: "GitHub",
content: "All our open-source projects. Send bug reports here.",
},
{
thumbnail: "/img/community-youtube.jpg",
thumbnail: "/assets/community-youtube.webp",
url: "https://youtube.com/stemmechanics",
title: "YouTube",
content: "Channel for official STEMMechanics videos.",
},
{
thumbnail: "/img/community-facebook.jpg",
thumbnail: "/assets/community-facebook.webp",
url: "https://facebook.com/stemmechanics",
title: "Facebook",
content: "Community for discussions and showcasing workshops.",
},
{
thumbnail: "/img/community-mastodon.jpg",
thumbnail: "/assets/community-mastodon.webp",
url: "https://mastodon.au/@stemmechanics",
title: "Mastodon",
content: "Connect with us in the Fediverse.",

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>

View File

@@ -49,7 +49,7 @@
<a href="https://www.stemmechanics.com.au/">
<img
alt="STEMMechanics Logo"
src="{{ $message->embed(public_path('img').'/logo.png') }}"
src="{{ $message->embed(public_path('assets').'/logo.webp') }}"
width="400"
height="62"
/>