diff options
| author | seth <[email protected]> | 2023-12-20 20:27:18 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-21 02:34:37 +0000 |
| commit | 5aa2e6c0c6e4c73d93307e9f70803237006afb28 (patch) | |
| tree | f26a67452e2d4a4ed30506e533ac17cc95184fac /src/layouts | |
| parent | 2a6f22fc1f1939b102fb8925bf04914a4b553e17 (diff) | |
go back to lume
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Base.astro | 18 | ||||
| -rw-r--r-- | src/layouts/Blogpost.astro | 8 | ||||
| -rw-r--r-- | src/layouts/Index.astro | 248 | ||||
| -rw-r--r-- | src/layouts/Page.astro | 12 |
4 files changed, 0 insertions, 286 deletions
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro deleted file mode 100644 index a8aa63e..0000000 --- a/src/layouts/Base.astro +++ /dev/null @@ -1,18 +0,0 @@ ---- -import Head from "@components/Head.astro"; -import Footer from "@components/Footer.astro"; -import Nav from "@components/Nav.astro"; - -const { title, description } = Astro.props; ---- - -<!DOCTYPE html> -<html lang="en"> - <Head title={title} description={description} /> - - <body class="bg-base"> - <Nav /> - <slot /> - <Footer /> - </body> -</html> diff --git a/src/layouts/Blogpost.astro b/src/layouts/Blogpost.astro deleted file mode 100644 index a52a7d5..0000000 --- a/src/layouts/Blogpost.astro +++ /dev/null @@ -1,8 +0,0 @@ ---- -import Page from "@layouts/Page.astro"; -const { title, description } = Astro.props.frontmatter; ---- - -<Page title={title} description={description}> - <slot /> -</Page> diff --git a/src/layouts/Index.astro b/src/layouts/Index.astro deleted file mode 100644 index a5909b7..0000000 --- a/src/layouts/Index.astro +++ /dev/null @@ -1,248 +0,0 @@ ---- -import Base from "@layouts/Base.astro"; -import { Image } from "@astrojs/image/components"; -const { title, description } = Astro.props; ---- - -<style> - #gif { - @apply flex gap-2; - } -</style> - -<Base title={title} description={description}> - <div class="container"> - <div class="content"> - <slot /> - </div> - <div - class="bg-base hidden min-[1280px]:flex flex-col gap-2 text-center items-center justify-center m-20 mt-0 mb-5 p-5 rounded-lg drop-shadow-2xl" - > - <div id="gif"> - <Image - src="/imgs/gifs/legalize.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="legalize now!" - /> - <Image - src="/imgs/gifs/acab.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="acab" - /> - <a href="https://github.com/sakecode"> - <!-- - Powered by NixOS © 2023 by Sake is licensed under (CC BY-NC-SA 4.0) - To view the source visit: https://github.com/sakecode/Sake-s-SVGs - To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ - --> - <Image - src="/imgs/gifs/poweredbynix.svg" - width={88} - height={31} - format="svg" - quality={90} - decoding="async" - alt="powered by fedora" - /> - </a> - <Image - src="/imgs/gifs/capitalism.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="let's crush capitalism!" - /> - </div> - <div id="gif"> - <Image - src="/imgs/gifs/anybrowser.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="best viewed with any browser" - /> - <Image - src="/imgs/gifs/weezer.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="weezer fan" - /> - <a href="https://dnsense.pub/"> - <Image - src="/imgs/gifs/steam.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="play with steam" - /> - </a> - <Image - src="/imgs/gifs/vi.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="made with vi" - /> - <Image - src="/imgs/gifs/pride.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="pride" - /> - <Image - src="/imgs/gifs/imagine.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="imagination" - /> - </div> - <div id="gif"> - <Image - src="/imgs/gifs/moz.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="mozilla is cool" - /> - <Image - src="/imgs/gifs/free.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="completely free software" - /> - <Image - src="/imgs/gifs/gimp.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="graphics by gimp" - /> - <Image - src="/imgs/gifs/explorer.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="marijuana mind explorer" - /> - <Image - src="/imgs/gifs/jsfree.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="javascript free" - /> - <Image - src="/imgs/gifs/web3.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="keep the web free! say no to web3!" - /> - <Image - src="/imgs/gifs/tired.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="tired" - /> - <Image - src="/imgs/gifs/arnold.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="hey arnold!" - /> - <Image - src="/imgs/gifs/bob.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="powered by bob" - /> - <Image - src="/imgs/gifs/counterstrike.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="counter-strike player" - /> - <Image - src="/imgs/gifs/chris.gif" - width={88} - height={31} - format="webp" - quality={90} - loading="lazy" - decoding="async" - alt="chris troll" - id="chris_gif" - /> - </div> - </div> - </div> -</Base> diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro deleted file mode 100644 index 03569a0..0000000 --- a/src/layouts/Page.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -import Base from "@layouts/Base.astro"; -const { title, description } = Astro.props; ---- - -<Base title={title} description={description}> - <div class="container"> - <div class="content" id="blogpost"> - <slot /> - </div> - </div> -</Base> |
