feat: 重设计首页突出 Harness 与知识库协作
- hero 区改版:氛围背景光晕+渐隐网格,右侧玻璃卡片可视化 - 右侧改为 Harness → RAG 引擎 → 知识库 横向数据流,中间枢纽带脉冲环、双向光点对流 - 统计改用实时 GitHub 数据(Stars/Forks/Issues),不再依赖 branding 配置 - 移除 info.template.yaml 的 features/actions 及 store 中对应 getter - 「查看文档」升级为次按钮,左侧内容顶部对齐微调
This commit is contained in:
parent
a6176ea236
commit
711f39dbd1
@ -20,40 +20,6 @@ branding:
|
||||
- "让智能体可落地,让流程可编排,让协作可扩展"
|
||||
- "让数据可沉淀,让能力可复用,让系统可进化"
|
||||
|
||||
features:
|
||||
- label: "GitHub Stars"
|
||||
value: "4800+"
|
||||
description: "开发者社区的认可与支持"
|
||||
icon: "stars"
|
||||
- label: "已解决 Issues"
|
||||
value: "300+"
|
||||
description: "持续改进和问题解决能力"
|
||||
icon: "issues"
|
||||
- label: "累计 Commits"
|
||||
value: "1600+"
|
||||
description: "活跃的开发迭代和功能更新"
|
||||
icon: "commits"
|
||||
- label: "开源协议"
|
||||
value: "MIT License"
|
||||
description: "完全免费,支持商业使用"
|
||||
icon: "license"
|
||||
|
||||
actions:
|
||||
- name: "演示视频"
|
||||
icon: "video"
|
||||
url: "https://www.bilibili.com/video/BV1DF14BTETq"
|
||||
- name: "文档中心"
|
||||
icon: "docs"
|
||||
url: "https://xerrors.github.io/Yuxi/"
|
||||
- name: "提交 Issue"
|
||||
icon: "issue"
|
||||
url: "https://github.com/xerrors/Yuxi/issues/new/choose"
|
||||
- name: "开发路线图"
|
||||
icon: "roadmap"
|
||||
url: "https://xerrors.github.io/Yuxi/develop-guides/roadmap.html"
|
||||
|
||||
|
||||
|
||||
# 页脚信息
|
||||
footer:
|
||||
copyright: "© 江南语析 2026 v{{YUXI_VERSION}}"
|
||||
|
||||
@ -30,11 +30,6 @@ export const useInfoStore = defineStore('info', () => {
|
||||
}
|
||||
)
|
||||
|
||||
// 计算属性 - 功能特性
|
||||
const features = computed(() => infoConfig.value.features || [])
|
||||
|
||||
const actions = computed(() => infoConfig.value.actions || [])
|
||||
|
||||
// 计算属性 - 页脚信息
|
||||
const footer = computed(() => ({
|
||||
copyright: '',
|
||||
@ -89,9 +84,7 @@ export const useInfoStore = defineStore('info', () => {
|
||||
// 计算属性
|
||||
organization,
|
||||
branding,
|
||||
features,
|
||||
footer,
|
||||
actions,
|
||||
|
||||
// 方法
|
||||
toggleDebugMode,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user