forked from Gitlink/forgeplus-react
glcc2026上线
This commit is contained in:
parent
1fa150f338
commit
aff2fbd984
|
|
@ -1,20 +1,22 @@
|
|||
import fetch from './fetch';
|
||||
|
||||
// 当前glcc
|
||||
export const currentRound = 4;
|
||||
export const currentRound = 5;
|
||||
export const rewardMoney = "现金奖励"
|
||||
export const rewardSettingRound = 3;
|
||||
export const yearByRound = {
|
||||
1: 2022,
|
||||
2: 2023,
|
||||
3: 2024,
|
||||
4: 2025
|
||||
4: 2025,
|
||||
5: 2026
|
||||
}
|
||||
export const roundByYear = {
|
||||
2022: 1,
|
||||
2023: 2,
|
||||
2024: 3,
|
||||
2025: 4
|
||||
2025: 4,
|
||||
2026: 5
|
||||
}
|
||||
|
||||
// 获取当前用户项目报名信息(项目、课题)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import PreviousReview from './previousReview';
|
|||
import banner from "../img/banner.png";
|
||||
import banner2024 from "../img/banner2024.jpg";
|
||||
import banner2025 from "../img/banner2025.jpg";
|
||||
import banner2026 from "../img/banner2026.png";
|
||||
import introduce from "../img/introduce.png";
|
||||
import apply1 from "../img/apply1.png";
|
||||
import apply2 from "../img/apply2.png";
|
||||
|
|
@ -43,7 +44,7 @@ export default (props) => {
|
|||
|
||||
return (
|
||||
<div className="glcc">
|
||||
<img className="glcc-banner" src={round === 3 ? banner2024 : round !== currentRound ? banner : banner2025} alt=""></img>
|
||||
<img className="glcc-banner" src={round === currentRound ? banner2026 : round === 3 ? banner2024 : round === 4 ? banner2025 : banner} alt=""></img>
|
||||
{/* 往期回顾 */}
|
||||
{round !== currentRound ? <div className="applyBox">
|
||||
<Link className="apply" to={`/glcc/${id}/result`}>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,60 @@ function Lightspot({round}) {
|
|||
noArrow: true,
|
||||
}
|
||||
]
|
||||
const step = round === 2 ? stepArr2023 : stepArr2022
|
||||
const stepArr2025 = [{
|
||||
title: "Step1",
|
||||
date: "4.15",
|
||||
content: "GLCC夏令营活动发布"
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "4.15-7.4",
|
||||
content: "社区项目报名,提交课题"
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "5.1-7.1",
|
||||
content: "课题审核及公布"
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "5.22-7.5",
|
||||
content: "学生报名,提交Proposal"
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "7.10",
|
||||
content: "公示入选学生名单",
|
||||
noArrow: true,
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "6.28-8.10",
|
||||
content: "项目开发第一阶段",
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "8.22",
|
||||
content: "中期考核,公示考核结果",
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "8.22-9.14",
|
||||
content: "项目开发第二阶段",
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "9.26",
|
||||
content: "结项考核,公示考核结果",
|
||||
},
|
||||
{
|
||||
title: "Step2",
|
||||
date: "10",
|
||||
content: "优秀项目/学生公布及颁奖",
|
||||
noArrow: true,
|
||||
}
|
||||
]
|
||||
const step = round === 4 ? stepArr2025 : round === 2 ? stepArr2023 : stepArr2022
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="lightspot pb100">
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ function TimerShaft(props) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="timerShaft">
|
||||
{/* <div className="timerShaft">
|
||||
<div className="glcc-content">
|
||||
<h3 className="glcc-tit">时间规划</h3>
|
||||
<div className="time-content">
|
||||
|
|
@ -134,7 +134,7 @@ function TimerShaft(props) {
|
|||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> */}
|
||||
</Fragment>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
|
|
@ -29,6 +29,11 @@ function SiderBar() {
|
|||
GLCC2024
|
||||
</a>
|
||||
</Menu.Item>
|
||||
<Menu.Item>
|
||||
<a target="_blank" rel="noopener noreferrer" href="/glcc/2025">
|
||||
GLCC2025
|
||||
</a>
|
||||
</Menu.Item>
|
||||
</Menu>
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue