From 5aa2e6c0c6e4c73d93307e9f70803237006afb28 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 20 Dec 2023 20:27:18 -0500 Subject: go back to lume --- src/404.vto | 15 ++ src/_components/footer.vto | 9 + src/_components/head.vto | 9 + src/_components/nav.vto | 13 ++ src/_includes/base.vto | 20 +++ src/_includes/index.vto | 196 +++++++++++++++++++++ src/_includes/page.vto | 9 + src/components/Footer.astro | 16 -- src/components/Head.astro | 12 -- src/components/Nav.astro | 34 ---- src/components/PostList.astro | 15 -- src/env.d.ts | 1 - src/global.sass | 54 ++++++ src/index.vto | 26 +++ src/layouts/Base.astro | 18 -- src/layouts/Blogpost.astro | 8 - src/layouts/Index.astro | 248 --------------------------- src/layouts/Page.astro | 12 -- src/lul.vto | 11 ++ src/pages/404.astro | 20 --- src/pages/blog/index.astro | 10 -- src/pages/blog/posts/nix-lib.md | 178 ------------------- src/pages/index.astro | 31 ---- src/pages/lul.astro | 13 -- src/public/favicon.ico | Bin 0 -> 15406 bytes src/public/files/rickroll.mp4 | Bin 0 -> 20247438 bytes src/public/imgs/chris/bkender_bauob.jpg | Bin 0 -> 7404 bytes src/public/imgs/chris/blurry_chris.jpg | Bin 0 -> 14954 bytes src/public/imgs/chris/chis_very_fried.jpg | Bin 0 -> 7966 bytes src/public/imgs/chris/chris_medium_fried.jpg | Bin 0 -> 7272 bytes src/public/imgs/chris/chris_moshed.jpg | Bin 0 -> 51242 bytes src/public/imgs/chris/fried_publisher.jpg | Bin 0 -> 2727 bytes src/public/imgs/chris/help_me.png | Bin 0 -> 10678 bytes src/public/imgs/chris/nice_chris.png | Bin 0 -> 157488 bytes src/public/imgs/chris/nice_publisher.png | Bin 0 -> 98501 bytes src/public/imgs/construction.png | Bin 0 -> 118352 bytes src/public/imgs/gifs/acab.gif | Bin 0 -> 8785 bytes src/public/imgs/gifs/anybrowser.gif | Bin 0 -> 1286 bytes src/public/imgs/gifs/arnold.gif | Bin 0 -> 5046 bytes src/public/imgs/gifs/bob.gif | Bin 0 -> 142993 bytes src/public/imgs/gifs/capitalism.gif | Bin 0 -> 253 bytes src/public/imgs/gifs/chris.gif | Bin 0 -> 2279 bytes src/public/imgs/gifs/counterstrike.gif | Bin 0 -> 5023 bytes src/public/imgs/gifs/explorer.gif | Bin 0 -> 10877 bytes src/public/imgs/gifs/free.gif | Bin 0 -> 622 bytes src/public/imgs/gifs/gimp.gif | Bin 0 -> 2602 bytes src/public/imgs/gifs/gnu-linux.gif | Bin 0 -> 550 bytes src/public/imgs/gifs/imagine.gif | Bin 0 -> 9865 bytes src/public/imgs/gifs/jsfree.gif | Bin 0 -> 1695 bytes src/public/imgs/gifs/kmelon.gif | Bin 0 -> 2964 bytes src/public/imgs/gifs/legalize.gif | Bin 0 -> 7182 bytes src/public/imgs/gifs/moz.gif | Bin 0 -> 2864 bytes src/public/imgs/gifs/obras.gif | Bin 0 -> 5497 bytes src/public/imgs/gifs/poweredbyfedora.gif | Bin 0 -> 2314 bytes src/public/imgs/gifs/poweredbynix.svg | 187 ++++++++++++++++++++ src/public/imgs/gifs/pride.gif | Bin 0 -> 17783 bytes src/public/imgs/gifs/steam.gif | Bin 0 -> 2750 bytes src/public/imgs/gifs/tired.gif | Bin 0 -> 899 bytes src/public/imgs/gifs/vi.gif | Bin 0 -> 761 bytes src/public/imgs/gifs/web3.gif | Bin 0 -> 483 bytes src/public/imgs/gifs/weezer.gif | Bin 0 -> 24883 bytes src/public/imgs/tapwater.png | Bin 0 -> 358758 bytes src/public/js/chrisApp.js | 30 ++++ src/scripts/chrisApp.ts | 24 --- src/styles/global.sass | 55 ------ 65 files changed, 579 insertions(+), 695 deletions(-) create mode 100644 src/404.vto create mode 100644 src/_components/footer.vto create mode 100644 src/_components/head.vto create mode 100644 src/_components/nav.vto create mode 100644 src/_includes/base.vto create mode 100644 src/_includes/index.vto create mode 100644 src/_includes/page.vto delete mode 100644 src/components/Footer.astro delete mode 100644 src/components/Head.astro delete mode 100644 src/components/Nav.astro delete mode 100644 src/components/PostList.astro delete mode 100644 src/env.d.ts create mode 100644 src/global.sass create mode 100644 src/index.vto delete mode 100644 src/layouts/Base.astro delete mode 100644 src/layouts/Blogpost.astro delete mode 100644 src/layouts/Index.astro delete mode 100644 src/layouts/Page.astro create mode 100644 src/lul.vto delete mode 100644 src/pages/404.astro delete mode 100644 src/pages/blog/index.astro delete mode 100644 src/pages/blog/posts/nix-lib.md delete mode 100644 src/pages/index.astro delete mode 100644 src/pages/lul.astro create mode 100644 src/public/favicon.ico create mode 100644 src/public/files/rickroll.mp4 create mode 100644 src/public/imgs/chris/bkender_bauob.jpg create mode 100644 src/public/imgs/chris/blurry_chris.jpg create mode 100644 src/public/imgs/chris/chis_very_fried.jpg create mode 100644 src/public/imgs/chris/chris_medium_fried.jpg create mode 100644 src/public/imgs/chris/chris_moshed.jpg create mode 100644 src/public/imgs/chris/fried_publisher.jpg create mode 100644 src/public/imgs/chris/help_me.png create mode 100644 src/public/imgs/chris/nice_chris.png create mode 100644 src/public/imgs/chris/nice_publisher.png create mode 100644 src/public/imgs/construction.png create mode 100644 src/public/imgs/gifs/acab.gif create mode 100644 src/public/imgs/gifs/anybrowser.gif create mode 100644 src/public/imgs/gifs/arnold.gif create mode 100644 src/public/imgs/gifs/bob.gif create mode 100644 src/public/imgs/gifs/capitalism.gif create mode 100644 src/public/imgs/gifs/chris.gif create mode 100644 src/public/imgs/gifs/counterstrike.gif create mode 100644 src/public/imgs/gifs/explorer.gif create mode 100644 src/public/imgs/gifs/free.gif create mode 100644 src/public/imgs/gifs/gimp.gif create mode 100644 src/public/imgs/gifs/gnu-linux.gif create mode 100644 src/public/imgs/gifs/imagine.gif create mode 100644 src/public/imgs/gifs/jsfree.gif create mode 100644 src/public/imgs/gifs/kmelon.gif create mode 100644 src/public/imgs/gifs/legalize.gif create mode 100644 src/public/imgs/gifs/moz.gif create mode 100644 src/public/imgs/gifs/obras.gif create mode 100644 src/public/imgs/gifs/poweredbyfedora.gif create mode 100644 src/public/imgs/gifs/poweredbynix.svg create mode 100644 src/public/imgs/gifs/pride.gif create mode 100644 src/public/imgs/gifs/steam.gif create mode 100644 src/public/imgs/gifs/tired.gif create mode 100644 src/public/imgs/gifs/vi.gif create mode 100644 src/public/imgs/gifs/web3.gif create mode 100644 src/public/imgs/gifs/weezer.gif create mode 100644 src/public/imgs/tapwater.png create mode 100644 src/public/js/chrisApp.js delete mode 100644 src/scripts/chrisApp.ts delete mode 100644 src/styles/global.sass (limited to 'src') diff --git a/src/404.vto b/src/404.vto new file mode 100644 index 0000000..17ccb23 --- /dev/null +++ b/src/404.vto @@ -0,0 +1,15 @@ +--- +title: "404!" +description: "404!" +layout: page.vto +--- + +

