Some more blog styling

This commit is contained in:
SkyfallWasTaken 2024-07-07 20:51:00 +01:00
parent f554e37acf
commit 7153888b9d

View file

@ -20,7 +20,7 @@ const posts = (await getCollection("blog")).sort(
<Header />
<main>
<section>
<ul class="container grid grid-cols-3 gap-6 m-4 text-text">
<ul class="container grid grid-cols-3 gap-6 m-4 mb-6 text-text">
{
posts.map((post) => (
<li>
@ -33,6 +33,7 @@ const posts = (await getCollection("blog")).sort(
alt=""
/>
<h4 class="text-2xl font-bold">{post.data.title}</h4>
<p class="text-text mb-2">{post.data.description}</p>
<p>
<FormattedDate date={post.data.pubDate} />
</p>