Repository navigation
docs: link Cloud API for Agents and TiDB from the docs home - #3627
Merged
Merged
Conversation
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.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two items to the cards on the docs home page (
src/components/DocsOverview).Connect to Databend: Databend Cloud API for Agents
/guides/connect/cloud-api.LightDatabendCloudSingleSvgfromdatabend-logos, which the page already imports, shown at 40px.i18n/zh/code.jsonas "面向 Agent 的 Databend Cloud API", which matches the Chinese page title.i18n/en/code.jsonhas the English entry.Load Data into Databend: TiDB
/guides/cloud/data-integration/task/tidb(TiDB Integration Task).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.
ButtonWithIconnow hasflex-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.