2024-03-09 22:41:35 +00:00
|
|
|
---
|
|
|
|
import BaseHead from "../components/BaseHead.astro";
|
|
|
|
import Footer from "../components/Footer.astro";
|
|
|
|
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
|
|
|
import Link from "../components/Link.astro";
|
|
|
|
import FormattedDate from "../components/FormattedDate.astro";
|
|
|
|
import { getBlogs } from "../content/blog";
|
|
|
|
|
|
|
|
const posts = (await getBlogs()).sort(
|
2024-03-12 18:15:50 +00:00
|
|
|
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(),
|
2024-03-09 22:41:35 +00:00
|
|
|
);
|
|
|
|
---
|
|
|
|
|
|
|
|
<!doctype html>
|
2024-05-14 00:01:06 +01:00
|
|
|
<html lang="en" class="latte dark:mocha">
|
2024-03-09 22:41:35 +00:00
|
|
|
<head>
|
|
|
|
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
|
|
|
</head>
|
|
|
|
<body
|
2024-05-14 00:01:06 +01:00
|
|
|
class="bg-base text-text max-w-4xl m-auto p-8"
|
2024-03-09 22:41:35 +00:00
|
|
|
>
|
|
|
|
<header>
|
|
|
|
<p class="font-bold text-2xl">kennethnym</p>
|
|
|
|
</header>
|
|
|
|
<main class="py-8">
|
|
|
|
<p>dumping ground for my thoughts. all opinions are my own.</p>
|
|
|
|
<h1 class="font-bold mt-8 mb-2 text-lg visited">current projects:</h1>
|
|
|
|
<ul class="not-prose space-y-4 md:space-y-2">
|
|
|
|
<li>
|
|
|
|
<Link href="https://polygui.org">poly</Link>: a language-agnostic,
|
|
|
|
cross-platform GUI framework for building OS-native applications.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<Link href="https://polygui.org/nanopack/introduction/">nanopack</Link
|
|
|
|
>: a zero-runtime, type-safe binary serialization format.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<Link href="https://github.com/kennethnym/StarlightLauncher"
|
|
|
|
>starlight launcher</Link
|
|
|
|
>: an open-source android launcher with a search-based ui.
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<h1 class="font-bold mt-8 mb-2 text-lg visited">my thoughts:</h1>
|
|
|
|
<ul>
|
|
|
|
{
|
|
|
|
posts.map((post) => (
|
2024-05-14 00:01:06 +01:00
|
|
|
<li class="flex flex-row justify-between hover:bg-opacity-10 hover:bg-text -mx-2 px-2 rounded">
|
2024-03-09 22:41:35 +00:00
|
|
|
<Link href={`/blog/${post.slug}`}>{post.data.title}</Link>
|
|
|
|
<FormattedDate date={post.data.pubDate} />
|
|
|
|
</li>
|
|
|
|
))
|
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
</main>
|
|
|
|
<hr class="py-2" />
|
|
|
|
<Footer />
|
|
|
|
</body>
|
|
|
|
</html>
|