Skip to content

Commit 2695f65

Browse files
authored
feat: adding the AI lab url (#599)
* feat: adding the AI lab url adding the AI lab url * fix: modifying outdated info
1 parent 5569d11 commit 2695f65

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/pages/index.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const features = [
2525
title: "算法竞赛",
2626
description: (
2727
<Translate id="frontpage.sec1.item2">
28-
2024 部门全新重启 - 备考 USACO - 算法 lecture
28+
备考 USACO - 算法 lecture
2929
</Translate>
3030
),
3131
},
@@ -89,9 +89,17 @@ function Home(): JSX.Element {
8989
</div>
9090
)}
9191
<h3>
92-
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
93-
{title}
94-
</Translate>
92+
{title === "AI 部" ? (
93+
<a href="http://ai-lab.club/">
94+
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
95+
{title}
96+
</Translate>
97+
</a>
98+
) : (
99+
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
100+
{title}
101+
</Translate>
102+
)}
95103
</h3>
96104
<p>{description}</p>
97105
</div>
@@ -130,7 +138,7 @@ function Home(): JSX.Element {
130138
<div className={styles.card}>
131139
<h3 className={styles.header}>
132140
<Translate id="frontpage.sec2.item2">
133-
C 社 2024-25 届开始招新!
141+
C 社 2025-26 届开始招新!
134142
</Translate>
135143
</h3>
136144
<div>

0 commit comments

Comments
 (0)