diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index c715cae..2aef869 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -573,6 +573,14 @@ export default defineConfig({ text: '一、计算机是怎么回事', collapsed: false, items: [ + { + text: 'Vibe Coding 时代下的全栈开发', + link: '/zh-cn/appendix/1-computer-fundamentals/vibe-coding-fullstack' + }, + { + text: '从按下电源到访问网站发生了什么', + link: '/zh-cn/appendix/1-computer-fundamentals/power-on-to-web' + }, { text: '从晶体管到 CPU', link: '/zh-cn/appendix/1-computer-fundamentals/transistor-to-cpu' diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 0982dd8..26b3f3c 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -466,7 +466,7 @@ watch(sidebarCollapsed, (collapsed) => { font-size: 18px; font-weight: 500; white-space: pre-wrap; - color: #000000; + color: var(--vp-c-text-2); min-height: 28px; display: flex; /* 居中对齐 */ @@ -488,7 +488,7 @@ watch(sidebarCollapsed, (collapsed) => { margin-right: auto; } .VPHomeHero .text { - color: #000000 !important; + color: var(--vp-c-text-1) !important; } .VPHomeHero .actions { justify-content: center; diff --git a/docs/.vitepress/theme/components/HomeFeatures.vue b/docs/.vitepress/theme/components/HomeFeatures.vue index 9d915cd..cdf9bf3 100644 --- a/docs/.vitepress/theme/components/HomeFeatures.vue +++ b/docs/.vitepress/theme/components/HomeFeatures.vue @@ -1970,7 +1970,7 @@ a { .nav-title { font-weight: 600; font-size: 19px; - color: #000 !important; + color: var(--vp-c-text-1) !important; flex-shrink: 0; letter-spacing: -0.01em; } @@ -1987,7 +1987,7 @@ a { background: none; border: none; font-size: 12px; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; transition: opacity 0.2s; padding: 0; @@ -2000,7 +2000,7 @@ a { .nav-links button:hover, .nav-links button.active, .nav-link-item:hover { - color: #000 !important; + color: var(--vp-c-text-1) !important; opacity: 1; } @@ -2021,7 +2021,7 @@ a { background: none; border: none; padding: 0; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; display: flex; align-items: center; @@ -2038,7 +2038,7 @@ a { background: none; border: none; padding: 0; - color: #000 !important; + color: var(--vp-c-text-1) !important; cursor: pointer; display: flex; align-items: center; @@ -2060,13 +2060,13 @@ a { .button .option-icon { width: 20px; height: 20px; - color: #000 !important; + color: var(--vp-c-text-1) !important; } .button .text-icon { width: 14px; height: 14px; - color: #000 !important; + color: var(--vp-c-text-1) !important; } /* GitHub Stars Styles */ @@ -2076,7 +2076,7 @@ a { } :deep(.nav-github-stars .github-stars-link) { - color: #000 !important; + color: var(--vp-c-text-1) !important; display: flex; align-items: center; gap: 4px; @@ -2134,8 +2134,8 @@ a { } .buy-btn { - background: #000; - color: #fff !important; + background: var(--vp-c-text-1); + color: var(--vp-c-bg) !important; padding: 4px 12px; border-radius: 980px; font-size: 12px; diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue new file mode 100644 index 0000000..2d12671 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIAppFlowDemo.vue @@ -0,0 +1,245 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue new file mode 100644 index 0000000..5c3f108 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIDesignPrincipleDemo.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue new file mode 100644 index 0000000..e5bcf5e --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AINativeArchDemo.vue @@ -0,0 +1,237 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue new file mode 100644 index 0000000..cb249a7 --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/AIUXPatternDemo.vue @@ -0,0 +1,301 @@ + + + + + diff --git a/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue b/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue new file mode 100644 index 0000000..38b3b5a --- /dev/null +++ b/docs/.vitepress/theme/components/appendix/ai-native-app/PromptDesignDemo.vue @@ -0,0 +1,260 @@ +