Skip to content

feat: adding the AI lab url #599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const features = [
title: "算法竞赛",
description: (
<Translate id="frontpage.sec1.item2">
2024 部门全新重启 - 备考 USACO - 算法 lecture
备考 USACO - 算法 lecture
</Translate>
),
},
Expand Down Expand Up @@ -89,9 +89,17 @@ function Home(): JSX.Element {
</div>
)}
<h3>
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
{title}
</Translate>
{title === "AI 部" ? (
<a href="http://ai-lab.club/">
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
{title}
</Translate>
</a>
) : (
<Translate id={`frontpage.sec1.item${idx + 1}.title`}>
{title}
</Translate>
)}
</h3>
<p>{description}</p>
</div>
Expand Down Expand Up @@ -130,7 +138,7 @@ function Home(): JSX.Element {
<div className={styles.card}>
<h3 className={styles.header}>
<Translate id="frontpage.sec2.item2">
C 社 2024-25 届开始招新!
C 社 2025-26 届开始招新!
</Translate>
</h3>
<div>
Expand Down
Loading