mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
菜单调整
This commit is contained in:
@@ -12,7 +12,7 @@ const MenuButtonGroup = ({ postCount }) => {
|
||||
const archiveSlot = <div className='bg-gray-300 dark:bg-gray-500 rounded-md text-gray-50 px-1 text-xs'>{postCount}</div>
|
||||
|
||||
const links = [
|
||||
{ id: 0, icon: faHome, name: locale.NAV.INDEX, to: '/' || '/', show: true },
|
||||
{ id: 0, icon: faHome, name: locale.NAV.INDEX, to: '/' || '/', show: CONFIG_NEXT.MENU_HOME },
|
||||
{ id: 1, icon: faTh, name: locale.COMMON.CATEGORY, to: '/category', show: CONFIG_NEXT.MENU_CATEGORY },
|
||||
{ id: 2, icon: faTag, name: locale.COMMON.TAGS, to: '/tag', show: CONFIG_NEXT.MENU_TAG },
|
||||
{ id: 3, icon: faArchive, name: locale.NAV.ARCHIVE, to: '/archive', slot: archiveSlot, show: CONFIG_NEXT.MENU_ARCHIVE },
|
||||
|
||||
@@ -19,10 +19,11 @@ const CONFIG_NEXT = {
|
||||
RIGHT_AD: false, // 右侧广告
|
||||
|
||||
// 菜单
|
||||
MENU_ABOUT: false, // 显示关于
|
||||
MENU_HOME: true, // 显示首页
|
||||
MENU_CATEGORY: true, // 显示分类
|
||||
MENU_TAG: true, // 显示标签
|
||||
MENU_ARCHIVE: true, // 显示归档
|
||||
MENU_ABOUT: false, // 显示关于
|
||||
MENU_SEARCH: true, // 显示搜索
|
||||
|
||||
// 悬浮挂件
|
||||
|
||||
Reference in New Issue
Block a user