diff options
| author | seth <[email protected]> | 2024-05-22 22:00:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-22 20:45:24 -0600 |
| commit | 8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch) | |
| tree | 2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /src/layouts/Index.astro | |
| parent | 329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff) | |
move to zola
Diffstat (limited to 'src/layouts/Index.astro')
| -rw-r--r-- | src/layouts/Index.astro | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/layouts/Index.astro b/src/layouts/Index.astro deleted file mode 100644 index e4b3d50..0000000 --- a/src/layouts/Index.astro +++ /dev/null @@ -1,26 +0,0 @@ ---- -import gifs from "@assets/gifs"; -import Base from "@layouts/Base.astro"; -import Picture from "astro/components/Picture.astro"; - -const { title, description } = Astro.props.frontmatter; ---- - -<Base title={title} description={description}> - <slot /> - <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> -</Base> |
