Skip to content

Commit

Permalink
docs: 更新导航菜单,添加 Hyperf 链接并调整文本格式
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Nov 27, 2024
1 parent e1903db commit f21c195
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vitepress/src/en/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {DefaultTheme} from "vitepress";
const nav:DefaultTheme.NavItem[] = [
{ text: 'Guide', link: '/zh/guide/' },
{ text: 'Documents', link: '/zh/docs/' },
{ text: 'FAQ', link: '/zh/faq/index' }
{ text: 'FAQ', link: '/zh/faq/index' },
{ text: 'Hyperf', link: 'https://hyperf.wiki/' }
]

export default nav
3 changes: 2 additions & 1 deletion .vitepress/src/zh/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {DefaultTheme} from "vitepress";
const nav:DefaultTheme.NavItem[] = [
{ text: '入门', link: '/zh_CN/guide/' },
{ text: '文档', link: '/zh_CN/docs/' },
{ text: '常见问题', link: '/zh_CN/faq/index' }
{ text: 'FAQ', link: '/zh_CN/faq/index' },
{ text: 'Hyperf', link: 'https://hyperf.wiki/' }
]

export default nav
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: home

hero:
name: "FriendsOfHyperf"
# text: "🚀 The most popular components for Hyperf."
text: "Components & Plugins"
tagline: "🚀 The most popular components for Hyperf."
actions:
- theme: brand
Expand Down

0 comments on commit f21c195

Please sign in to comment.