Publish partially complete changes in order to make applications

This commit is contained in:
Troy 2025-04-26 16:20:40 +01:00
parent 3698e926ea
commit 4bf6f04222
Signed by: troy
GPG key ID: DFC06C02ED3B4711
184 changed files with 753 additions and 742 deletions

View file

@ -1,6 +1,7 @@
---
import FormattedDate from "@components/FormattedDate.astro";
import type { CollectionEntry } from "astro:content";
import { Icon } from "astro-icon/components";
type Props = {
collection: CollectionEntry<"posts" | "projects">;
@ -19,10 +20,10 @@ const { collection } = Astro.props;
<h3 class="text-secondary mb-1 text-lg font-semibold text-nowrap">
{collection.data.title}
</h3>
<FormattedDate
date={collection.data.date}
className="text-tertiary block text-nowrap"
/>
<div class="text-tertiary flex items-center gap-2">
<Icon name="mdi:calendar" />
<FormattedDate date={collection.data.date} />
</div>
</div>
<p class="text-tertiary text-pretty">{collection.data.description}</p>
</article>