diff options
| author | seth <[email protected]> | 2024-10-09 10:59:13 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-09 10:59:13 -0400 |
| commit | d17bca56238e9ca326d60e58230d0d354f23bfe8 (patch) | |
| tree | 12aee4c37a1490914e6307ce1b0023be2df93105 /src/pages | |
| parent | 7d6495399d5e1ba429a339de1c3a00f121e89305 (diff) | |
back to astro for hopefully the last time (#146)
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/404.md | 9 | ||||
| -rw-r--r-- | src/pages/about-me.md | 22 | ||||
| -rw-r--r-- | src/pages/contact.md | 11 | ||||
| -rw-r--r-- | src/pages/index.astro | 21 | ||||
| -rw-r--r-- | src/pages/robots.txt.ts | 13 |
5 files changed, 76 insertions, 0 deletions
diff --git a/src/pages/404.md b/src/pages/404.md new file mode 100644 index 0000000..310f29e --- /dev/null +++ b/src/pages/404.md @@ -0,0 +1,9 @@ +--- +layout: ../layouts/Base.astro +title: 404! +description: Page not found +--- + +# 404! + + diff --git a/src/pages/about-me.md b/src/pages/about-me.md new file mode 100644 index 0000000..d34c6df --- /dev/null +++ b/src/pages/about-me.md @@ -0,0 +1,22 @@ +--- +layout: ../layouts/Base.astro +title: About me +description: Information about Getchoo +--- + +# About Me + +I am a 19 year old software developer (when I have the time) based in Florida. +Most commonly, I am contributing to the +[FOSS](https://en.wikipedia.org/wiki/Free_and_open-source_software) community +-- specifically for projects like [NixOS and nixpkgs](https://nixos.org), +[Prism Launcher](https://prismlauncher.org), and whatever else I find fun +and/or personally use. + +Some technologies I play around with the most include the aforementioned +[Nix](https://nix.dev), [GitHub Actions](https://docs.github.com/en/actions), +[Bash](https://www.gnu.org/software/bash/) (usually in slightly horrifying +ways), [Deno](https://deno.com/), [Cloudflare +Workers](https://workers.cloudflare.com/), [Rust](https://rust-lang.org/), +[FastAPI](https://www.python.org/), and [Astro](https://astro.build) (which +this site is made with!) diff --git a/src/pages/contact.md b/src/pages/contact.md new file mode 100644 index 0000000..28f90a4 --- /dev/null +++ b/src/pages/contact.md @@ -0,0 +1,11 @@ +--- +layout: ../layouts/Base.astro +title: Contact Me +description: My contact information +--- + +# Contact + +The most reliable way to contact me is via email at `getchoo at tuta dot io` + +I am also available on Matrix as `getchoo:matrix.org` and Discord as `g3tchoo` diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..a17dcbe --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,21 @@ +--- +import { Image } from "astro:assets"; + +import Base from "@layouts/Base.astro"; +import GifButtons from "@components/GifButtons.astro"; +import obras from "@assets/obras.gif"; +--- + +<Base description="My home page"> + <a hidden rel="me" href="https://wetdry.world/@getchoo"> + My Mastodon account + </a> + + <h1>Getchoo's website 🚀</h1> + + <p>Constantly under construction since 2021!</p> + + <Image src={obras} alt="Under construction" /> + + <GifButtons /> +</Base> diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts new file mode 100644 index 0000000..f36bf2b --- /dev/null +++ b/src/pages/robots.txt.ts @@ -0,0 +1,13 @@ +import type { APIRoute } from "astro"; + +const getRobotsTxt = (sitemapUrl: URL) => ` +User-agent: * +Allow: / + +Sitemap: ${sitemapUrl.href} +`; + +export const GET: APIRoute = ({ site }) => { + const sitemapUrl = new URL(`sitemap-index.xml`, site); + return new Response(getRobotsTxt(sitemapUrl)); +}; |
