aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-17 15:31:08 -0700
committerAdam Soltys <[email protected]>2022-10-17 15:31:08 -0700
commit5e3d4133760962db28c4f3a595f0566bd59391ff (patch)
tree8a6c360bfa818ddf2b3724c926c3e5f8ceab374c /src/components
parentb45baf7b603c19af7c9f0c98a0df291ca2c305a8 (diff)
downloadcoinos-ui-5e3d4133760962db28c4f3a595f0566bd59391ff.tar.gz
coinos-ui-5e3d4133760962db28c4f3a595f0566bd59391ff.zip
thanks page
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte2
-rw-r--r--src/components/Avatar.svelte2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index f9413efb..4e631971 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -35,7 +35,7 @@
$tempProfileFiles && $tempProfileFiles.banner
? `url(${$tempProfileFiles.banner})`
: subject?.banner
- ? `url(/api/public/${subject.username}-banner.png)`
+ ? `url(/api/public/${subject.username}-banner.webp)`
: undefined;
</script>
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte
index ed1a499a..d0a4e0f2 100644
--- a/src/components/Avatar.svelte
+++ b/src/components/Avatar.svelte
@@ -14,7 +14,7 @@
<img
src={$tempProfileFiles && $tempProfileFiles.profile
? $tempProfileFiles.profile
- : `/api/public/${user.username}-profile.png`}
+ : `/api/public/${user.username}-profile.webp`}
class="w-full h-full object-cover object-center overflow-hidden"
alt={user.username}
/>