Compare commits
No commits in common. "297e7c570e7724a23bbc04067b97fdfae3262c63" and "da273cbc8789bcb65425c8809ddb999b013cd176" have entirely different histories.
297e7c570e
...
da273cbc87
|
|
@ -23,4 +23,5 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
|
gitea.forstenlechner.dev/stefan/simple-picture-gallery:${{gitea.sha}}
|
||||||
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest
|
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export const ImageGallery = ({ images }: { images: ImageWithThumbnail[] }) => {
|
||||||
photos={images}
|
photos={images}
|
||||||
render={{
|
render={{
|
||||||
image: (props, context) => (
|
image: (props, context) => (
|
||||||
<img {...props} src={context.photo.thumbnail} />
|
<img loading={"lazy"} {...props} src={context.photo.thumbnail} />
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
onClick={({ index }) => setIndex(index)}
|
onClick={({ index }) => setIndex(index)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue