Skip to content

Commit 12e6b57

Browse files
committed
Update recruitment announcement and poster for 2026-27
1 parent f46b4d0 commit 12e6b57

4 files changed

Lines changed: 25 additions & 14 deletions

File tree

‎docusaurus.config.js‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = async function createConfigAsync() {
2626
announcementBar: {
2727
id: "join_us",
2828
content:
29-
'<b>🎉 C 社 2025-26 届开始招新啦</b>! <a target="_blank" rel="noopener noreferrer" href="https://mp.weixin.qq.com/s/K-qGy7XPybCxq0WBl9DV0A"></a>',
29+
'<b>🎉 C 社 2026-27 届开始招新啦</b>! <a target="_blank" rel="noopener noreferrer" href="https://mp.weixin.qq.com/s/K-qGy7XPybCxq0WBl9DV0A"></a>',
3030
backgroundColor: "#22292f",
3131
textColor: "#FFFFFF",
3232
isCloseable: false,
@@ -113,15 +113,13 @@ module.exports = async function createConfigAsync() {
113113
sidebarPath: require.resolve("./sidebars.js"),
114114
remarkPlugins: [(await import("remark-math")).default],
115115
rehypePlugins: [
116-
(await import("rehype-katex")).default,
117-
{ strict: false },
116+
[(await import("rehype-katex")).default, { strict: false }],
118117
],
119118
},
120119
blog: {
121120
remarkPlugins: [(await import("remark-math")).default],
122121
rehypePlugins: [
123-
(await import("rehype-katex")).default,
124-
{ strict: false },
122+
[(await import("rehype-katex")).default, { strict: false }],
125123
],
126124
},
127125
theme: {

‎i18n/en/code.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@
194194
"frontpage.sec2.item1": {
195195
"message": "Our homepage is officially here!"
196196
},
197+
"frontpage.sec2.recruitment2026": {
198+
"message": "Join Computerization for 2026–27!"
199+
},
197200
"frontpage.sec2.item2": {
198201
"message": "C 社 2022 届开始招新,欢迎你的加入!"
199202
},

‎src/pages/index.tsx‎

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ const features = [
2424
{
2525
title: "算法竞赛",
2626
description: (
27-
<Translate id="frontpage.sec1.item2">
28-
备考 USACO - 算法 lecture
29-
</Translate>
27+
<Translate id="frontpage.sec1.item2">备考 USACO - 算法 lecture</Translate>
3028
),
3129
},
3230
{
@@ -134,6 +132,22 @@ function Home(): JSX.Element {
134132
</div>
135133
</div>
136134
</div> */}
135+
<div className="col col--6">
136+
<div className={styles.card}>
137+
<h3 className={styles.header}>
138+
<Translate id="frontpage.sec2.recruitment2026">
139+
C 社 2026 届开始招新!
140+
</Translate>
141+
</h3>
142+
<div>
143+
<img
144+
style={{ maxWidth: "400px", width: "100%" }}
145+
alt="C 社 2026-27 届招新海报"
146+
src="/img/poster26.jpg"
147+
/>
148+
</div>
149+
</div>
150+
</div>
137151
<div className="col col--6">
138152
<div className={styles.card}>
139153
<h3 className={styles.header}>
@@ -153,9 +167,7 @@ function Home(): JSX.Element {
153167
<div className="col col--6">
154168
<div className={styles.card}>
155169
<h3 className={styles.header}>
156-
<Translate id="frontpage.sec2.item2">
157-
2024-2025
158-
</Translate>
170+
<Translate id="frontpage.sec2.item2">2024-2025</Translate>
159171
</h3>
160172
<div>
161173
<img
@@ -169,9 +181,7 @@ function Home(): JSX.Element {
169181
<div className="col col--6">
170182
<div className={styles.card}>
171183
<h3 className={styles.header}>
172-
<Translate id="frontpage.sec2.item2">
173-
2023-2024
174-
</Translate>
184+
<Translate id="frontpage.sec2.item2">2023-2024</Translate>
175185
</h3>
176186
<div>
177187
<img

‎static/img/poster26.jpg‎

142 KB
Loading

0 commit comments

Comments
 (0)