summaryrefslogtreecommitdiff
path: root/src/components/Gifs.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-10 07:32:28 -0400
committerseth <[email protected]>2024-04-10 07:51:09 -0400
commit1db44ec4133547e9cc2f351b56b1d59fafbc5002 (patch)
treece76ab4ffbeda7614faa85e543c7daf16a353fe2 /src/components/Gifs.astro
parent4d93e97d6aa9442d91ad34df1819f10dc8f0ed9c (diff)
factor out components
Diffstat (limited to 'src/components/Gifs.astro')
-rw-r--r--src/components/Gifs.astro20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/components/Gifs.astro b/src/components/Gifs.astro
deleted file mode 100644
index b82230e..0000000
--- a/src/components/Gifs.astro
+++ /dev/null
@@ -1,20 +0,0 @@
----
-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>