slight tweaks

This commit is contained in:
2025-11-18 11:40:48 +13:00
parent 1e9489bb14
commit 3918171086

View File

@@ -6,13 +6,13 @@ const pb = await authPB()
const { p } = Astro.props
---
<div class="mb-8 flex flex-col md:flex-row gap-4 md:gap-3">
<div class="mb-8 pb-4 md:pb-8 border-b border-gray-200 last:border-b-0 flex flex-col md:flex-row gap-4 md:gap-3">
<!-- Text content on left -->
<div class="flex-1 flex flex-col justify-start order-2 md:order-1">
<time datetime={p.publishDate} class="text-sm text-gray-500">{getFormattedDate(p.publishDate)}</time>
<a href={`/posts/${p.slug}/`} rel="prefetch" class="no-underline hover:underline">
<h2 class="text-2xl font-bold ">{p.title}</h2>
<h2 class="text-xl font-bold ">{p.title}</h2>
</a>
{
p.description !== "" &&