Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c5e8535
feat: add bilingual animated graph-stack homepage
Nov 14, 2026
0147f89
fix: validate archived homepages and transition graph story onto white
Nov 14, 2026
51d9608
fix: keep desktop hero layer controls clear of the AI launcher
Nov 14, 2026
d380404
fix: honor motion preference changes and improve homepage accessibility
Nov 14, 2026
275a18b
chore: sync homepage with latest master
imbajin Nov 14, 2026
06dccfe
refactor: wrap homepage markup and review tests
imbajin Nov 14, 2026
34b5519
feat: animate the four homepage graph layers
imbajin Nov 14, 2026
31357a7
fix: give the homepage brand a title treatment
imbajin Nov 14, 2026
b137526
fix: align homepage layout with the prototype
imbajin Nov 14, 2026
0fe4f60
fix: clear the layer controls on short phones
imbajin Nov 14, 2026
7f53129
feat: cycle homepage layers and restore cards
imbajin Nov 14, 2026
2fe9697
feat(homepage): restore the graph stack design
imbajin Nov 14, 2026
c4248e0
fix(homepage): soften the constellation glow
imbajin Nov 14, 2026
185b68f
docs(homepage): omit the Docker image tag
imbajin Nov 14, 2026
8ffe731
docs(homepage): simplify the Docker quick start
imbajin Nov 14, 2026
b8892f1
fix(homepage): unify the graph reading surface
imbajin Nov 14, 2026
9357be2
chore(homepage): keep screenshots in the PR
imbajin Nov 14, 2026
c09380c
docs(homepage): spell out the first metric label
imbajin Nov 14, 2026
4346862
fix(homepage): diffuse light along both star paths
imbajin Nov 14, 2026
a43e636
fix(tests): check the rendered star path length
imbajin Nov 14, 2026
cd7ec04
docs(homepage): name the graph layer components
imbajin Nov 14, 2026
863edb3
docs(homepage): highlight core graph capabilities
imbajin Nov 14, 2026
06a0d81
docs(homepage): introduce the full-stack graph platform
imbajin Nov 14, 2026
4f844ad
feat(homepage): soften the constellation starlight
imbajin Nov 14, 2026
432b4fd
docs(homepage): refine the graph platform introduction
imbajin Nov 14, 2026
1fef8e4
docs(homepage): follow an edge in the toolchain story
imbajin Nov 14, 2026
1a7794d
docs(homepage): invite Graph AI contributions
imbajin Nov 14, 2026
c106ee6
docs: consolidate homepage maintenance guidance
imbajin Nov 14, 2026
06ffe68
refactor(homepage): remove unused story fields
imbajin Nov 14, 2026
beed1e7
fix(homepage): expose graph chapters when printing
imbajin Nov 14, 2026
df5257b
docs(homepage): refine the Chinese edge heading
imbajin Nov 14, 2026
ef31a7f
docs(homepage): name the Graph AI projects
imbajin Nov 14, 2026
8faafec
docs(homepage): update the graph platform figures
imbajin Nov 14, 2026
b0f21c8
docs(homepage): update the platform section heading
imbajin Nov 14, 2026
09456ba
docs(homepage): clarify standalone storage options
imbajin Nov 14, 2026
bcbe99a
fix(homepage): restore reading position after print
imbajin Nov 14, 2026
2df4d6d
fix(homepage): defer motion changes during printing
imbajin Nov 14, 2026
550502f
fix(homepage): show Ask AI only at the top
imbajin Nov 14, 2026
c9c8f9c
fix(homepage): retain focus after closing Ask AI
imbajin Nov 14, 2026
e2773ae
fix(community): soften the contribution button colors
imbajin Nov 14, 2026
4e7121a
fix(tests): synchronize print media transitions
imbajin Nov 14, 2026
b8446e3
fix(nav): keep expanded Docs links legible
imbajin Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,725 changes: 1,725 additions & 0 deletions assets/css/landing-story.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions assets/img/landing-platforms.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion assets/js/kapa-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@
if (!config.sourceGroupId) {
if (context && !context.handoff()) return Promise.resolve();
renderState('unavailable', config.labels.unavailable);
if (launcher) launcher.focus();
lastTrigger = launcher;
restoreFocus();
return Promise.resolve();
}
lastTrigger = trigger || documentObject.activeElement;
Expand Down Expand Up @@ -412,6 +413,11 @@
function restoreFocus() {
if (lastTrigger && typeof lastTrigger.focus === 'function') {
lastTrigger.focus();
// The homepage launcher can leave the screen while the dialog is open.
if (documentObject.activeElement !== lastTrigger) {
var main = documentObject.querySelector('main[tabindex]');
if (main) main.focus({ preventScroll: true });
}
}
}

Expand Down
1,072 changes: 1,072 additions & 0 deletions assets/js/landing-story.js

