diff --git a/themes/magzine/components/CategoryGroup.js b/themes/magzine/components/CategoryGroup.js
index b0592db0e61..5f2d8b681c1 100644
--- a/themes/magzine/components/CategoryGroup.js
+++ b/themes/magzine/components/CategoryGroup.js
@@ -1,5 +1,5 @@
import { useGlobal } from '@/lib/global'
-import CategoryItem from './CategoryItem'
+import Link from 'next/link'
/**
* 分类
@@ -15,15 +15,23 @@ const CategoryGroup = ({ currentCategory, categoryOptions }) => {
{locale.COMMON.CATEGORY}
- {categoryOptions?.map(category => {
+ {categoryOptions?.map((category, index) => {
const selected = currentCategory === category.name
return (
-
+
+
+ {category.name} {category?.count && `(${category?.count})`}
+
+
)
})}
diff --git a/themes/magzine/components/Footer.js b/themes/magzine/components/Footer.js
index c4e73f6145d..9ec3582127f 100644
--- a/themes/magzine/components/Footer.js
+++ b/themes/magzine/components/Footer.js
@@ -44,7 +44,7 @@ const Footer = ({ title }) => {
{/* 右侧链接区块 */}
-
+
{MAGZINE_FOOTER_LINKS?.map((group, index) => {
return (
diff --git a/themes/magzine/components/MenuItemCollapse.js b/themes/magzine/components/MenuItemCollapse.js
index d792f1e4535..36659c5a56d 100644
--- a/themes/magzine/components/MenuItemCollapse.js
+++ b/themes/magzine/components/MenuItemCollapse.js
@@ -38,7 +38,7 @@ export const MenuItemCollapse = props => {
(selected
? 'bg-gray-600 text-white hover:text-white'
: 'hover:text-gray-600') +
- ' px-5 w-full text-left duration-200 dark:bg-hexo-black-gray dark:border-black'
+ ' px-7 w-full text-left duration-200 dark:bg-hexo-black-gray dark:border-black'
}
onClick={toggleShow}>
{!hasSubMenu && (
@@ -77,7 +77,7 @@ export const MenuItemCollapse = props => {
diff --git a/themes/magzine/index.js b/themes/magzine/index.js
index 1f0881f7fc3..94e963607f1 100644
--- a/themes/magzine/index.js
+++ b/themes/magzine/index.js
@@ -211,7 +211,6 @@ const LayoutSlug = props => {
{/* 上一篇下一篇 */}
-
{/* 评论区 */}
@@ -241,6 +240,11 @@ const LayoutSlug = props => {
+ {/* Adsense */}
+
+
{/* 文章分类区块 */}