diff --git a/app/app.config.ts b/app/app.config.ts index 67db033..e39536f 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -59,24 +59,24 @@ export default defineAppConfig({ }] }, toc: { - title: 'Table of Contents', + title: '当前页', bottom: { title: 'Community', edit: 'https://github.com/nuxt-ui-pro/docs/edit/main/content', links: [{ icon: 'i-lucide-star', - label: 'Star on GitHub', - to: 'https://github.com/nuxt/ui', + label: 'GitHub', + to: 'https://github.com/estel-li', target: '_blank' }, { - icon: 'i-lucide-book-open', - label: 'Nuxt UI Pro docs', - to: 'https://ui.nuxt.com/getting-started/installation/pro/nuxt', + icon: 'i-lucide-home', + label: '稷维科技', + to: 'https://www.xajiwei.com', target: '_blank' }, { icon: 'i-simple-icons-nuxtdotjs', - label: 'Purchase a license', - to: 'https://ui.nuxt.com/pro/purchase', + label: '个人博客', + to: 'https://lijue.me', target: '_blank' }] } diff --git a/app/components/AppSidebar.vue b/app/components/AppSidebar.vue index 3fe3f65..b18be24 100644 --- a/app/components/AppSidebar.vue +++ b/app/components/AppSidebar.vue @@ -1,6 +1,6 @@ diff --git a/app/components/ContentDirectory.vue b/app/components/ContentDirectory.vue index 7c2d26a..e8ca7a4 100644 --- a/app/components/ContentDirectory.vue +++ b/app/components/ContentDirectory.vue @@ -1,15 +1,11 @@ diff --git a/app/layouts/default.vue b/app/layouts/default.vue index 7fdbfea..1431098 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -23,7 +23,7 @@
- +
diff --git a/app/pages/[...slug].vue b/app/pages/[...slug].vue index 3f474ec..615c7f8 100644 --- a/app/pages/[...slug].vue +++ b/app/pages/[...slug].vue @@ -65,7 +65,7 @@ const links = computed(() => { if (appConfig.toc?.bottom?.edit) { links.push({ icon: 'i-lucide-external-link', - label: 'Edit this page', + label: '编辑页面', to: `${appConfig.toc.bottom.edit}/${page?.value?.stem}.${page?.value?.extension}`, target: '_blank' }) @@ -110,7 +110,7 @@ const links = computed(() => { icon="i-lucide-pen" :ui="{ leadingIcon: 'size-4' }" > - Edit this page + 编辑页面 or { icon="i-lucide-alert-circle" :ui="{ leadingIcon: 'size-4' }" > - Report an issue + 提交问题
@@ -129,11 +129,13 @@ const links = computed(() => { diff --git a/content/1.getting-started/_dir.yml b/content/1.getting-started/_dir.yml new file mode 100644 index 0000000..bb9ea2a --- /dev/null +++ b/content/1.getting-started/_dir.yml @@ -0,0 +1,3 @@ +title: Getting started +icon: lucide:rocket +navigation.redirect: /getting-started/introduction