Skip to content

Commit afad02d

Browse files
committed
chore: Update links
1 parent d86c20c commit afad02d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/locales/en/components/home.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"star_text": "Star",
1414
"fork_text": "Fork",
1515
"copy_text": "Copy",
16-
"links": ["View documentation", "Go to playground", "Explore plugins", "Discover themes"]
16+
"links": ["View documentation", "Watch Tutorials", "Go to playground", "Explore plugins"]
1717
},
1818

1919
"features_section": {

public/locales/zh/components/home.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"star_text": "已加星标",
1313
"fork_text": "",
1414
"copy_text": "复制",
15-
"links": ["查看文档", "前往演示区", "探索插件", "发现主题"]
15+
"links": ["查看文档", "观看教程", "前往演示区", "探索插件"]
1616
},
1717
"features_section": {
1818
"title": "我们的优势",

src/components/Home/HeroSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const HeroSection = (): JSX.Element => {
5151
const currentTitle = t(`hero_section.title.${titleIndex}`);
5252
const link_buttons = useMemo(() => {
5353
const texts = t('hero_section.links', { returnObjects: true }) as string[];
54-
const urls = [Endpoints.projectQuickStartUrl, Endpoints.projectPlaygroundUrl, '/plugins', '/themes'];
54+
const urls = [Endpoints.projectQuickStartUrl, Endpoints.youtubeCoreUrl, Endpoints.projectPlaygroundUrl, '/plugins'];
5555
return texts.map((text, i) => ({ text, url: urls[i] ?? '#' }));
5656
}, [t]);
5757

0 commit comments

Comments
 (0)