feat: add pinned icon for post list

This commit is contained in:
radishzzz 2025-04-02 22:31:36 +01:00
parent 5cf09194d8
commit 594172c183
9 changed files with 165 additions and 145 deletions

View file

@ -39,7 +39,7 @@ const postsByYear = await getPostsByYear(lang)
{pinnedPosts.length > 0 && (
<section class="mb-7.5">
<div class="uno-decorative-line"></div>
<PostList posts={pinnedPosts} lang={lang} />
<PostList posts={pinnedPosts} lang={lang} pinned={true} />
</section>
)}