Large diffs are not rendered by default.

65 changes: 49 additions & 16 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
width: 100%;
border-block-end: 0;
background: transparent;
color: #fff;
color: var(--hg-home-nav-ink, #fff);
-webkit-backdrop-filter: none;
backdrop-filter: none;
transition:
Expand All @@ -69,12 +69,12 @@

.td-nav-title {
background: none;
color: #fff;
color: var(--hg-home-nav-ink, #fff);
font-family: var(--td-ui-font-family);
font-size: 1.08rem;
font-weight: 700;
letter-spacing: 0;
-webkit-text-fill-color: #fff;
-webkit-text-fill-color: currentColor;
}

.td-nav-brand,
Expand All @@ -87,17 +87,17 @@
.td-shell-keyboard__trigger,
.td-nav-github,
.td-site-drawer-toggle {
color: #fff;
color: var(--hg-home-nav-ink, #fff);
}

.td-nav-search-box {
border-color: rgba(255, 255, 255, 0.38);
background: rgba(15, 24, 92, 0.2);
border-color: color-mix(in srgb, currentColor 38%, transparent);
background: var(--hg-home-nav-search, rgba(15, 24, 92, 0.2));

kbd {
border-color: rgba(255, 255, 255, 0.32);
border-color: color-mix(in srgb, currentColor 32%, transparent);
background: rgba(255, 255, 255, 0.1);
color: #fff;
color: var(--hg-home-nav-ink, #fff);
}
}

Expand All @@ -107,6 +107,7 @@
.td-nav-menu-zone > .nav-link:focus-visible,
.td-nav-menu-zone .td-nav-menu > .nav-link:hover,
.td-nav-menu-zone .td-nav-menu > .nav-link:focus-visible,
.td-nav-menu-zone .td-nav-menu > .nav-link[aria-expanded='true'],
.td-nav-search-box:hover,
.td-nav-search-box:focus-visible,
.td-nav-util:hover,
Expand All @@ -115,8 +116,8 @@
.td-nav-github:focus-visible,
.td-site-drawer-toggle:hover,
.td-site-drawer-toggle:focus-visible {
background: rgba(15, 24, 92, 0.28);
color: #fff;
background: var(--hg-home-nav-hover, rgba(15, 24, 92, 0.28));
color: var(--hg-home-nav-ink, #fff);
}
}

Expand Down Expand Up @@ -315,6 +316,7 @@
.td-nav-menu-zone > .nav-link:focus-visible,
.td-nav-menu-zone .td-nav-menu > .nav-link:hover,
.td-nav-menu-zone .td-nav-menu > .nav-link:focus-visible,
.td-nav-menu-zone .td-nav-menu > .nav-link[aria-expanded='true'],
.td-nav-search-box:hover,
.td-nav-search-box:focus-visible,
.td-nav-util:hover,
Expand Down Expand Up @@ -426,6 +428,24 @@
}
}

// Use the native button surface and hover treatment with community-specific colors.
.hg-community-hero .td-landing-button--primary {
--td-primary-bg: #cfdcca;
--td-primary-bg-hover: #bbcfb6;
--td-primary-fg: #253b2d;
--td-control-border: #718772;

&:focus-visible {
outline-color: currentColor;
}
}

[data-bs-theme="dark"] .hg-community-hero .td-landing-button--primary {
--td-primary-bg: #354b3f;
--td-primary-bg-hover: #405b4b;
--td-primary-fg: #e4eee1;
}

.td-home .hg-home-capabilities,
.td-home .hg-home-community {
padding-block: clamp(54px, 6vw, 82px);
Expand Down Expand Up @@ -455,9 +475,9 @@
}

.hg-asf-footer {
border-block-start: 2px solid #21b6d7;
background: #41414d;
color: #f5f5f8;
border-block-start: 1px dashed var(--bs-border-color);
background: var(--bs-body-bg);
color: var(--bs-secondary-color);

&__container {
display: grid;
Expand Down Expand Up @@ -496,13 +516,14 @@
}

a {
color: #f5f5f8;
text-decoration-color: rgba(255, 255, 255, 0.5);
color: var(--bs-body-color);
text-decoration-color: currentColor;
text-underline-offset: 0.16em;

&:hover,
&:focus-visible {
color: #fff;
color: var(--bs-emphasis-color);
text-decoration: underline;
text-decoration-thickness: 2px;
}
}
Expand All @@ -512,6 +533,10 @@
line-height: 1.5;
text-align: center;

a {
text-decoration-line: underline;
}

p {
margin: 0;
}
Expand All @@ -522,6 +547,14 @@
}
}

[data-bs-theme="dark"] .hg-asf-footer__brand img {
filter: brightness(1.5);
}

body:has(.hg-ask-ai-launcher:not([hidden])) .hg-asf-footer__legal {
padding-inline-end: 3.5rem;
}

.hg-shell-mobile-utils,
.hg-landing-mobile-utils {
display: none;
Expand Down
8 changes: 7 additions & 1 deletion contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,19 @@ stable.

- `content/en/` and `content/cn/` contain the bilingual source pages.
- `hugo.yaml` owns routing, languages, outputs, search, navigation, and OINK parameters.
- `data/home/<language>.yaml` owns the bilingual homepage.
- The HTML and Markdown homepages share [English](data/landing/en.yaml) and [Chinese](data/landing/cn.yaml) copy.
- The [platform list](data/landing/platforms.yaml) maps each logo to its ID in the [SVG sprite](assets/img/landing-platforms.svg).
- `data/footer/<language>.yaml` owns the bilingual footer.
- `i18n/zh-CN.yaml` carries only HugeGraph-specific Simplified Chinese labels; generic interface translations come from OINK for the preserved `cn` URL language key; the file is named after the `zh-CN` locale because Hugo resolves translations by locale, not by the URL key.
- `assets/` and `static/` contain site-owned brand and compatibility assets.

OINK is a module dependency. Do not copy or edit generated module-cache files. Site-specific overrides belong in the corresponding root `layouts/`, `assets/`, or data path and require focused regression evidence.

### Homepage checks

From `tests/e2e`, run `SITE_ROOT=/path/to/built/site npm test -- landing.spec.js landing-motion.spec.js` to check layout, navigation and motion.
For archived homepage changes, also run `versioning.spec.js` against a site assembled with the historical releases.

## 中文说明

提交前请同时检查中英文页面、公开 URL、搜索结果和语言切换。视觉或导航变更必须提供修改前后的桌面与移动端截图。构建成功只证明模板可以渲染,不能替代真实浏览器、无障碍、打印和 CSP 检查。
187 changes: 187 additions & 0 deletions data/landing/cn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
hero:
title: 全栈图技术平台
body: 实时查询数据关系,离线分析全图,用 Graph AI 构建 LLM 记忆和本体图谱
primary:
label: 快速开始
url: /cn/docs/quickstart/
secondary:
label: GitHub
url: https://github.com/apache/hugegraph
explore: 探索四层架构

layers:
ai:
name: 图 AI
components: llm/sdk/rag
description: 结合大语言模型实现 GraphRAG 与本体图谱构建
go: 探索图 AI
computing:
name: 图计算
components: vermeer/computer
description: 在内存或 BSP 集群上对全图进行 OLAP 分析
go: 探索图计算
toolchain:
name: 图工具链
components: loader/hubble/tools
description: 用 Loader 批量导入顶点和边,在 Hubble 中查看关系,用 Tools 备份和迁移数据
go: 探索图工具链
database:
name: 图数据库
components: server/pd/store
description: Server 提供图查询,分布式部署使用 PD 管理分区、Store 存储副本
go: 探索图数据库

story:
label: HugeGraph,从一套技术栈到不同规模
stack_label: HugeGraph 四层架构,从图数据库到 AI
beats:
database:
title: 从一个点开始
body: 沿着边,找到这个点的邻居。图数据库支持单机内嵌存储,也支持基于 Raft 的高可用分布式存储
url: /cn/docs/quickstart/hugegraph/
link_label: 查看图数据库部署指南
toolchain:
title: 沿着边出发
body: 用 Loader 导入顶点和边,再用 Hubble 查看查询结果,沿着一条边找到下一个顶点
url: /cn/docs/quickstart/toolchain/
link_label: 查看图工具链指南
computing:
title: 全图计算,挖掘社群
body: 图计算对整个数据集进行 OLAP 分析,Vermeer 在内存中运行,Computer 使用 BSP 集群
url: /cn/docs/quickstart/computing/
link_label: 探索图计算
ai:
title: 拥抱 AI,向图前行
body: Graph AI 的图抽取 SDK、Memory 和本体平台都在快速迭代,欢迎大家参与共建
url: /cn/docs/quickstart/hugegraph-ai/
link_label: 探索图 AI
readouts:
database: "{vertices} 个顶点,1 个邻域"
toolchain: 图探索 · 顶点与边
computing: "{vertices} 个顶点,{communities} 个社群"
ai: 1 个问题,1 个检索子图

statement:
body: 从**图数据存储**和**实时查询**,到**离线分析**和**图 AI**,一套图系统贯穿全程
figures:
- value: 千亿级
label: 顶点与边的规模
- value: 毫秒级
label: 多跳查询延迟
- value: 30+
label: 内置图算法
- value: 首个
label: Apache 顶级图系统

capabilities:
title: 核心特点
items:
- title: 高效
variant: efficient
body: 支持海量数据批量导入、毫秒级图检索,以及数千用户并发的在线操作
icon: fa-solid fa-bolt
url: /cn/docs/quickstart/toolchain/hugegraph-loader/
- title: 智能化
variant: ai
body: 支持 GraphRAG、自动化知识图谱构建,并内置 20 多种图机器学习算法
icon: fa-solid fa-wand-magic-sparkles
url: /cn/docs/quickstart/hugegraph-ai/
- title: 易用
body: 支持 Gremlin、Cypher 与 RESTful API,配备覆盖导入、可视化和运维的完整工具链
icon: fa-solid fa-terminal
url: /cn/docs/quickstart/toolchain/
- title: 通用
body: 基于 Apache TinkerPop 的属性图建模,覆盖 OLTP 与 OLAP,可集成 Hadoop 和 Spark
icon: fa-solid fa-puzzle-piece
url: /cn/docs/quickstart/computing/
- title: 可扩展
body: 支持水平扩容和分布式部署,覆盖从单机到 PB 级集群的使用场景
icon: fa-solid fa-expand
url: /cn/docs/quickstart/hugegraph/hugegraph-hstore/
- title: 开放生态
variant: open
body: 遵循 TinkerPop 标准,提供多语言客户端,由活跃且持续演进的 Apache 社区支持
icon: fa-solid fa-plug
url: /cn/docs/clients/client/hugegraph-client/

platforms:
title: 无缝衔接现有技术栈
pause: 暂停标识滚动

components:
title: ALL IN ONE
body: 图数据库可单机或分布式部署。按需搭配图工具链、图计算和图 AI 组件
first_use: 从这里开始
groups:
- title: 图数据库
items:
- name: Server
body: 图数据库引擎,提供 REST API、Gremlin 与 Cypher
url: /cn/docs/quickstart/hugegraph/hugegraph-server/
first_use: true
- name: PD
body: 管理元数据、分区和集群调度的 Placement Driver
url: /cn/docs/quickstart/hugegraph/hugegraph-pd/
- name: Store
body: 基于 Raft 一致性协议的分布式存储
url: /cn/docs/quickstart/hugegraph/hugegraph-hstore/
- title: 工具链
items:
- name: Hubble
body: 用于图数据可视化的 Web 平台
url: /cn/docs/quickstart/toolchain/hugegraph-hubble/
- name: Loader
body: 用于批量加载图数据的导入工具
url: /cn/docs/quickstart/toolchain/hugegraph-loader/
- name: Tools
body: 用于备份、恢复和迁移的命令行工具
url: /cn/docs/quickstart/toolchain/hugegraph-tools/
- title: 图计算与 AI
items:
- name: Vermeer
body: 在内存中运行图算法,支持 PageRank 和社群发现
url: /cn/docs/quickstart/computing/hugegraph-vermeer/
- name: AI
body: 结合大语言模型实现 GraphRAG 与知识图谱构建
url: /cn/docs/quickstart/hugegraph-ai/

quickstart:
title: 快速开始
body: Docker 默认以单机模式启动 HugeGraph Server,监听本机 8080 端口。单机模式支持内存或磁盘存储
command: docker run -d -p 127.0.0.1:8080:8080 hugegraph/hugegraph
copy: 复制
copied: 已复制
copy_fallback: 复制已选命令
copy_status: 命令已复制到剪贴板
copy_fallback_status: 命令已选中,请使用系统复制命令完成复制
verify: 查看启动日志,再确认服务已就绪
verify_command: curl -fsS http://127.0.0.1:8080/versions
next:
label: 验证服务并执行第一次查询
url: /cn/docs/quickstart/hugegraph/hugegraph-server/
install:
label: 其他安装方式
url: /cn/docs/download/download/

community:
title: 欢迎加入 HugeGraph 开源社区
body: 欢迎新用户和贡献者一起交流、参与开发
items:
- title: GitHub
body: 通过 GitHub Pull Request 提交贡献
url: https://github.com/apache/hugegraph
icon: fa-brands fa-github
external: true
- title: 微信公众号
body: 扫码关注「Apache HugeGraph」,获取社区动态
url: /cn/docs/introduction/#community
icon: fa-brands fa-weixin
- title: 工具链
body: 获取图数据导入、可视化、备份、恢复与迁移工具
url: /cn/docs/quickstart/toolchain/
icon: fa-solid fa-screwdriver-wrench
- title: Discord
body: 加入 HugeGraph 社区,交流使用经验
url: https://discord.gg/bT7GtKEnJK
icon: fa-brands fa-discord
external: true
1 change: 1 addition & 0 deletions data/landing/community/cn.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sections:
- type: hero
data:
class: hg-community-hero
eyebrow: Apache HugeGraph
title: 加入 Apache HugeGraph 社区
lead: Apache HugeGraph 是一个开放的开源项目,社区中的每个人都可以使用、改进并从中受益。欢迎加入我们,通过以下方式了解项目动态并参与社区。
Expand Down
Loading
Loading