Skip to content

docs: link Cloud API for Agents and TiDB from the docs home - #3627

Merged
Chasen-Zhang merged 6 commits into
mainfrom
docs-overview-cloud-api
Nov 18, 2026
Merged

Chasen-Zhang merged 6 commits into
mainfrom
docs-overview-cloud-api

Conversation

@Chasen-Zhang

Copy link
Copy Markdown
Member

Summary

Adds two items to the cards on the docs home page (src/components/DocsOverview).

Connect to Databend: Databend Cloud API for Agents

  • The new item links to /guides/connect/cloud-api.
  • Its icon is LightDatabendCloudSingleSvg from databend-logos, which the page already imports, shown at 40px.
  • The label is translated in i18n/zh/code.json as "面向 Agent 的 Databend Cloud API", which matches the Chinese page title. i18n/en/code.json has the English entry.

Load Data into Databend: TiDB

  • The new item comes after PostgreSQL and links to /guides/cloud/data-integration/task/tidb (TiDB Integration Task).
  • Its icon is the TiDB logo, added as static/icons/tidb.svg. It is the same logo the console uses.

Icon box

The label "Databend Cloud API for Agents" wraps to two lines, and that squeezed its icon box narrower than the others. ButtonWithIcon now has flex-shrink: 0, so every icon box stays 48×48. The other cards were not squeezed before, so they look the same.

Testing

Not run locally. Check the home page in the preview deployment.

Add an item to the Connect to Databend card on the docs home, pointing
to /guides/connect/cloud-api, with its Chinese label.
Add a TiDB item after MySQL and PostgreSQL, pointing to
/guides/cloud/data-integration/task/tidb, with the TiDB logo.
LightDatabendCloudSingleSvg from databend-logos, already imported on
the page, in place of the generic cloud icon.
The logo is wide, so 24px read small; use 34px. A long label such as
"Databend Cloud API for Agents" wraps and squeezed the icon box, so
ButtonWithIcon no longer shrinks.
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 18, 2026 4:03am UTC
docs-cn Ready Ready Preview Nov 18, 2026 4:03am UTC

Request Review

@Chasen-Zhang
Chasen-Zhang merged commit bf3cc16 into main Nov 18, 2026
3 of 5 checks passed
@Chasen-Zhang
Chasen-Zhang deleted the docs-overview-cloud-api branch November 18, 2026 04:02

This branch was successfully deployed

2 active deployments
Preview – docs-cn — b3fe0138 Deployed Nov 18, 2026 by vercel[bot]
Preview – docs — b3fe0138 Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant