diff --git a/docs/docs.json b/docs-developer/docs.json
similarity index 61%
rename from docs/docs.json
rename to docs-developer/docs.json
index 6b0f5a5..4448d16 100644
--- a/docs/docs.json
+++ b/docs-developer/docs.json
@@ -1,6 +1,6 @@
{
"$schema": "https://mintlify.com/docs.json",
- "name": "AI 视频助手",
+ "name": "AI 视频助手 · 开发者文档",
"theme": "mint",
"colors": {
"primary": "#1b2741",
@@ -43,28 +43,10 @@
}
},
"navigation": {
- "tabs": [
+ "groups": [
{
- "tab": "首页",
- "pages": ["index"]
- },
- {
- "tab": "用户文档",
- "groups": [
- {
- "group": "产品",
- "pages": ["user/overview", "user/features"]
- }
- ]
- },
- {
- "tab": "开发者文档",
- "groups": [
- {
- "group": "开始与对接",
- "pages": ["developer/quickstart", "developer/integrations"]
- }
- ]
+ "group": "开始与对接",
+ "pages": ["index", "integrations"]
}
]
}
diff --git a/docs/developer/quickstart.mdx b/docs-developer/index.mdx
similarity index 100%
rename from docs/developer/quickstart.mdx
rename to docs-developer/index.mdx
diff --git a/docs/developer/integrations.mdx b/docs-developer/integrations.mdx
similarity index 100%
rename from docs/developer/integrations.mdx
rename to docs-developer/integrations.mdx
diff --git a/docs/logo-dark.svg b/docs-developer/logo-dark.svg
similarity index 100%
rename from docs/logo-dark.svg
rename to docs-developer/logo-dark.svg
diff --git a/docs/logo-light.svg b/docs-developer/logo-light.svg
similarity index 100%
rename from docs/logo-light.svg
rename to docs-developer/logo-light.svg
diff --git a/docs-user/docs.json b/docs-user/docs.json
new file mode 100644
index 0000000..4f1082f
--- /dev/null
+++ b/docs-user/docs.json
@@ -0,0 +1,53 @@
+{
+ "$schema": "https://mintlify.com/docs.json",
+ "name": "AI 视频助手 · 用户文档",
+ "theme": "mint",
+ "colors": {
+ "primary": "#1b2741",
+ "light": "#3a4a6b",
+ "dark": "#0c1426"
+ },
+ "logo": {
+ "light": "/logo-light.svg",
+ "dark": "/logo-dark.svg",
+ "href": "/"
+ },
+ "appearance": {
+ "default": "dark"
+ },
+ "fonts": {
+ "family": "Inter",
+ "weight": 400,
+ "heading": {
+ "family": "Cormorant Garamond",
+ "weight": 300
+ }
+ },
+ "icons": {
+ "library": "lucide"
+ },
+ "background": {
+ "decoration": "gradient",
+ "color": {
+ "light": "#f3f5fb",
+ "dark": "#070b16"
+ }
+ },
+ "styling": {
+ "eyebrows": "breadcrumbs",
+ "codeblocks": {
+ "theme": {
+ "light": "github-light",
+ "dark": "github-dark"
+ }
+ }
+ },
+ "navigation": {
+ "groups": [
+ {
+ "group": "产品",
+ "pages": ["index", "features"]
+ }
+ ]
+ }
+}
diff --git a/docs/user/features.mdx b/docs-user/features.mdx
similarity index 100%
rename from docs/user/features.mdx
rename to docs-user/features.mdx
diff --git a/docs/user/overview.mdx b/docs-user/index.mdx
similarity index 78%
rename from docs/user/overview.mdx
rename to docs-user/index.mdx
index c7d4207..3e6ab0b 100644
--- a/docs/user/overview.mdx
+++ b/docs-user/index.mdx
@@ -18,5 +18,5 @@ icon: video
## 下一步
-- [核心功能](/user/features):了解助手类型、模型、知识库与工具。
-- 本地启动与对接细节见 [开发者文档](/developer/quickstart)。
+- [核心功能](/features):了解助手类型、模型、知识库与工具。
+- 本地启动与对接见仓库中的 `docs-developer/`(独立开发者文档站点)。
diff --git a/docs-user/logo-dark.svg b/docs-user/logo-dark.svg
new file mode 100644
index 0000000..e7ec66d
--- /dev/null
+++ b/docs-user/logo-dark.svg
@@ -0,0 +1,18 @@
+
diff --git a/docs-user/logo-light.svg b/docs-user/logo-light.svg
new file mode 100644
index 0000000..a75e7d0
--- /dev/null
+++ b/docs-user/logo-light.svg
@@ -0,0 +1,18 @@
+
diff --git a/docs/index.mdx b/docs/index.mdx
deleted file mode 100644
index e340b03..0000000
--- a/docs/index.mdx
+++ /dev/null
@@ -1,18 +0,0 @@
----
-title: 文档首页
-description: 按读者区分的用户文档与开发者文档入口。
-icon: book-open
----
-
-# 文档首页
-
-本站点按读者分成两套文档:
-
-
-
- 产品能力与配置关系,适合运营与配置人员。
-
-
- 本地启动、模型对接与语音通道,适合开发与集成。
-
-
diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx
index bada330..9f86ef8 100644
--- a/frontend/src/components/layout/Sidebar.tsx
+++ b/frontend/src/components/layout/Sidebar.tsx
@@ -16,6 +16,7 @@ import {
Home,
LogOut,
PlayCircle,
+ User,
Video,
} from "lucide-react";
import { useAuth } from "@/components/auth/AuthProvider";
@@ -279,6 +280,13 @@ export function Sidebar({ collapsed, onToggle }: SidebarProps) {
消息提示
+ router.push("/profile")}
+ >
+
+ 个人中心
+