diff --git a/CHANGELOG.md b/CHANGELOG.md index 481aa4b..3dcb38d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -316,3 +316,7 @@ - 修改了卡片样式 - 修改了链接样式 - 清理了原评论系统中不必要的代码 + +### Fix + +- 修复了部分手机导航栏无法跳转的问题 diff --git a/src/components/CategoryCard.astro b/src/components/CategoryCard.astro index 6f55b74..f7ac3b4 100644 --- a/src/components/CategoryCard.astro +++ b/src/components/CategoryCard.astro @@ -24,21 +24,22 @@ export async function getTagsWithCounts(): Promise { const tagsWithCounts = await getTagsWithCounts(); --- -
-
- {infoTest.categoryCard} +
+
+
+ {infoTest.categoryCard} +
+
+
+ { + tagsWithCounts.map(({ category, count }) => ( + + + {category} +
{count}
+
+
+ )) + }
- { - tagsWithCounts.map(({ category, count }) => ( - - - {category} -
{count}
-
-
- )) - }
- diff --git a/src/components/TagCard.astro b/src/components/TagCard.astro index 6edbd9c..a20c744 100644 --- a/src/components/TagCard.astro +++ b/src/components/TagCard.astro @@ -24,20 +24,22 @@ export async function getTagsWithCounts(): Promise { const tagsWithCounts = await getTagsWithCounts(); --- -
-
- {infoTest.tagCard} +
+
+
+ {infoTest.tagCard} +
+
+
+ { + tagsWithCounts.map(({ tag, count }) => ( + + + {tag} +
{count}
+
+
+ )) + }
- { - tagsWithCounts.map(({ tag, count }) => ( - - - {tag} -
{count}
-
-
- )) - }