Initial commit

This commit is contained in:
DavidOnTop 2025-05-07 23:06:37 +02:00
commit ce6b494242
Signed by: DavidOnTop
GPG key ID: 8D3E9A75E3E13D89
21 changed files with 4858 additions and 0 deletions

15
src/pages/404.astro Normal file
View file

@ -0,0 +1,15 @@
---
import Layout from "../layouts/Layout.astro";
---
<Layout>
<div
class="fixed inset-x-0 inset-y-0 mx-auto my-auto flex flex-wrap flex-col justify-center items-center"
>
<h1 class="text-6xl font-bold text-center">404 Not Found</h1>
<p class="text-xl text-center">
Whatever you're looking for isn't here or isn't done yet.<br /> Unless
you were looking for this message.
</p>
</div>
</Layout>

135
src/pages/about.astro Normal file
View file

@ -0,0 +1,135 @@
---
import Layout from "../layouts/Layout.astro";
import Text from "../components/Text.astro";
import Heading from "../components/Heading.astro";
---
<Layout>
<Text class="mt-12 pt-12">
<Heading>About me</Heading>
My name is David. I live in Middle Europe. I am 20 years old. I like programming,
gaming, maths, and the number pi (I know 32 decimal digits of pi.). I was
a working student at <a
class="text-accent underline"
href="https://softwareag.com">Software<sup>AG</sup></a
>. I worked there for a year. I quit to focus on school. I have been
using Linux since around 2017/2018. I have been a hobby developer since
around 2018/2019.
<br /><br />
Programing languages i know relativly well:
<ul class="pl-10">
<li
class="tooltip tooltip-right"
data-tip="My favourite language right now"
>
● F#
</li><br />
<li
class="tooltip tooltip-right"
data-tip="Complexity, foundation drama, realization that i don't need the performance and mainly compile times made me go to f#."
>
● Rust
</li><br />
<li
class="tooltip tooltip-right"
data-tip="Functional, jvm ecosystem, MACROS, powerfull language features. What more could you ask for"
>
● Scala
</li><br />
<li class="tooltip tooltip-right" data-tip="Please no.">
● TypeScript/JavaScript
</li><br />
<li class="tooltip tooltip-right" data-tip="Minecraft modding.">
● Java
</li><br />
<li
class="tooltip tooltip-right"
data-tip="Better then java with many functional features."
>
● Kotlin
</li><br />
</ul><br />
Programing languages i have used in the past or ones that i know a fair bit:
<ul class="pl-10">
<li class="tooltip tooltip-right" data-tip="Linux shell.">
● Zsh/Bash
</li><br />
<li
class="tooltip tooltip-right"
data-tip="Too complex. What the fuck is a virtual constructor."
>
● C++
</li><br />
<li
class="tooltip tooltip-right"
data-tip="Java with better ecosystem and tooling. (Aspecialy if your on windows which im not.)"
>
● C#
</li><br />
<li
class="tooltip tooltip-right"
data-tip="I don't need a language thats just for servers. Almost every language has ok server libraries."
>
● Go
</li><br />
<li class="tooltip tooltip-right" data-tip="Neovim config.">
● Lua
</li><br />
<li
class="tooltip tooltip-right"
data-tip="The best language there is imo. Just shitty ecosystem and tooling."
>
● Nim
</li><br />
<li
class="tooltip tooltip-right"
data-tip="C replacement. I just wish it could interop with c++ as seamlesly as with c."
>
● Zig
</li><br />
<li
class="tooltip tooltip-right"
data-tip="The first programing language i learned."
>
● Python
</li><br />
</ul><br />
<p class="text-sm">
You can hover over a language to see my opinion of it/why i use it.
</p>
<br /><br />
<p
class="tooltip tooltip-right"
data-tip="if creating a project i default to thease"
>
Favourite libraries and technologies:
</p>
<ul class="pl-10">
<li
class="tooltip tooltip-right"
data-tip="Default db, i'm running my own redundunt cluster"
>
● Postgres
</li><br />
<li class="tooltip tooltip-right" data-tip="Queues for days">
● Rabbitmq
</li><br />
<li
class="tooltip tooltip-right"
data-tip="I'm not touching react if i don't have to"
>
● Solidjs
</li><br />
<li class="tooltip tooltip-right" data-tip="s3">● Minio</li><br />
<li
class="tooltip tooltip-right"
data-tip="The things that you can do with the flows, policies and property mappings are insane."
>
● Authentik
</li><br />
</ul>
<br /><br />
</Text>
</Layout>

78
src/pages/index.astro Normal file
View file

@ -0,0 +1,78 @@
---
import Layout from "../layouts/Layout.astro";
---
<Layout>
<div
class="fixed inset-x-0 inset-y-0 mx-auto my-auto flex justify-center items-center"
>
<div>
<p class="text-2xl font-bold">&nbsp&nbspHello there, I'm David.</p>
<div class="flex justify-around items-center text-4xl pr-3">
<a
href="mailto:me@davidon.top"
class="p-3 tooltip tooltip-bottom"
data-tip="me@davidon.top"
><img src="/mail.svg" class="h-8" /></a
>
<a
href="https://l.davidon.top/pubkey"
class="p-3 tooltip tooltip-bottom"
data-tip="GPG pubkey"
><img src="/gnupg.png" class="h-8" /></a
>
<a
id="discord-btn"
class="p-3 tooltip tooltip-bottom"
data-tip="davidon_top"
><img src="/discord.png" class="h-8" /></a
>
<a
href="https://git.davidon.top"
class="p-3 tooltip tooltip-bottom"
data-tip="Personal forgejo instance"
><img src="/forgejo.svg" class="h-8" /></a
>
<a
href="https://github.com/davidon-top"
class="p-3 tooltip tooltip-bottom"
data-tip="Github"><img src="/github.svg" class="h-8" /></a
>
</div>
</div>
</div>
<dialog id="discord-modal" class="modal">
<div class="modal-box">
<form method="dialog">
<button class="btn btn-circle btn-ghost absolute right-2 top-2"
>X</button
>
</form>
<input
readonly
id="discord-inp"
type="text"
value="davidon_top"
class="input"
/>
</div>
</dialog>
</Layout>
<script>
function discordOnClick() {
const modal: any = document.getElementById("discord-modal");
modal.showModal();
let inp: any = document.getElementById("discord-inp")!;
inp.focus();
inp.select();
document.execCommand("copy");
}
document.onload = function () {
document.getElementById("discord-btn").onclick = discordOnClick;
};
document.addEventListener("astro:page-load", function () {
document.getElementById("discord-btn").onclick = discordOnClick;
});
</script>