Skip to content

Commit

Permalink
add Forum addr
Browse files Browse the repository at this point in the history
  • Loading branch information
sxmxta committed Oct 3, 2024
1 parent d9daa42 commit f20f505
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .vitepress/config/nav/nav_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ export function navEN(): DefaultTheme.NavItem[] {
},
]
},
{text: "Forum", link: "https://forum.yanghy.cn"},
{
text: "Download", link: "https://sourceforge.net/projects/liblcl/files/",
items:[
{
text: "CLI",
link: "https://sourceforge.net/projects/energye/files/cli/",
},
{
text: "CEF & LCL",
link: "https://sourceforge.net/projects/liblcl/files/",
},
],
},
{
text: "About",
items: [
Expand Down Expand Up @@ -65,6 +79,5 @@ export function navEN(): DefaultTheme.NavItem[] {
],
activeMatch: "/en/about",
},
{text: "Download", link: "https://sourceforge.net/projects/liblcl/files/"},
]
}
15 changes: 14 additions & 1 deletion .vitepress/config/nav/nav_zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ export function navZH(): DefaultTheme.NavItem[] {
},
]
},
{text: "论坛", link: "https://forum.yanghy.cn"},
{
text: "下载",
items:[
{
text: "CLI",
link: "https://sourceforge.net/projects/energye/files/cli/",
},
{
text: "CEF & LCL",
link: "https://sourceforge.net/projects/liblcl/files/",
},
],
},
{
text: "关于",
items: [
Expand Down Expand Up @@ -65,6 +79,5 @@ export function navZH(): DefaultTheme.NavItem[] {
],
activeMatch: "/about",
},
{text: "下载", link: "https://sourceforge.net/projects/liblcl/files/"},
]
}
1 change: 1 addition & 0 deletions .vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function footer() {
footerMessage = `<a href="https://beian.miit.gov.cn" target="_blank" data-v-62fb13f4="">京ICP备2022011663号-1</a><br>`
}
footerMessage += '<span style="color: #2ba9f1;">GO<br>ENERGY</span>'
// footerMessage += '<br><a href="https://forum.yanghy.cn" target="_blank">Forum</a>'
return {
message: footerMessage,
copyright: `Copyright © 2022-${new Date().getFullYear()} YangHY`,
Expand Down

0 comments on commit f20f505

Please sign in to comment.