diff --git a/components/TopNav.js b/components/TopNav.js index db4ceee6..2dcdb6a1 100644 --- a/components/TopNav.js +++ b/components/TopNav.js @@ -4,6 +4,7 @@ import SideBarDrawer from '@/components/SideBarDrawer' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faBars } from '@fortawesome/free-solid-svg-icons' import BLOG from '@/blog.config' +import Link from 'next/link' const TopNav = ({ tags, currentTag, post, posts, currentSearch, categories, currentCategory }) => { const drawer = useRef() @@ -26,7 +27,11 @@ const TopNav = ({ tags, currentTag, post, posts, currentSearch, categories, curr {/* 中间搜索框 */}
- {BLOG.title} | {BLOG.description} + +
+ {BLOG.title} | {BLOG.description} +
+
{/* 右侧功能 */}