Skip to content

Commit a3aaacb

Browse files
committed
docs: simplify guides overview intro
1 parent ac5f694 commit a3aaacb

File tree

4 files changed

+108
-5
lines changed

4 files changed

+108
-5
lines changed

docs/en/guides/00-overview/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Welcome to the Databend (pronounced as /ˈdeɪtəˌbɛnd/)<Speaker /> documentat
1313

1414
<DocsOverview />
1515

16-
**Here are some entries you might want to learn about**
17-
1816
**Getting Started**
1917

2018
- **[Quick Start](/guides/self-hosted/quickstart)**: Launch Databend with Docker and load sample data fast.

i18n/en/code.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,54 @@
833833
"message": "Open in",
834834
"description": "Open in"
835835
},
836+
"Choose Cloud (managed) or Enterprise (self-hosted).": {
837+
"message": "Choose Cloud (managed) or Enterprise (self-hosted).",
838+
"description": "Getting Started hint under title"
839+
},
840+
"Start Free": {
841+
"message": "Start Free",
842+
"description": "CTA button text for Databend Cloud"
843+
},
844+
"Free Credits": {
845+
"message": "Free Credits",
846+
"description": "Free credits metric label"
847+
},
848+
"Type II": {
849+
"message": "Type II",
850+
"description": "Compliance label for SOC 2 Type II"
851+
},
852+
"Enterprise": {
853+
"message": "Enterprise",
854+
"description": "Enterprise badge"
855+
},
856+
"Self-hosted on the open-source core, with enterprise support.": {
857+
"message": "Self-hosted on the open-source core, with enterprise support.",
858+
"description": "Databend Enterprise card description"
859+
},
860+
"Deploy": {
861+
"message": "Deploy",
862+
"description": "Enterprise metric value"
863+
},
864+
"Your Infra": {
865+
"message": "Your Infra",
866+
"description": "Enterprise metric label"
867+
},
868+
"Control": {
869+
"message": "Control",
870+
"description": "Enterprise metric value"
871+
},
872+
"Your Data": {
873+
"message": "Your Data",
874+
"description": "Enterprise metric label"
875+
},
876+
"Support": {
877+
"message": "Support",
878+
"description": "Enterprise metric value"
879+
},
880+
"Install Locally": {
881+
"message": "Install Locally",
882+
"description": "CTA button text for self-hosted quickstart"
883+
},
836884
"All rights reserved.": {
837885
"message": "Copyright © {year} The Databend Community. All rights reserved.",
838886
"description": "All rights reserved."

i18n/zh/code.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,10 @@
757757
"message": "选择适合您的部署方式",
758758
"description": "Getting Started description"
759759
},
760+
"Choose Cloud (managed) or Enterprise (self-hosted).": {
761+
"message": "选择 Cloud(托管)或 Enterprise(自建)。",
762+
"description": "Getting Started hint under title"
763+
},
760764
"Recommended": {
761765
"message": "推荐",
762766
"description": "Recommended badge"
@@ -765,10 +769,22 @@
765769
"message": "全托管 Serverless 数仓,无需运维。",
766770
"description": "Databend Cloud short description"
767771
},
772+
"Start Free": {
773+
"message": "免费开始",
774+
"description": "CTA button text for Databend Cloud"
775+
},
768776
"Cold Start": {
769777
"message": "冷启动",
770778
"description": "Cold Start metric label"
771779
},
780+
"Free Credits": {
781+
"message": "免费额度",
782+
"description": "Free credits metric label"
783+
},
784+
"Type II": {
785+
"message": "Type II",
786+
"description": "Compliance label for SOC 2 Type II"
787+
},
772788
"Cost Savings": {
773789
"message": "成本节省",
774790
"description": "Cost Savings metric label"
@@ -777,6 +793,46 @@
777793
"message": "开源",
778794
"description": "Open Source badge"
779795
},
796+
"Databend Cloud": {
797+
"message": "Databend Cloud",
798+
"description": "Title for Databend Cloud product"
799+
},
800+
"Databend Enterprise": {
801+
"message": "Databend 企业版",
802+
"description": "Title for Databend Enterprise product"
803+
},
804+
"Enterprise": {
805+
"message": "企业版",
806+
"description": "Enterprise badge"
807+
},
808+
"Self-hosted on the open-source core, with enterprise support.": {
809+
"message": "基于开源核心自建部署,并提供企业级支持。",
810+
"description": "Databend Enterprise card description"
811+
},
812+
"Deploy": {
813+
"message": "部署",
814+
"description": "Enterprise metric value"
815+
},
816+
"Your Infra": {
817+
"message": "自有基础设施",
818+
"description": "Enterprise metric label"
819+
},
820+
"Control": {
821+
"message": "掌控",
822+
"description": "Enterprise metric value"
823+
},
824+
"Your Data": {
825+
"message": "自有数据",
826+
"description": "Enterprise metric label"
827+
},
828+
"Support": {
829+
"message": "支持",
830+
"description": "Enterprise metric value"
831+
},
832+
"Install Locally": {
833+
"message": "本地安装",
834+
"description": "CTA button text for self-hosted quickstart"
835+
},
780836
"Deploy on your infrastructure. Full control over data and environment.": {
781837
"message": "部署在您的环境,数据和配置完全掌控。",
782838
"description": "Self-Hosted short description"

src/components/DocsOverview/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const DocsOverview: FC = (): ReactElement => {
5757
},
5858
} = useDocusaurusContext();
5959
const history = useHistory();
60+
const cloudAppUrl = isChina ? "https://app.databend.cn" : "https://app.databend.com";
6061
return (
6162
<div className={styles.outWrap}>
6263

@@ -155,7 +156,7 @@ const DocsOverview: FC = (): ReactElement => {
155156
<div className={styles.productCardHeader}>
156157
<LightDatabendCloudSingleSvg width={120} />
157158
<div className={styles.productCardTitle}>
158-
<h5>Databend Cloud</h5>
159+
<h5>{$t("Databend Cloud")}</h5>
159160
<span className={styles.productCardBadge}>{$t("Recommended")}</span>
160161
</div>
161162
</div>
@@ -179,7 +180,7 @@ const DocsOverview: FC = (): ReactElement => {
179180
<div className={styles.productCardCtas}>
180181
<Link
181182
className={styles.productCardCtaPrimary}
182-
to="https://app.databend.com"
183+
to={cloudAppUrl}
183184
target="_blank"
184185
rel="noopener noreferrer"
185186
onClick={(e) => e.stopPropagation()}
@@ -209,7 +210,7 @@ const DocsOverview: FC = (): ReactElement => {
209210
<div className={styles.productCardHeader}>
210211
<LightDatabendSingleSvg width={120} />
211212
<div className={styles.productCardTitle}>
212-
<h5>Databend Enterprise</h5>
213+
<h5>{$t("Databend Enterprise")}</h5>
213214
<span className={styles.productCardBadgeAlt}>{$t("Enterprise")}</span>
214215
</div>
215216
</div>

0 commit comments

Comments
 (0)