diff --git a/themes/heo/components/Announcement.js b/themes/heo/components/Announcement.js
index 6c3feb2a42b..04955554bbc 100644
--- a/themes/heo/components/Announcement.js
+++ b/themes/heo/components/Announcement.js
@@ -4,13 +4,15 @@ const NotionPage = dynamic(() => import('@/components/NotionPage'))
const Announcement = ({ post, className }) => {
if (post?.blockMap) {
- return
- {post && (
-
-
-
- )}
-
+ return (
+
+ {post && (
+
+
+
+ )}
+
+ )
} else {
return <>>
}
diff --git a/themes/heo/components/CategoryBar.js b/themes/heo/components/CategoryBar.js
index 9879d8a78cd..d5548f9d913 100644
--- a/themes/heo/components/CategoryBar.js
+++ b/themes/heo/components/CategoryBar.js
@@ -32,8 +32,8 @@ export default function CategoryBar(props) {
return (
+ className={`wow fadeInUp flex flex-nowrap justify-between items-center h-12 mb-4 space-x-2 w-full lg:bg-white dark:lg:bg-[#1e1e1e]
+ ${border ? 'lg:border lg:hover:border dark:lg:border-gray-800 hover:border-indigo-600 dark:hover:border-yellow-600 ' : ''} py-2 lg:px-2 rounded-xl transition-colors duration-200`}>
+
{/* 信息卡牌第一行 */}
{/* 问候语 */}
+ {/* 头像 */}
{siteConfig('AUTHOR')}
{/* 公告栏 */}
-
+
diff --git a/themes/heo/components/SideRight.js b/themes/heo/components/SideRight.js
index c4dbffd7943..464e2081068 100644
--- a/themes/heo/components/SideRight.js
+++ b/themes/heo/components/SideRight.js
@@ -34,23 +34,25 @@ export default function SideRight(props) {
return (
-
+
{/* 文章页显示目录 */}
{post && post.toc && post.toc.length > 0 && (
-
+
)}
{/* 联系交流群 */}
-
+
+
+
{/* 最新文章列表 */}
diff --git a/themes/heo/components/TouchMeCard.js b/themes/heo/components/TouchMeCard.js
index 2388a9a56f5..42129ae0fe4 100644
--- a/themes/heo/components/TouchMeCard.js
+++ b/themes/heo/components/TouchMeCard.js
@@ -1,8 +1,7 @@
-
import FlipCard from '@/components/FlipCard'
+import { siteConfig } from '@/lib/config'
import Link from 'next/link'
import CONFIG from '../config'
-import { siteConfig } from '@/lib/config'
/**
* 交流频道
@@ -13,23 +12,33 @@ export default function TouchMeCard() {
return <>>
}
return (
-
-
-
- {siteConfig('HEO_SOCIAL_CARD_TITLE_1', null, CONFIG)}
- {siteConfig('HEO_SOCIAL_CARD_TITLE_2', null, CONFIG)}
-
- }
- backContent={
-
- {siteConfig('HEO_SOCIAL_CARD_TITLE_3', null, CONFIG)}
-
- }
- />
-
-
+
+
+
+ {siteConfig('HEO_SOCIAL_CARD_TITLE_1', null, CONFIG)}
+
+
+ {siteConfig('HEO_SOCIAL_CARD_TITLE_2', null, CONFIG)}
+
+
+
+ }
+ backContent={
+
+
+ {siteConfig('HEO_SOCIAL_CARD_TITLE_3', null, CONFIG)}
+
+
+ }
+ />
+
)
}