[chore/frontend] Use smaller webp images for logo and default avatars (#3119)

This commit is contained in:
tobi 2024-07-20 15:02:22 +02:00 committed by GitHub
commit ad700c5029
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 139 additions and 136 deletions

View file

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