Skip to content

Commit

Permalink
Remove unused dropdown menu options and add new dropdown menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Penggeor committed Mar 20, 2024
1 parent 3e2f1bd commit 3bd513d
Showing 1 changed file with 23 additions and 29 deletions.
52 changes: 23 additions & 29 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,28 +103,6 @@ const config: Config = {
// to: 'post',
// label: '🎇 思考',
// },
// {
// type: 'dropdown',
// label: '知识库',
// position: 'left',
// items: [
// {
// to: 'technique',
// label: '🦄 技术',
// // position: 'left',
// },
// {
// to: 'english',
// label: '🐳 英语',
// // position: 'left',
// },
// {
// to: 'read',
// label: '🦋 阅读',
// // position: 'left',
// },
// ],
// },
{
to: 'technique',
label: '🦄 技术',
Expand Down Expand Up @@ -159,17 +137,33 @@ const config: Config = {
'aria-label': 'RSS',
},
{
href: "https://wukaipeng.com/wechat",
type: 'dropdown',
label: '联系我',
position: 'right',
label: "微信",
'aria-label': 'WeChat',
target: '_self'
items: [
{
href: "https://wukaipeng.com/wechat",
label: "微信",
'aria-label': 'WeChat',
target: '_self'
},
{
label: 'Twitter',
href: 'https://twitter.com/Kail_Penggeor',
'aria-label': 'Twitter',
},
]
},
{
label: 'Twitter',
href: 'https://twitter.com/Kail_Penggeor',
type: 'dropdown',
label: '写作工具',
position: 'right',
'aria-label': 'Twitter',
items: [
{
to: 'sandwich',
label: '🥪 文章前后添加固定内容',
},
],
},
{
type: 'search',
Expand Down

0 comments on commit 3bd513d

Please sign in to comment.