Skip to content

Commit e5018fe

Browse files
committed
fix: links
1 parent 389ed89 commit e5018fe

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/components/DocsOverview/index.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const colLayout3 = { xl: 8, xxl: 8, lg: 8, md: 8, sm: 12, xs: 24 };
5252
const DocsOverview: FC = (): ReactElement => {
5353
const {
5454
siteConfig: {
55-
customFields: { homeLink },
55+
customFields: { homeLink, isChina },
5656
},
5757
} = useDocusaurusContext();
5858
return (
@@ -163,7 +163,13 @@ const DocsOverview: FC = (): ReactElement => {
163163
<div>{$t("Topics you might find useful:")}</div>
164164
<ul>
165165
<li>
166-
<Link to={"/guides/deploy/deploy/download"}>
166+
<Link
167+
to={
168+
isChina
169+
? "/guides/overview/editions/dce/download"
170+
: "/guides/deploy/deploy/download"
171+
}
172+
>
167173
{$t("Downloading Databend")}
168174
</Link>
169175
</li>

0 commit comments

Comments
 (0)