Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
laizuan committed Oct 30, 2023
1 parent 2789720 commit b6533d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/configs/menus/link.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const createLinkNav = () => {
return [{ text: '在线工具', link: 'http://tools.seedltd.cn' }]
}
9 changes: 2 additions & 7 deletions docs/.vitepress/configs/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { createWebNav } from './menus/web'
import { createJavaNav } from './menus/java'
import { createArticleNav } from './menus/aritcle'
import { createGitNav } from './menus/git'
import { createLinkNav } from './menus/link'

module.exports = [
createJavaNav(),
createWebNav(),
createArticleNav(),
createGitNav(),
{ text: '在线工具', link: '//tools.seedltd.cn' }
]
module.exports = [createJavaNav(), createWebNav(), createArticleNav(), createGitNav(), ...createLinkNav()]
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hero:
link: /java/dependencys/basic-core
- theme: alt
text: 在线工具 →
link: //tools.seedltd.cn/
link: http://tools.seedltd.cn/

features:
- title: 💡 VUE 组件
Expand Down

0 comments on commit b6533d2

Please sign in to comment.