-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebuild features and topBanner file structure
- Loading branch information
1 parent
685e671
commit 5295ab8
Showing
9 changed files
with
196 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React, { type ReactNode } from 'react'; | ||
import Translate, { translate } from '@docusaurus/Translate'; | ||
|
||
export type FeatureItem = { | ||
title: string; | ||
Svg: string; | ||
description: ReactNode; | ||
}; | ||
|
||
const FeatureList: FeatureItem[] = [ | ||
{ | ||
title: translate({ "message": '软件部', "id": "homepage.features.software.title" }), | ||
Svg: 'img/software.svg', | ||
description: ( | ||
<Translate id="homepage.features.software.description"> | ||
软件部负责人工智能挑战赛,学生节游戏平台,电子设计大赛平台的搭建测试,网站维护等工作,我们注重代码质量和团队协作,欢迎你的加入! | ||
</Translate> | ||
), | ||
}, | ||
{ | ||
title: translate({ "message": '硬件部', "id": "homepage.features.hardware.title" }), | ||
Svg: 'img/hardware.svg', | ||
description: ( | ||
<Translate id="homepage.features.hardware.description"> | ||
硬件部专注于硬件创新与开发,负责电子设计大赛,机器狗等比赛的开发,期待你的加入! | ||
</Translate> | ||
), | ||
}, | ||
{ | ||
title: translate({ "message": '学创部', "id": "homepage.features.innovation.title" }), | ||
Svg: 'img/innovation.svg', | ||
description: ( | ||
<Translate id="homepage.features.innovation.description"> | ||
学创部负责对接学校的各类科研培养项目,如星火计划、挑战杯,与企业实验室对接,帮助同学们完成人生发展规划,欢迎你的加入! | ||
</Translate> | ||
), | ||
}, | ||
]; | ||
|
||
export default FeatureList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.