Skip to content

Commit a736439

Browse files
committed
feat: adding the AI lab url
adding the AI lab url
1 parent 5569d11 commit a736439

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/pages/index.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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>

0 commit comments

Comments
 (0)