---
import Button from "@components/Button.astro";
import Window from "@components/Window.astro";

import ForgejoIcon from "@assets/svg/forgejo.svg";
import GithubIcon from "@assets/svg/github.svg";
---

<Window
	title="Code"
	maxWidth="400px"
	showClose={true}
	hideByDefault={true}
	customClass="code-window"
	offset="55px"
>
	As mentioned in the main page, I write code. Some used by a lot, some not as
	much. You can find it below.
	<Button name="GitHub" url="https://gh.nin0.dev/">
		<GithubIcon slot="icon" />
		Here, you'll find most of my external contributions. I rarely start personal
		projects on GitHub.
	</Button>
	<Button name="Forgejo" url="https://git.nin0.dev/nin0">
		<ForgejoIcon slot="icon" />
		Some more personal/niche projects can be found on my own instance (git.nin0.dev),
		which will probably be down.
	</Button>
</Window>
