diff options
| author | seth <[email protected]> | 2024-04-08 22:58:22 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-04-08 22:58:22 -0400 |
| commit | d8a20e3032a0ce97b6ddc29840e135eda9b3f43c (patch) | |
| tree | 40a4059020ff4c9d500d4022f5b84e7bf2c46fd4 /src/components/Footer.astro | |
| parent | 33a4eb02a8307be1bcfaaabbe3adaf25d0088d3b (diff) | |
refactor; use plain css
Diffstat (limited to 'src/components/Footer.astro')
| -rw-r--r-- | src/components/Footer.astro | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index 7897b8d..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,30 +0,0 @@ ---- -import { execa } from "execa"; -import Picture from "astro/components/Picture.astro"; -import gifs from "@assets/gifs"; - -const { stdout: gitCommit } = await execa("git", ["rev-parse", "HEAD"]); ---- - -<footer class="text-xs text-subtext1 my-10 text-right space-y-2"> - <div class="hidden md:flex flex-wrap justify-around"> - { - gifs.map(({ gif, alt }) => { - const img = <Picture src={gif} alt={alt} formats={["gif"]} />; - - if (gif.src.includes("steam")) { - return <a href="https://dnsense.pub/">{img}</a>; - } else if (gif.src.includes("poweredbynix")) { - return <a href="https://github.com/sakecode">{img}</a>; - } else { - return img; - } - }) - } - </div> - <p> - Served from commit {gitCommit.substring(0, 8)} (<a - href="https://github.com/getchoo/website">source</a - >) - </p> -</footer> |
