Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix(docs): render homepage arrows as text and drop the agent/ slash (#5304)

t0sakic6e0bb4a9990
diff --git a/docs/.vitepress/theme/components/DocsHome.vue b/docs/.vitepress/theme/components/DocsHome.vue
index e56d15e48..335cd7ecb 100644
--- a/docs/.vitepress/theme/components/DocsHome.vue
+++ b/docs/.vitepress/theme/components/DocsHome.vue
@@ -72,19 +72,18 @@ const agents = [
<div class="hero-copy">
<p class="eyebrow"><span class="status-dot" /> OPENVIKING <span class="eyebrow-separator">/</span> {{ t('DOCUMENTATION', '开发者文档') }}</p>
<h1 id="home-title">{{ t('Context worth', '让上下文,') }}<br><em>{{ t('keeping.', '掌握在你自己手里') }}</em></h1>
- <p class="hero-description">{{ t('The context database for AI agents.', '面向 AI Agent 的上下文数据库。') }}<br>{{ t('Bring knowledge, memory, and skills into one filesystem. Build agents that carry their context forward.', '用一个文件系统组织知识、记忆和技能,让 Agent 在每次任务中接着积累。') }}</p>
+ <p class="hero-description">{{ t('The context database for AI agents.', '面向 AI Agent 的上下文数据库。') }}<br>{{ t('Bring knowledge, memory, and skills into one filesystem. Build the second brain for agent-native teams.', '用一个文件系统组织知识、记忆和技能,做 agent native 团队的第二大脑。') }}</p>
<div class="hero-actions">
<a class="home-button primary" :href="link('getting-started/02-quickstart')">{{ t('Get started', '快速开始') }} <span aria-hidden="true">↗</span></a>
<a class="home-button secondary" href="#explore">{{ t('Explore the docs', '浏览文档') }} <span aria-hidden="true">↓</span></a>
</div>
- <p class="hero-footnote">{{ t('Open source. Inspectable context. Your infrastructure.', '开源 · 上下文可读可查 · 自主部署') }}</p>
</div>
<div class="context-workspace">
<div class="workspace-top"><span>OpenViking</span><span class="workspace-caption">{{ t('CONTEXT MODEL', '上下文结构示意') }}</span></div>
<div class="workspace-body">
<div class="context-folders" :aria-label="t('Context types', '上下文类型')">
<span class="tree-root">viking://</span>
- <button v-for="key in ['resources', 'memories', 'agent']" :key="key" :aria-pressed="selected === key" :class="{ selected: selected === key }" @click="selected = key"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M2.5 5.5h5l2 2h8v9h-15zM2.5 5.5v-2h5l2 2h8v2" stroke="currentColor" stroke-width="1.2" /></svg>{{ key === 'agent' ? 'agent/' : key }}<span aria-hidden="true">↗</span></button>
+ <button v-for="key in ['resources', 'memories', 'agent']" :key="key" :aria-pressed="selected === key" :class="{ selected: selected === key }" @click="selected = key"><svg viewBox="0 0 20 20" fill="none" aria-hidden="true"><path d="M2.5 5.5h5l2 2h8v9h-15zM2.5 5.5v-2h5l2 2h8v2" stroke="currentColor" stroke-width="1.2" /></svg>{{ key }}<span aria-hidden="true">↗</span></button>
<div class="tree-legend"><span class="status-dot" />{{ t('One filesystem', '同一个文件系统') }}</div>
</div>
<div class="context-preview" aria-live="polite">
@@ -113,7 +112,7 @@ const agents = [
</div>
<section class="concept-section" aria-labelledby="concept-title">
- <div class="section-intro"><p class="eyebrow">02 — {{ t('THE MENTAL MODEL', '理解工作方式') }}</p><h2 id="concept-title">{{ t('A filesystem you can reason about.', '上下文,也可以像文件一样清楚。') }}</h2><p>{{ t('Browse the structure. Read the summary. Load the detail when you need it.', '先看目录,再读摘要,需要时才加载全文。') }}</p></div>
+ <div class="section-intro"><p class="eyebrow">02 — {{ t('THE MENTAL MODEL', '理解工作方式') }}</p><h2 id="concept-title">{{ t('A filesystem you can reason about.', '上下文,像文件一样清楚。') }}</h2><p>{{ t('Browse the structure. Read the summary. Load the detail when you need it.', '先看目录,再读摘要,需要时才加载全文。') }}</p></div>
<div class="layer-grid">
<a :href="link('concepts/03-context-layers')" class="layer-item"><div class="layer-art abstract" aria-hidden="true"><span /><span /></div><div class="layer-heading"><code>L0</code><h3>{{ t('The abstract', '摘要') }}</h3></div><p>{{ t('A short description to decide whether a directory is relevant.', '用一段简述判断目录是否相关。') }}</p><span class="layer-file">.abstract.md <span>↗</span></span></a>
<a :href="link('concepts/03-context-layers')" class="layer-item"><div class="layer-art overview" aria-hidden="true"><span /><span /><span /><span /></div><div class="layer-heading"><code>L1</code><h3>{{ t('The overview', '概览') }}</h3></div><p>{{ t('Structure and key points to plan what to read next.', '了解结构和要点,决定接下来读什么。') }}</p><span class="layer-file">.overview.md <span>↗</span></span></a>
diff --git a/docs/.vitepress/theme/components/docs-home.css b/docs/.vitepress/theme/components/docs-home.css
index df4409a30..4a1663090 100644
--- a/docs/.vitepress/theme/components/docs-home.css
+++ b/docs/.vitepress/theme/components/docs-home.css
@@ -138,3 +138,15 @@
@media (prefers-reduced-motion: reduce) { .docs-home *, .docs-home *::before, .docs-home *::after { scroll-behavior: auto !important; transition: none !important; } }
.integration-strip .eyebrow { margin-bottom: 12px; }
+
+/* ↗ (U+2197) is outside both webfont subsets, so it falls through to the stack's
+ generic: mono contexts land on Menlo/DejaVu and render a text arrow, while base
+ contexts land on the UI sans, which has no glyph — iOS then substitutes the
+ colour-emoji arrow. Serve U+2197 alone from a monospace face so every arrow on
+ the page matches the one on the retrieval card. */
+@font-face {
+ font-family: 'ov-arrow';
+ src: local('Menlo'), local('DejaVu Sans Mono'), local('Consolas'), local('Segoe UI Symbol'), local('Noto Sans Symbols 2');
+ unicode-range: U+2197;
+}
+.docs-home { font-family: 'ov-arrow', var(--vp-font-family-base); }