File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11---
22title : " (Guide) Medium Style Image Blur-Up Loading with Gatsby-Image"
3+ description : An older article on progressive image enhancement.
34pubDate : " April 2, 2021"
45---
56
Original file line number Diff line number Diff 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 →
4340 </a >
4441 </div >
You can’t perform that action at this time.
0 commit comments