Skip to content

Commit

Permalink
update data: update url from 'https://learn.pingcap.com' to 'https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
cw1997 committed Mar 27, 2024
1 parent fe99548 commit d1e859b
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 31 deletions.
6 changes: 3 additions & 3 deletions packages/datasource/src/nav/header/header.data-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions packages/datasource/src/nav/header/header.data-zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 课程',
Expand All @@ -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',
},
],
},
Expand Down
12 changes: 6 additions & 6 deletions packages/i18n/locales/zh/page-home.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,29 +172,29 @@
"title": "如何使用 TiDB",
"desc": "<0>PingCAP Education</0> 致力于培养开发、管理及应用分布式关系型数据库系统的一流人才。获得<1>能力认证</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"
}
],
Expand Down
12 changes: 6 additions & 6 deletions src/pages/home/learning/Learning.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
];
Expand Down Expand Up @@ -100,12 +100,12 @@ const Learning = () => {
<Styled.Text>
<Styled.Link href={'https://cn.pingcap.com/education'}>PingCAP Education</Styled.Link>{' '}
致力于培养开发、管理及应用分布式关系型数据库系统的一流人才。获得
<Styled.Link href={'https://learn.pingcap.com/learner/certification-center'}>能力认证</Styled.Link>的 TiDB
<Styled.Link href={'https://learn.pingcap.cn/learner/certification-center'}>能力认证</Styled.Link>的 TiDB
人才将在分布式数据库领域开启高亮职业生涯,拥抱无限可能。
</Styled.Text>

<Styled.VideoHeader>
<Styled.TitleLink href="https://learn.pingcap.com/learner/course/600003">
<Styled.TitleLink href="https://learn.pingcap.cn/learner/course/600003">
TiDB 的架构与特点
</Styled.TitleLink>
</Styled.VideoHeader>
Expand All @@ -115,7 +115,7 @@ const Learning = () => {
<Styled.VideoBoxWrapper $isSmallScreen={isSmallScreen}>
<Styled.VideoBox $isSmallScreen={isSmallScreen} $src={learn_minor_video_1_cover_image.src}>
<Styled.VideoPlayButton>
<Anchor href={'https://learn.pingcap.com/learner/course/600003'}>
<Anchor href={'https://learn.pingcap.cn/learner/course/600003'}>
<Styled.VideoPlayIcon color="white" height="48px" />
</Anchor>
</Styled.VideoPlayButton>
Expand Down
26 changes: 14 additions & 12 deletions src/pages/member/rules/index.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const Page = () => (
<td>50</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/6">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/6">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -269,7 +269,7 @@ const Page = () => (
<td>50</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/600003">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/600003">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -278,7 +278,7 @@ const Page = () => (
<td>50</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/30002">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/30002">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -287,7 +287,7 @@ const Page = () => (
<td>100</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/120005">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/120005">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -296,7 +296,7 @@ const Page = () => (
<td>50</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/570012">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/570012">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -305,7 +305,7 @@ const Page = () => (
<td>100</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/540005">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/540005">点击学习</Anchor>
</td>
</tr>
<tr>
Expand All @@ -314,7 +314,7 @@ const Page = () => (
<td>50</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/course/690007">点击学习</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/course/690007">点击学习</Anchor>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -371,14 +371,16 @@ const Page = () => (
</tr>
<tr>
<td rowSpan="4">
<Anchor href="https://learn.pingcap.com/learner/certification-center">认证</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/certification-center">认证</Anchor>
</td>
<td>通过从业者认证</td>
<td>100</td>
<td>100</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/exam-market/list?category=%E4%BB%8E%E4%B8%9A%E8%80%85">从业者考试</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/exam-market/list?category=%E4%BB%8E%E4%B8%9A%E8%80%85">
从业者考试
</Anchor>
</td>
</tr>
<tr>
Expand All @@ -387,7 +389,7 @@ const Page = () => (
<td>200</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/exam-market/list?category=PCTA">PCTA 考试</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/exam-market/list?category=PCTA">PCTA 考试</Anchor>
</td>
</tr>
<tr>
Expand All @@ -396,7 +398,7 @@ const Page = () => (
<td>500</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/exam-market/list?category=PCTP">PCTP 考试</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/exam-market/list?category=PCTP">PCTP 考试</Anchor>
</td>
</tr>
<tr>
Expand All @@ -405,7 +407,7 @@ const Page = () => (
<td>350</td>
<td>仅 1 次</td>
<td>
<Anchor href="https://learn.pingcap.com/learner/exam-market/list?category=PCSD">PCSD 考试</Anchor>
<Anchor href="https://learn.pingcap.cn/learner/exam-market/list?category=PCSD">PCSD 考试</Anchor>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/talent-plan/others/Others.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Others = () => {
<ul>
<li>
如果你对分布式数据库比较陌生,建议先从 PingCAP Education 学习网站{' '}
<Styled.Link href="https://learn.pingcap.com/learner/course/600003">TiDB 入门课程</Styled.Link>{' '}
<Styled.Link href="https://learn.pingcap.cn/learner/course/600003">TiDB 入门课程</Styled.Link>{' '}
开始入手。你也可以通过神州数码制作的
<Styled.Link href="https://www.bilibili.com/video/BV1Zh411i7Tp/?spm_id_from=333.337.search-card.all.click&vd_source=448ecb3691855b619da9f75851b12964">
分布式数据库应用
Expand Down

0 comments on commit d1e859b

Please sign in to comment.