docs: 更新文档首页导航按钮和修复导入路径

- 将首页的“快速开始”按钮文本改为“开始使用”
- 移除“API 文档”导航按钮以简化首页布局
- 修复管理后台中 package.json 的导入路径错误
This commit is contained in:
anghunk
2026-01-31 12:27:06 +08:00
parent d060cf20da
commit 6cb69cbd67
2 changed files with 2 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ import { ref, onMounted, watch, provide, computed } from "vue";
import { useRouter, useRoute } from "vue-router";
import { logoutAdmin, fetchDomainList } from "../../api/admin";
import { useTheme } from "../../composables/useTheme";
import packageJson from "../../../../package.json";
import packageJson from "../../../package.json";
const DOMAIN_STORAGE_KEY = "cwd_admin_domain_filter";
const API_BASE_URL_KEY = "cwd_admin_api_base_url";

View File

@@ -9,11 +9,8 @@ hero:
alt: 文档封面
actions:
- theme: brand
text: 快速开始
text: 开始使用
link: /guide/getting-started
- theme: alt
text: API 文档
link: /api/overview
- theme: alt
text: Github
link: https://github.com/anghunk/cwd