-
Notifications
You must be signed in to change notification settings - Fork 35
src, static: update cn.pingcap.com links #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,27 +17,27 @@ export const DOC_HOME_URL = "https://docs.pingcap.com"; | |
|
|
||
| export const DEFAULT_PINGCAP_URL = `https://www.pingcap.com`; | ||
| export const EN_PINGCAP_URL = `https://www.pingcap.com/`; | ||
| export const ZH_PINGCAP_URL = `https://cn.pingcap.com/`; | ||
| export const ZH_PINGCAP_URL = `https://pingkai.cn/`; | ||
| export const JA_PINGCAP_URL = `https://pingcap.co.jp/`; | ||
|
|
||
| export const EN_PINGCAP_DOWNLOAD_URL = "https://www.pingcap.com/download/"; | ||
| export const ZH_PINGCAP_DOWNLOAD_URL = | ||
| "https://cn.pingcap.com/product/#SelectProduct"; | ||
| "https://pingkai.cn/opensource/tidb"; | ||
| export const JA_PINGCAP_DOWNLOAD_URL = "https://pingcap.co.jp/event/"; | ||
|
|
||
| export const EN_CONTACT_URL = "https://www.pingcap.com/contact-us/"; | ||
| export const ZH_CONTACT_URL = "https://cn.pingcap.com/contact/"; | ||
| export const ZH_CONTACT_URL = "https://pingkai.cn/contact"; | ||
| export const JA_CONTACT_URL = "https://pingcap.co.jp/contact-us/"; | ||
|
|
||
| export const EN_PRIVACY_POLICY_URL = "https://www.pingcap.com/privacy-policy"; | ||
| export const ZH_PRIVACY_POLICY_URL = "https://cn.pingcap.com/privacy-policy"; | ||
| export const ZH_PRIVACY_POLICY_URL = "https://pingkai.cn/legal/privacy-policy"; | ||
| export const JA_PRIVACY_POLICY_URL = "https://pingcap.co.jp/privacy-policy"; | ||
|
|
||
| export const EN_LEARNING_CENTER_URL = "https://www.pingcap.com/education/"; | ||
| export const ZH_LEARNING_CENTER_URL = "https://cn.pingcap.com/education/"; | ||
| export const ZH_LEARNING_CENTER_URL = "https://learn.pingcap.cn/learner/course"; | ||
|
|
||
| export const EN_LEGAL_URL = "https://www.pingcap.com/legal/"; | ||
| export const ZH_LEGAL_URL = "https://cn.pingcap.com/law/"; | ||
| export const ZH_LEGAL_URL = "https://pingkai.cn/legal/compliance"; | ||
| export const JA_LEGAL_URL = "https://pingcap.co.jp/legal/"; | ||
|
|
||
| export const ICON_GROUP_CHUNK_SIZE = 3; | ||
|
|
@@ -305,7 +305,7 @@ export const ZH_FOOTER_ITEMS = [ | |
| }, | ||
| { | ||
| name: "TiDB", | ||
| url: "https://cn.pingcap.com/product/#SelectProduct", | ||
| url: "https://pingkai.cn/opensource/tidb", | ||
| }, | ||
| { | ||
| name: "TiDB Cloud", | ||
|
|
@@ -347,11 +347,11 @@ export const ZH_FOOTER_ITEMS = [ | |
| }, | ||
| { | ||
| name: "博客", | ||
| url: "https://cn.pingcap.com/blog/", | ||
| url: "https://tidb.net/blog", | ||
| }, | ||
| { | ||
| name: "Education", | ||
| url: "https://cn.pingcap.com/education/", | ||
| url: "https://learn.pingcap.cn/learner/course", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }, | ||
| ], | ||
| }, | ||
|
|
@@ -364,7 +364,7 @@ export const ZH_FOOTER_ITEMS = [ | |
| }, | ||
| { | ||
| name: "联系我们", | ||
| url: "https://cn.pingcap.com/contact/", | ||
| url: "https://pingkai.cn/contact", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }, | ||
| ], | ||
| }, | ||
|
|
@@ -373,15 +373,15 @@ export const ZH_FOOTER_ITEMS = [ | |
| items: [ | ||
| { | ||
| name: "关于我们", | ||
| url: "https://cn.pingcap.com/about-us?tab=companyOverview", | ||
| url: "https://pingkai.cn/about", | ||
| }, | ||
| { | ||
| name: "招贤纳士", | ||
| url: "https://careers.pingcap.com", | ||
| }, | ||
| { | ||
| name: "新闻报道", | ||
| url: "https://cn.pingcap.com/company-activity/", | ||
| url: "https://pingkai.cn/news", | ||
| }, | ||
| ], | ||
| }, | ||
|
|
||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve maintainability and avoid hardcoded URLs, it's better to use the
ZH_PINGCAP_DOWNLOAD_URLconstant that is defined in this same file.