Compare commits
2 Commits
da273cbc87
...
297e7c570e
| Author | SHA1 | Date |
|---|---|---|
|
|
297e7c570e | |
|
|
0a34124d7d |
|
|
@ -23,5 +23,4 @@ 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 loading={"lazy"} {...props} src={context.photo.thumbnail} />
|
<img {...props} src={context.photo.thumbnail} />
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
onClick={({ index }) => setIndex(index)}
|
onClick={({ index }) => setIndex(index)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue