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