404! :(

+can i get you some tapwater? diff --git a/src/_components/footer.vto b/src/_components/footer.vto new file mode 100644 index 0000000..6c262f1 --- /dev/null +++ b/src/_components/footer.vto @@ -0,0 +1,9 @@ +
+
+ source +

commit: {{ gitCommit }}

+
+
diff --git a/src/_components/head.vto b/src/_components/head.vto new file mode 100644 index 0000000..50af97a --- /dev/null +++ b/src/_components/head.vto @@ -0,0 +1,9 @@ + + + + {{ title }} + + + + + diff --git a/src/_components/nav.vto b/src/_components/nav.vto new file mode 100644 index 0000000..f1d935a --- /dev/null +++ b/src/_components/nav.vto @@ -0,0 +1,13 @@ + diff --git a/src/_includes/base.vto b/src/_includes/base.vto new file mode 100644 index 0000000..0a74785 --- /dev/null +++ b/src/_includes/base.vto @@ -0,0 +1,20 @@ +--- +links: + - name: home + url: "/" + - name: miniflux + url: "https://miniflux.mydadleft.me" + - name: github + url: "https://github.com/getchoo" +--- + + + + {{ comp.head({ title, description })}} + + + {{ comp.nav({ links }) }} + {{ content }} + {{ comp.footer() }} + + diff --git a/src/_includes/index.vto b/src/_includes/index.vto new file mode 100644 index 0000000..4146b43 --- /dev/null +++ b/src/_includes/index.vto @@ -0,0 +1,196 @@ +--- +layout: base.vto +--- + +
+
+ {{ content }} +
+ +
diff --git a/src/_includes/page.vto b/src/_includes/page.vto new file mode 100644 index 0000000..a3493ea --- /dev/null +++ b/src/_includes/page.vto @@ -0,0 +1,9 @@ +--- +layout: base.vto +--- + +
+
+ {{ content }} +
+
diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index 0a244c0..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,16 +0,0 @@ ---- -import { execa } from "execa"; -import "@styles/global.sass"; - -const { stdout: gitCommit } = await execa("git", ["rev-parse", "HEAD"]); ---- - -
-
- source -

commit: {gitCommit}

-
-
diff --git a/src/components/Head.astro b/src/components/Head.astro deleted file mode 100644 index 0cce769..0000000 --- a/src/components/Head.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -const { title, description } = Astro.props; ---- - - - - - {title} - - - - diff --git a/src/components/Nav.astro b/src/components/Nav.astro deleted file mode 100644 index 66ac87e..0000000 --- a/src/components/Nav.astro +++ /dev/null @@ -1,34 +0,0 @@ ---- -interface Links { - home: string; - blog: string; - forgejo: string; - grafana: string; - github: string; - miniflux: string; -} - -const links: Links = { - home: "/", - blog: "/blog", - grafana: "https://grafana.mydadleft.me", - miniflux: "https://miniflux.mydadleft.me", - github: "https://github.com/getchoo", -}; ---- - - diff --git a/src/components/PostList.astro b/src/components/PostList.astro deleted file mode 100644 index a537e43..0000000 --- a/src/components/PostList.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -const posts = await Astro.glob("../pages/blog/posts/*.md"); ---- - -
- -
diff --git a/src/env.d.ts b/src/env.d.ts deleted file mode 100644 index 9231795..0000000 --- a/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/src/global.sass b/src/global.sass new file mode 100644 index 0000000..8710fed --- /dev/null +++ b/src/global.sass @@ -0,0 +1,54 @@ +@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500&display=swap') + +@tailwind base +@tailwind components +@tailwind utilities +@tailwind variants + +html + font-family: "Noto Sans", sans-serif + +h1 + @apply text-base text-2xl + +h2 + @apply text-base text-xl + +h3 + @apply text-base text-lg + +p,li + @apply text-base + + code + @apply bg-base text-text p-[0.2em] text-sm rounded + + a + @apply underline decoration-inherit + +a + @apply underline decoration-inherit + +body + @apply bg-base p-10 + +.container + @apply bg-lavender flex flex-auto flex-col items-center justify-center w-fit mx-auto rounded-lg + +.content + @apply inline-block text-center p-5 + +#blogpost + h1 + @apply bg-base text-4xl mx-auto p-5 mb-5 mt-5 text-text text-center w-fit + + h2 + @apply bg-base text-xl mx-auto p-3 mb-5 mt-5 text-text text-center w-fit + + h3 + @apply bg-base text-lg mx-auto p-1 mb-5 mt-5 text-text text-center w-fit + + @apply lg:max-w-6xl text-left items-center + +#gif + @apply flex gap-2 diff --git a/src/index.vto b/src/index.vto new file mode 100644 index 0000000..ea0c008 --- /dev/null +++ b/src/index.vto @@ -0,0 +1,26 @@ +--- +title: "guzzle guzzle" +description: "guzzle guzzle" +layout: index.vto +--- + + +

+ getchoo's website 🦕 +

+ +
+ +

this is under construction. i'm experimenting with lume

+ +construction + +hehe funny click me 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; ---- - - - - - - -