add links (#77)

This commit is contained in:
Sijie.Sun
2024-12-20 22:01:42 +08:00
committed by GitHub
parent 2e378ee355
commit 41de88f216
11 changed files with 47 additions and 2 deletions
+7 -1
View File
@@ -55,9 +55,15 @@ export const cn = defineConfig({
],
},
],
nav: [
{ text: '进入 Web 控制台', link: 'https://easytier.cn/web' },
],
footer: {
message: '基于 Apache License 2.0 许可发布',
copyright: '版权所有 © 2024-present EasyTier',
copyright: '版权所有 © 2024-present EasyTier | '
+ '<a href="https://beian.miit.gov.cn/">'
+ '<img src="https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png" alt="ICP 备案" style="width: 16px; height: 16px; display: inline-block; margin-bottom: -4px;">'
+ '浙ICP备2024137671号-1</a>',
},
editLink: {
pattern: 'https://github.com/EasyTier/easytier.github.io/edit/main/:path',
+7 -1
View File
@@ -42,9 +42,15 @@ export const en = defineConfig({
],
},
],
nav: [
{ text: 'Enter Web Console', link: 'https://easytier.cn/web' },
],
footer: {
message: 'Released under the Apache License 2.0.',
copyright: 'Copyright © 2024-present EasyTier',
copyright: 'Copyright © 2024-present EasyTier | '
+ '<a href="https://beian.miit.gov.cn/">'
+ '<img src="https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png" alt="ICP 备案" style="width: 16px; height: 16px; display: inline-block; margin-bottom: -4px;">'
+ '浙ICP备2024137671号-1</a>',
},
editLink: {
pattern: 'https://github.com/EasyTier/easytier.github.io/main/dev/:path',
+4
View File
@@ -7,7 +7,11 @@ export default withMermaid({
title: 'EasyTier',
base: '/',
lastUpdated: true,
head: [
['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/assets/easytier.png' }],
],
themeConfig: {
logo: '/easytier.png',
search: {
provider: 'local',
options: {
+4
View File
@@ -69,4 +69,8 @@ provide('toggle-appearance', async ({ clientX: x, clientY: y }: MouseEvent) => {
.VPSwitchAppearance .check {
transform: none !important;
}
footer.VPFooter {
display: block !important;
}
</style>