summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/assets/LICENSE1
-rw-r--r--web/assets/default_avatars/GoToSocial_icon1.pngbin8348 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon1.webpbin0 -> 6454 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon2.pngbin8815 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon2.webpbin0 -> 6828 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon3.pngbin16525 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon3.webpbin0 -> 9688 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon4.pngbin17204 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon4.webpbin0 -> 9892 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon5.pngbin16717 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon5.webpbin0 -> 9880 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon6.pngbin14846 -> 0 bytes
-rw-r--r--web/assets/default_avatars/GoToSocial_icon6.webpbin0 -> 8510 bytes
-rw-r--r--web/assets/default_header.pngbin67 -> 0 bytes
-rw-r--r--web/assets/default_header.webpbin0 -> 30 bytes
-rw-r--r--web/assets/logo.webpbin0 -> 17046 bytes
-rw-r--r--web/source/settings/components/status.tsx2
-rw-r--r--web/template/status_attachments.tmpl4
18 files changed, 4 insertions, 3 deletions
diff --git a/web/assets/LICENSE b/web/assets/LICENSE
index 58141d59b..23765bf59 100644
--- a/web/assets/LICENSE
+++ b/web/assets/LICENSE
@@ -1,6 +1,7 @@
The following files and subdirectories in this directory are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License:
- logo.png (sloth logo)
+- logo.webp (sloth logo)
- logo.svg (sloth logo)
- ./default_avatars/* (all default avatars)
diff --git a/web/assets/default_avatars/GoToSocial_icon1.png b/web/assets/default_avatars/GoToSocial_icon1.png
deleted file mode 100644
index bdf037ad3..000000000
--- a/web/assets/default_avatars/GoToSocial_icon1.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon1.webp b/web/assets/default_avatars/GoToSocial_icon1.webp
new file mode 100644
index 000000000..4cab81021
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon1.webp
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon2.png b/web/assets/default_avatars/GoToSocial_icon2.png
deleted file mode 100644
index 95a6c1d71..000000000
--- a/web/assets/default_avatars/GoToSocial_icon2.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon2.webp b/web/assets/default_avatars/GoToSocial_icon2.webp
new file mode 100644
index 000000000..9f63cfc7e
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon2.webp
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon3.png b/web/assets/default_avatars/GoToSocial_icon3.png
deleted file mode 100644
index b06dae401..000000000
--- a/web/assets/default_avatars/GoToSocial_icon3.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon3.webp b/web/assets/default_avatars/GoToSocial_icon3.webp
new file mode 100644
index 000000000..03d05aca1
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon3.webp
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon4.png b/web/assets/default_avatars/GoToSocial_icon4.png
deleted file mode 100644
index 4b066f28f..000000000
--- a/web/assets/default_avatars/GoToSocial_icon4.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon4.webp b/web/assets/default_avatars/GoToSocial_icon4.webp
new file mode 100644
index 000000000..a2fe7174b
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon4.webp
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon5.png b/web/assets/default_avatars/GoToSocial_icon5.png
deleted file mode 100644
index ce3bb05c3..000000000
--- a/web/assets/default_avatars/GoToSocial_icon5.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon5.webp b/web/assets/default_avatars/GoToSocial_icon5.webp
new file mode 100644
index 000000000..fcb8626d6
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon5.webp
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon6.png b/web/assets/default_avatars/GoToSocial_icon6.png
deleted file mode 100644
index b79c39749..000000000
--- a/web/assets/default_avatars/GoToSocial_icon6.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_avatars/GoToSocial_icon6.webp b/web/assets/default_avatars/GoToSocial_icon6.webp
new file mode 100644
index 000000000..10fa63bb1
--- /dev/null
+++ b/web/assets/default_avatars/GoToSocial_icon6.webp
Binary files differ
diff --git a/web/assets/default_header.png b/web/assets/default_header.png
deleted file mode 100644
index 3e1430802..000000000
--- a/web/assets/default_header.png
+++ /dev/null
Binary files differ
diff --git a/web/assets/default_header.webp b/web/assets/default_header.webp
new file mode 100644
index 000000000..52f47e14d
--- /dev/null
+++ b/web/assets/default_header.webp
Binary files differ
diff --git a/web/assets/logo.webp b/web/assets/logo.webp
new file mode 100644
index 000000000..d689d042d
--- /dev/null
+++ b/web/assets/logo.webp
Binary files differ
diff --git a/web/source/settings/components/status.tsx b/web/source/settings/components/status.tsx
index 56b061d39..ba38e161c 100644
--- a/web/source/settings/components/status.tsx
+++ b/web/source/settings/components/status.tsx
@@ -24,7 +24,7 @@ import sanitize from "sanitize-html";
export function FakeStatus({ children }) {
const { data: account = {
- avatar: "/assets/default_avatars/GoToSocial_icon1.png",
+ avatar: "/assets/default_avatars/GoToSocial_icon1.webp",
display_name: "",
username: ""
} } = useVerifyCredentialsQuery();
diff --git a/web/template/status_attachments.tmpl b/web/template/status_attachments.tmpl
index 5df3d1c5c..8e05aafd8 100644
--- a/web/template/status_attachments.tmpl
+++ b/web/template/status_attachments.tmpl
@@ -62,7 +62,7 @@
/>
{{- else }}
<img
- src="/assets/logo.png"
+ src="/assets/logo.webp"
loading="lazy"
{{- if .Description }}
alt="{{- .Description -}}"
@@ -134,7 +134,7 @@ media photoswipe-gallery {{ (len .) | oddOrEven }} {{ if eq (len .) 1 }}single{{
data-pswp-width="{{- $media.Meta.Small.Width -}}px"
data-pswp-height="{{- $media.Meta.Small.Height -}}px"
{{- else }}
- poster="/assets/logo.png"
+ poster="/assets/logo.webp"
width="518px"
height="460px"
{{- end }}