fix: improve Tag component by making it entire component clickable (#598)

Update Tag component structure/styles and make the entire
component clickable
This commit is contained in:
Sat Naing
2026-01-04 20:43:46 +07:00
committed by GitHub
parent 312d1c3eed
commit f5f863f9d2
3 changed files with 19 additions and 20 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ let tags = getUniqueTags(posts);
<Layout title={`Tags | ${SITE.title}`}>
<Header />
<Main pageTitle="Tags" pageDesc="All the tags used in posts.">
<ul>
{tags.map(({ tag, tagName }) => <Tag {tag} {tagName} size="lg" />)}
<ul class="flex flex-wrap gap-6">
{tags.map(({ tag, tagName }) => <Tag {tag} {tagName} />)}
</ul>
</Main>
<Footer />