Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何增加一个类似about得页面到导航这里呢? #38

Closed
chendi20082009 opened this issue Jan 26, 2022 · 2 comments · Fixed by #61
Closed

请问如何增加一个类似about得页面到导航这里呢? #38

chendi20082009 opened this issue Jan 26, 2022 · 2 comments · Fixed by #61
Assignees
Labels
enhancement New feature or request

Comments

@chendi20082009
Copy link

image

@tangly1024
Copy link
Owner

菜单栏组建可以在此文件修改
/theme/NEXT/components/MenuButfonGroup.js

参考格式

import { faArchive, faHome, faTag, faTh, faUser } from '@fortawesome/free-solid-svg-icons'

const links = [
    { id: 0, icon: faHome, name: locale.NAV.INDEX, to: '/' || '/', show: true },
    { 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 },
    { id: 4, icon: faUser, name: locale.NAV.ABOUT, to: '/about', show: CONFIG_NEXT.MENU_ABOUT }
  ]

@tangly1024
Copy link
Owner

tangly1024 commented Feb 28, 2022

项目已升级至V2.5.0版本, 新增功能 添加单页
需要更新至最新版本使用~
https://github.com/tangly1024/NotionNext/releases/tag/v2.5.0

@tangly1024 tangly1024 linked a pull request Feb 28, 2022 that will close this issue
@tangly1024 tangly1024 added the enhancement New feature or request label Feb 28, 2022
@tangly1024 tangly1024 self-assigned this Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants