slight tweaks
This commit is contained in:
@@ -6,13 +6,13 @@ const pb = await authPB()
|
|||||||
const { p } = Astro.props
|
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 -->
|
<!-- Text content on left -->
|
||||||
<div class="flex-1 flex flex-col justify-start order-2 md:order-1">
|
<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>
|
<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">
|
<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>
|
</a>
|
||||||
{
|
{
|
||||||
p.description !== "" &&
|
p.description !== "" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user