change to webp
BIN
public/assets/community-discord.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/assets/community-facebook.webp
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
public/assets/community-github.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
public/assets/community-mastodon.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
public/assets/community-minecraft.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/assets/community-youtube.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
public/assets/fileicons/doc.webp
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
public/assets/fileicons/docx.webp
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
public/assets/fileicons/file-icons.webp
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
public/assets/fileicons/jpeg.webp
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
public/assets/fileicons/jpg.webp
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
public/assets/fileicons/mov.webp
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
public/assets/fileicons/mp4.webp
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
public/assets/fileicons/pdf.webp
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
public/assets/fileicons/png.webp
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
public/assets/fileicons/svg.webp
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
public/assets/fileicons/unknown.webp
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
public/assets/fileicons/xls.webp
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
public/assets/fileicons/xml.webp
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
public/assets/fileicons/zip.webp
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
public/assets/home-discord.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
public/assets/home-green-screen.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
public/assets/home-minecraft-address.webp
Normal file
|
After Width: | Height: | Size: 898 B |
BIN
public/assets/home-minecraft-edu.webp
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
public/assets/home-minecraft.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 19 KiB |
BIN
public/assets/logo-dark.webp
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 19 KiB |
BIN
public/assets/logo.webp
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
public/assets/sad-monster.webp
Normal file
|
After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 98 KiB |
@@ -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" />
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
/>
|
||||
|
||||