feat: separate footer color & font to meet accessibility guidelines

This commit is contained in:
grassblock 2025-05-19 11:31:45 +08:00
parent c7b86e53ae
commit 44186453a4
4 changed files with 13 additions and 10 deletions

View file

@ -17,7 +17,7 @@ posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDat
<div style="margin-top: 1rem; margin-left: 1rem;">
{posts.map((post) => (
<p>
<span style="color: #4c566a">{new Date(post.data.pubDate).toISOString().split('T')[0]}</span>
<span style="color: #d8d8d8">{new Date(post.data.pubDate).toISOString().split('T')[0]}</span>
<a href={`/post/${post.slug}`}>{post.data.title}</a>
</p>
))}