Fixed image errors
This commit is contained in:
parent
da5c900e3d
commit
3f7d297a5f
@ -1,6 +1,6 @@
|
|||||||
component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
|
component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
|
||||||
.profile
|
.profile
|
||||||
img.profile-cover(src=viewUser.CoverImageURL(), alt="Cover image")
|
img.profile-cover.lazy(data-src=viewUser.CoverImageURL(), data-webp="true", alt="Cover image")
|
||||||
|
|
||||||
.profile-image-container.mountable.never-unmount
|
.profile-image-container.mountable.never-unmount
|
||||||
ProfileImage(viewUser)
|
ProfileImage(viewUser)
|
||||||
|
@ -2,5 +2,6 @@ package utils
|
|||||||
|
|
||||||
// EmptyImage returns the smallest possible 1x1 pixel image encoded in Base64.
|
// EmptyImage returns the smallest possible 1x1 pixel image encoded in Base64.
|
||||||
func EmptyImage() string {
|
func EmptyImage() string {
|
||||||
return "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
return ""
|
||||||
|
// return "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user