From d1e859b0621d40dca3d4b99c2b6165f97c4c6938 Mon Sep 17 00:00:00 2001 From: Chang Wei Date: Wed, 27 Mar 2024 23:09:14 +0800 Subject: [PATCH] update data: update url from 'https://learn.pingcap.com' to 'https://learn.pingcap.cn' --- .../src/nav/header/header.data-en.js | 6 ++--- .../src/nav/header/header.data-zh.js | 6 ++--- packages/i18n/locales/zh/page-home.json | 12 ++++----- src/pages/home/learning/Learning.component.js | 12 ++++----- src/pages/member/rules/index.page.js | 26 ++++++++++--------- .../talent-plan/others/Others.component.js | 2 +- 6 files changed, 33 insertions(+), 31 deletions(-) diff --git a/packages/datasource/src/nav/header/header.data-en.js b/packages/datasource/src/nav/header/header.data-en.js index 2d50257eb..e012692fd 100644 --- a/packages/datasource/src/nav/header/header.data-en.js +++ b/packages/datasource/src/nav/header/header.data-en.js @@ -19,7 +19,7 @@ export const navItems = [ items: [ { title: 'TiDB DBA Courses', - link: 'https://learn.pingcap.com/learner/course', + link: 'https://learn.pingcap.cn/learner/course', }, { title: 'Talent Plan Courses', @@ -32,11 +32,11 @@ export const navItems = [ items: [ { title: 'PingCAP Certified TiDB Associate (PCTA)', - link: 'https://learn.pingcap.com/learner/exam-market/list?category=PCTA', + link: 'https://learn.pingcap.cn/learner/exam-market/list?category=PCTA', }, { title: 'PingCAP Certified TiDB Professional (PCTP)', - link: 'https://learn.pingcap.com/learner/exam-market/list?category=PCTP', + link: 'https://learn.pingcap.cn/learner/exam-market/list?category=PCTP', }, ], }, diff --git a/packages/datasource/src/nav/header/header.data-zh.js b/packages/datasource/src/nav/header/header.data-zh.js index e61b57adf..9f8a1c3c6 100644 --- a/packages/datasource/src/nav/header/header.data-zh.js +++ b/packages/datasource/src/nav/header/header.data-zh.js @@ -19,7 +19,7 @@ export const navItems = [ items: [ { title: 'TiDB DBA 课程', - link: 'https://learn.pingcap.com/learner/course', + link: 'https://learn.pingcap.cn/learner/course', }, { title: 'Talent Plan 课程', @@ -32,11 +32,11 @@ export const navItems = [ items: [ { title: 'PingCAP Certified TiDB Associate (PCTA)', - link: 'https://learn.pingcap.com/learner/exam-market/list?category=PCTA', + link: 'https://learn.pingcap.cn/learner/exam-market/list?category=PCTA', }, { title: 'PingCAP Certified TiDB Professional (PCTP)', - link: 'https://learn.pingcap.com/learner/exam-market/list?category=PCTP', + link: 'https://learn.pingcap.cn/learner/exam-market/list?category=PCTP', }, ], }, diff --git a/packages/i18n/locales/zh/page-home.json b/packages/i18n/locales/zh/page-home.json index fa848fbf8..d32558a98 100644 --- a/packages/i18n/locales/zh/page-home.json +++ b/packages/i18n/locales/zh/page-home.json @@ -172,29 +172,29 @@ "title": "如何使用 TiDB", "desc": "<0>PingCAP Education 致力于培养开发、管理及应用分布式关系型数据库系统的一流人才。获得<1>能力认证的 TiDB 人才将在分布式数据库领域开启高亮职业生涯,拥抱无限可能。", "educationLink": "https://cn.pingcap.com/education/", - "certificateLink": "https://learn.pingcap.com/learner/certification-center", + "certificateLink": "https://learn.pingcap.cn/learner/certification-center", "videosTitle": "Get Started with TiDB", "more": "更多课程", - "moreLink": "https://learn.pingcap.com/learner/home", + "moreLink": "https://learn.pingcap.cn/learner/home", "majorVideo": { "desc": "学习 TiDB 由来、发展与演进,理解 TiDB 5.0 数据库的体系架构、技术创新、关键特性、应用案例与适用场景。", - "link": "https://learn.pingcap.com/learner/course/6", + "link": "https://learn.pingcap.cn/learner/course/6", "coverUrl": "learn-main-video-cover.jpg" }, "minorVideos": [ { "title": "TiDB 系统管理基础", - "link": "https://learn.pingcap.com/learner/course/30002", + "link": "https://learn.pingcap.cn/learner/course/30002", "coverUrl": "learn-minor-video-1-cover.jpg" }, { "title": "TiDB 故障排除", - "link": "https://learn.pingcap.com/learner/course/150002", + "link": "https://learn.pingcap.cn/learner/course/150002", "coverUrl": "learn-minor-video-2-cover.jpg" }, { "title": "TiDB 高级系统管理", - "link": "https://learn.pingcap.com/learner/course/120005", + "link": "https://learn.pingcap.cn/learner/course/120005", "coverUrl": "learn-minor-video-3-cover.jpg" } ], diff --git a/src/pages/home/learning/Learning.component.js b/src/pages/home/learning/Learning.component.js index 9579e51c0..8fb95060f 100644 --- a/src/pages/home/learning/Learning.component.js +++ b/src/pages/home/learning/Learning.component.js @@ -14,17 +14,17 @@ import LearningPingcapEducationSVG from './learning-pingcap-education.svg'; const minorVideos = [ { title: 'TiDB 特有功能与事务控制', - link: 'https://learn.pingcap.com/learner/course/750002', + link: 'https://learn.pingcap.cn/learner/course/750002', coverImage: learn_minor_video_1_cover_image, }, { title: '在 TiDB 上开发应用的最佳实践', - link: 'https://learn.pingcap.com/learner/course/780002', + link: 'https://learn.pingcap.cn/learner/course/780002', coverImage: learn_minor_video_2_cover_image, }, { title: 'TiDB 数据库核心原理与架构', - link: 'https://learn.pingcap.com/learner/course/960001', + link: 'https://learn.pingcap.cn/learner/course/960001', coverImage: learn_minor_video_3_cover_image, }, ]; @@ -100,12 +100,12 @@ const Learning = () => { PingCAP Education{' '} 致力于培养开发、管理及应用分布式关系型数据库系统的一流人才。获得 - 能力认证的 TiDB + 能力认证的 TiDB 人才将在分布式数据库领域开启高亮职业生涯,拥抱无限可能。 - + TiDB 的架构与特点 @@ -115,7 +115,7 @@ const Learning = () => { - + diff --git a/src/pages/member/rules/index.page.js b/src/pages/member/rules/index.page.js index f38bfd5a4..3b10d67a8 100644 --- a/src/pages/member/rules/index.page.js +++ b/src/pages/member/rules/index.page.js @@ -260,7 +260,7 @@ const Page = () => ( 50 仅 1 次 - 点击学习 + 点击学习 @@ -269,7 +269,7 @@ const Page = () => ( 50 仅 1 次 - 点击学习 + 点击学习 @@ -278,7 +278,7 @@ const Page = () => ( 50 仅 1 次 - 点击学习 + 点击学习 @@ -287,7 +287,7 @@ const Page = () => ( 100 仅 1 次 - 点击学习 + 点击学习 @@ -296,7 +296,7 @@ const Page = () => ( 50 仅 1 次 - 点击学习 + 点击学习 @@ -305,7 +305,7 @@ const Page = () => ( 100 仅 1 次 - 点击学习 + 点击学习 @@ -314,7 +314,7 @@ const Page = () => ( 50 仅 1 次 - 点击学习 + 点击学习 @@ -371,14 +371,16 @@ const Page = () => ( - 认证 + 认证 通过从业者认证 100 100 仅 1 次 - 从业者考试 + + 从业者考试 + @@ -387,7 +389,7 @@ const Page = () => ( 200 仅 1 次 - PCTA 考试 + PCTA 考试 @@ -396,7 +398,7 @@ const Page = () => ( 500 仅 1 次 - PCTP 考试 + PCTP 考试 @@ -405,7 +407,7 @@ const Page = () => ( 350 仅 1 次 - PCSD 考试 + PCSD 考试 diff --git a/src/pages/talent-plan/others/Others.component.js b/src/pages/talent-plan/others/Others.component.js index 18dd28132..cafd86b6c 100644 --- a/src/pages/talent-plan/others/Others.component.js +++ b/src/pages/talent-plan/others/Others.component.js @@ -12,7 +12,7 @@ const Others = () => {
  • 如果你对分布式数据库比较陌生,建议先从 PingCAP Education 学习网站{' '} - TiDB 入门课程{' '} + TiDB 入门课程{' '} 开始入手。你也可以通过神州数码制作的 分布式数据库应用