Skip to content

Commit c821e56

Browse files
style updates
1 parent 10ffb37 commit c821e56

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/content/blog/gatsby-image-blur.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "(Guide) Medium Style Image Blur-Up Loading with Gatsby-Image"
3+
description: An older article on progressive image enhancement.
34
pubDate: "April 2, 2021"
45
---
56

src/pages/blog/index.astro

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,17 @@ const posts = (await getCollection("blog")).sort(
2525
<!-- Blog post cards -->
2626
{
2727
posts.map((post) => (
28-
<div class="border-slate-8 bg-slate-2 rounded-lg border p-6 shadow-md">
28+
<div class="prose prose-slate border-slate-8 bg-slate-2 flex flex-col justify-between rounded-lg border p-6 shadow-md">
2929
<h2 class="mb-4 text-xl">
30-
<a
31-
href={`/blog/${post.slug}/`}
32-
class="prose-slate decoration-wavy"
33-
>
30+
<a href={`/blog/${post.slug}/`} class="no-underline">
3431
{post.data.title}
3532
</a>
3633
</h2>
37-
<p class="text-gray-6 mb-4">
38-
<FormattedDate date={post.data.pubDate} />
39-
</p>
40-
<p class="text-gray-6 mb-4">{post.data.description}</p>
41-
<a href={`/blog/${post.slug}/`} class="">
34+
<FormattedDate date={post.data.pubDate} />
35+
<div class="">
36+
<p class="">{post.data.description}</p>
37+
</div>
38+
<a href={`/blog/${post.slug}/`} class="decoration-wavy">
4239
Read more &rarr;
4340
</a>
4441
</div>

0 commit comments

Comments
 (0)