Compare commits

..

No commits in common. "297e7c570e7724a23bbc04067b97fdfae3262c63" and "da273cbc8789bcb65425c8809ddb999b013cd176" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View File

@ -23,4 +23,5 @@ jobs:
context: .
push: true
tags: |
gitea.forstenlechner.dev/stefan/simple-picture-gallery:${{gitea.sha}}
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest

View File

@ -22,7 +22,7 @@ export const ImageGallery = ({ images }: { images: ImageWithThumbnail[] }) => {
photos={images}
render={{
image: (props, context) => (
<img {...props} src={context.photo.thumbnail} />
<img loading={"lazy"} {...props} src={context.photo.thumbnail} />
),
}}
onClick={({ index }) => setIndex(index)}