From ceb23cebbe9437e709fb075e4f169a92954e9b21 Mon Sep 17 00:00:00 2001 From: vastsa Date: Wed, 23 Sep 2026 01:47:03 +0800 Subject: [PATCH] docs(site): rebuild the landing page in a keynote register The previous landing stacked bordered cards and dense grids, which read as internal documentation chrome instead of a product introduction. Recompose the homepage around a black canvas, extreme display type, and the transparent README hero still with product screenshots as cinematic story beats. Images come from docs/image/readme so the docs site and repository front matter stay visually aligned. Local-first and get-started copy follow the README narrative. --- docs/.vitepress/config.mts | 3 +- docs/.vitepress/theme/Layout.vue | 2 +- .../theme/components/HomeHeroVisual.vue | 62 +- .../theme/components/HomeModules.vue | 588 ++----- docs/.vitepress/theme/style.css | 1384 ++++++----------- docs/index.md | 15 +- docs/public/hero-workspace.webp | Bin 105170 -> 0 bytes docs/public/readme/addmodel_en.webp | Bin 0 -> 56768 bytes docs/public/readme/addmodel_zh.webp | Bin 0 -> 49780 bytes docs/public/readme/chat_en.webp | Bin 0 -> 90878 bytes docs/public/readme/chat_zh.webp | Bin 0 -> 87598 bytes docs/public/readme/home.webp | Bin 0 -> 128058 bytes docs/public/readme/model_en.webp | Bin 0 -> 31460 bytes docs/public/readme/model_zh.webp | Bin 0 -> 32994 bytes docs/public/readme/plugins_en.webp | Bin 0 -> 104092 bytes docs/public/readme/plugins_zh.webp | Bin 0 -> 119542 bytes .../readme/session-orchestrator-overview.webp | Bin 0 -> 113364 bytes .../readme/session-orchestrator-worker.webp | Bin 0 -> 138284 bytes docs/zh-CN/index.md | 19 +- 19 files changed, 617 insertions(+), 1456 deletions(-) delete mode 100644 docs/public/hero-workspace.webp create mode 100644 docs/public/readme/addmodel_en.webp create mode 100644 docs/public/readme/addmodel_zh.webp create mode 100644 docs/public/readme/chat_en.webp create mode 100644 docs/public/readme/chat_zh.webp create mode 100644 docs/public/readme/home.webp create mode 100644 docs/public/readme/model_en.webp create mode 100644 docs/public/readme/model_zh.webp create mode 100644 docs/public/readme/plugins_en.webp create mode 100644 docs/public/readme/plugins_zh.webp create mode 100644 docs/public/readme/session-orchestrator-overview.webp create mode 100644 docs/public/readme/session-orchestrator-worker.webp diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 97eb28b444..3df0156d72 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -167,7 +167,8 @@ const zhNav: DefaultTheme.NavItem[] = [ export default defineConfig({ title: 'PI-Desktop', description: 'A modular desktop workspace for AI agents', - appearance: 'dark', + // Product shell is dark-base; lock docs to the same charcoal system. + appearance: 'force-dark', cleanUrls: true, lastUpdated: true, head: [ diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 7ad241de7d..9bde201f4a 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -11,7 +11,7 @@ const { frontmatter, localeIndex } = useData()