diff --git a/themes/heo/components/CategoryBar.js b/themes/heo/components/CategoryBar.js index eccd9685621..baadda2fee1 100644 --- a/themes/heo/components/CategoryBar.js +++ b/themes/heo/components/CategoryBar.js @@ -32,7 +32,7 @@ export default function CategoryBar(props) { return
-
+
{categoryOptions?.map((c, index) => )}
diff --git a/themes/nav/components/LogoBar.js b/themes/nav/components/LogoBar.js index 546f3326a03..b1774dfc78d 100755 --- a/themes/nav/components/LogoBar.js +++ b/themes/nav/components/LogoBar.js @@ -15,7 +15,7 @@ export default function LogoBar(props) { {/* eslint-disable-next-line @next/next/no-img-element */} {BLOG.AUTHOR + height='44px' alt={BLOG.AUTHOR + ' - ' + BLOG.BIO} className='md:block' /> {CONFIG.SHOW_TITLE_TEXT && siteInfo?.title}
diff --git a/themes/nav/components/MenuItem.js b/themes/nav/components/MenuItem.js index a5b35916cf4..83bc7461fbd 100644 --- a/themes/nav/components/MenuItem.js +++ b/themes/nav/components/MenuItem.js @@ -36,7 +36,8 @@ export const MenuItem = ({ link }) => {
) : ( - + // link?.to + {link?.icon && }{link?.title} ) @@ -50,7 +51,7 @@ export const MenuItem = ({ link }) => { { link?.subMenus?.map((sLink, index) => (
- + {sLink.title}
diff --git a/themes/nav/components/TopNavBar.js b/themes/nav/components/TopNavBar.js index fab5463cb8a..cee758c6a2b 100755 --- a/themes/nav/components/TopNavBar.js +++ b/themes/nav/components/TopNavBar.js @@ -52,7 +52,7 @@ export default function TopNavBar(props) { return (
{/* 图标Logo */} -
+
diff --git a/themes/nav/index.js b/themes/nav/index.js index 29b67fb441c..5fc8af8c3c0 100755 --- a/themes/nav/index.js +++ b/themes/nav/index.js @@ -33,6 +33,8 @@ import Link from 'next/link' import dynamic from 'next/dynamic' import { MenuItem } from './components/MenuItem' +import LogoBar from './components/LogoBar' + const WWAds = dynamic(() => import('@/components/WWAds'), { ssr: false }) // 主题全局变量 @@ -75,7 +77,7 @@ const LayoutBase = (props) => {