blob: b82230e9a4edd8479fbdedec3a31a69319ef515c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
import Picture from "astro/components/Picture.astro";
import gifs from "@assets/gifs";
---
<div id="gifs">
{
gifs.map(({ image, alt }) => {
const img = <Picture src={image} alt={alt} formats={["gif"]} />;
if (image.src.includes("steam")) {
return <a href="https://dnsense.pub/">{img}</a>;
} else if (image.src.includes("poweredbynix")) {
return <a href="https://github.com/sakecode">{img}</a>;
} else {
return img;
}
})
}
</div>
|