summaryrefslogtreecommitdiff
path: root/src/layouts/Index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Index.astro')
-rw-r--r--src/layouts/Index.astro26
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>