frontend: PostComponent: add image lazy loading
This commit is contained in:
parent
f479d90536
commit
ed59f58f23
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ function scrollSlideToIndex(index) {
|
|||
class="absolute top-0 left-0 w-full h-dvh object-cover -z-10"
|
||||
:src="asset.presignedUrl"
|
||||
v-if="asset.contentType.startsWith('image/')"
|
||||
loading="lazy"
|
||||
/>
|
||||
<video
|
||||
class="absolute top-0 left-0 w-full h-dvh object-cover -z-10"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue