From 1db44ec4133547e9cc2f351b56b1d59fafbc5002 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 10 Apr 2024 07:32:28 -0400 Subject: factor out components --- src/components/Gifs.astro | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/components/Gifs.astro (limited to 'src/components/Gifs.astro') 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"; ---- - -
- { - gifs.map(({ image, alt }) => { - const img = ; - - if (image.src.includes("steam")) { - return {img}; - } else if (image.src.includes("poweredbynix")) { - return {img}; - } else { - return img; - } - }) - } -
-- cgit v1.2.3