mirror of
https://github.com/SkyfallWasTaken/skyfalldev.git
synced 2025-01-31 19:33:38 +00:00
Some more blog styling
This commit is contained in:
parent
f554e37acf
commit
7153888b9d
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ const posts = (await getCollection("blog")).sort(
|
||||||
<Header />
|
<Header />
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<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) => (
|
posts.map((post) => (
|
||||||
<li>
|
<li>
|
||||||
|
@ -33,6 +33,7 @@ const posts = (await getCollection("blog")).sort(
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
<h4 class="text-2xl font-bold">{post.data.title}</h4>
|
<h4 class="text-2xl font-bold">{post.data.title}</h4>
|
||||||
|
<p class="text-text mb-2">{post.data.description}</p>
|
||||||
<p>
|
<p>
|
||||||
<FormattedDate date={post.data.pubDate} />
|
<FormattedDate date={post.data.pubDate} />
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue