mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 12:07:43 +02:00
fix image links
This commit is contained in:
@@ -29,9 +29,9 @@ export function embedImages(content: EmbedableContent, trusted = false) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<LightGallery plugins={[lgThumbnail, lgZoom]} licenseKey="1234-5678-9101-1121">
|
<LightGallery plugins={[lgThumbnail, lgZoom]} licenseKey="1234-5678-9101-1121">
|
||||||
<a href={src} target="_blank">
|
<Link href={src} target="_blank" display="inline-block">
|
||||||
<ImageComponent src={thumbnail} cursor="pointer" maxW="30rem" />
|
<ImageComponent src={thumbnail} cursor="pointer" maxW="30rem" />
|
||||||
</a>
|
</Link>
|
||||||
</LightGallery>
|
</LightGallery>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user