Initial design based off original website, some things still to do

This commit is contained in:
2025-08-08 17:48:11 +09:30
parent d38c8fc694
commit ae3c38be17
185 changed files with 6799 additions and 1877 deletions

View File

@@ -0,0 +1,28 @@
---
import type { CollectionEntry } from "astro:content";
import { render } from "astro:content";
import Link from "@components/Link.astro";
interface Props {
award: CollectionEntry<"awards">;
}
const { award } = Astro.props as Props;
const { Content } = await render(award);
---
<div>
<dl>
<dt>
<h2 class="-mb-1 pb-0 text-base font-bold">{award.data.title}</h2>
<span class="text-sm italic">
{award.data.giver} ({award.data.date.getFullYear()})
</span>
<dd class="pt-2">
<Content components={{ a: Link }} />
</dd>
</dt>
</dl>
</div>