Skip to content

Commit 7c104f8

Browse files
committed
add i18n
1 parent a3f863a commit 7c104f8

File tree

290 files changed

+25444
-3442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+25444
-3442
lines changed

config.toml

Lines changed: 106 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
baseURL = "https://uichcc.com/"
2-
languageCode = "en-us"
2+
# languageCode = "en-us"
33
title = "UICHCC 计算机俱乐部"
44
theme = "uichccSkeleton"
55

@@ -11,11 +11,113 @@ PygmentesUseClasses = false
1111
pygmentsStyle = "github"
1212
pygmentsOptions = "linenos=true"
1313

14+
DefaultContentLanguage = "en"
15+
1416
[params]
1517
ghrepo = "https://github.com/uichcc/uichcc-hugo/"
16-
siteKeyword = "UIC, Computer, CS, Computer Science, UICHCC Computer Club, United International College"
17-
siteDescription = "UIC HCC 计算机俱乐部网站"
18-
organizationName = "UIC HCC Computer Club"
18+
19+
20+
[languages]
21+
[languages.en]
22+
title = "UICHCC Computer Club"
23+
weight = 1
24+
contentDir = "content/en"
25+
[languages.en.params]
26+
siteKeyword = "UIC, Computer, CS, Computer Science, UICHCC Computer Club, United International College"
27+
siteDescription = "UICHCC Computer Club Homepage"
28+
organizationName = "UIC HCC Computer Club"
29+
[[languages.en.menu.main]]
30+
identifier = "home"
31+
name = "Home"
32+
title = "Homepage"
33+
url = "/"
34+
weight = -110
35+
[[languages.en.menu.main]]
36+
identifier = "events"
37+
name = "Events"
38+
title = "Events"
39+
url = "/events/"
40+
weight = -100
41+
[[languages.en.menu.main]]
42+
identifier = "blog"
43+
name = "Blog"
44+
title = "Articles by UICHCC"
45+
url = "/blog/"
46+
weight = -90
47+
[[languages.en.menu.main]]
48+
identifier = "projects"
49+
name = "Projects"
50+
title = "Projects in UICHCC"
51+
url = "/projects/"
52+
weight = -80
53+
[[languages.en.menu.main]]
54+
identifier = "groups"
55+
name = "Groups"
56+
title = "UICHCC Groups"
57+
url = "/groups/"
58+
weight = -70
59+
[[languages.en.menu.main]]
60+
identifier = "about"
61+
name = "About"
62+
title = "About UICHCC"
63+
url = "/about/"
64+
weight = -60
65+
[[languages.en.menu.main]]
66+
identifier = "contact_us"
67+
name = "Contact Us"
68+
title = "Contact UICHCC"
69+
url = "/contacts/"
70+
weight = -50
71+
[languages.cn]
72+
title = "UICHCC 计算机俱乐部"
73+
weight = 2
74+
contentDir = "content/cn"
75+
[languages.cn.params]
76+
siteKeyword = "联合国际学院, 计算机, 计算机科学, UICHCC 计算机俱乐部, 北师港浸大"
77+
siteDescription = "UICHCC 计算机俱乐部网站"
78+
organizationName = "UIC HCC 计算机俱乐部"
79+
[[languages.cn.menu.main]]
80+
identifier = "home"
81+
name = "首页"
82+
title = "首页"
83+
url = "/"
84+
weight = -110
85+
[[languages.cn.menu.main]]
86+
identifier = "events"
87+
name = "活动"
88+
title = "活动"
89+
url = "/events/"
90+
weight = -100
91+
[[languages.cn.menu.main]]
92+
identifier = "blog"
93+
name = "博客"
94+
title = "来自 UICHCC 的文章"
95+
url = "/blog/"
96+
weight = -90
97+
[[languages.cn.menu.main]]
98+
identifier = "projects"
99+
name = "项目"
100+
title = "UICHCC 的项目"
101+
url = "/projects/"
102+
weight = -80
103+
[[languages.cn.menu.main]]
104+
identifier = "groups"
105+
name = "小组"
106+
title = "小组"
107+
url = "/groups/"
108+
weight = -70
109+
[[languages.cn.menu.main]]
110+
identifier = "about"
111+
name = "关于我们"
112+
title = "关于 UICHCC"
113+
url = "/about/"
114+
weight = -60
115+
[[languages.cn.menu.main]]
116+
identifier = "contact_us"
117+
name = "联系我们"
118+
title = "联系 UICHCC"
119+
url = "/contacts/"
120+
weight = -50
19121

20122

21123
[menu]

content/cn/_index.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: "主页"
3+
enableFA: false
4+
enableJoinUs: true
5+
carousel: true
6+
featurePhoto: false
7+
features:
8+
- heading: 开源社区
9+
image_path: /images/osc.svg
10+
body: 我们深信开源的意义,如果没有开源软件和公众版权(Copyleft)作品,今天的科技将不会如此发达;当然也不会存在我们这个俱乐部。秉承着开源和知识共享的精神,我们决定将俱乐部内所有的成果开放给成员,和公众。
11+
12+
- heading: L10n 小组
13+
image_path: /images/l10n.svg
14+
body: L10n 代表着本地化。将开源软件以使用者母语的形式呈现是推动开源软件发展的方式。参与本地化也是贡献开源和自由软件社区最简单的方法——代码能力并不是必须的!欢迎您加入我们!
15+
16+
- heading: IT 课程答疑
17+
image_path: /images/it.svg
18+
body: 所有北师港浸大的学生都必修 IT 课程。为了帮助学生掌握现代 IT 技术。我们为所有的学生设置了课程答疑的课程。因为我们真诚的希望所有学生都能在这门课上获得好成绩,熟练掌握 IT 知识。
19+
20+
carouselSlides:
21+
- heading: uicCourse
22+
ctype: "HCC 项目:"
23+
desc: 为你打造的课程信息检索系统
24+
image_path: https://i.loli.net/2019/08/19/oUd9EyAq4rwIzHR.jpg
25+
btns:
26+
- color: success
27+
content: 立即体验
28+
href: https://course.uichcc.app/
29+
- color: info
30+
content: 了解更多
31+
href: /projects/uiccourse/
32+
33+
- heading: 技术沙龙
34+
ctype: "HCC 活动:"
35+
desc: 相关信息和资源
36+
image_path: https://i.loli.net/2019/08/19/nliKQBgYjW5bxMe.jpg
37+
btns:
38+
- color: primary
39+
content: 了解更多
40+
href: /events/
41+
42+
- heading: UIC HCC 计算机俱乐部
43+
desc: 一个北师港浸大内的学生兴趣俱乐部
44+
image_path: https://i.loli.net/2017/09/09/59b3d65eb98bd.jpg
45+
btns:
46+
- color: primary
47+
content: 关于我们
48+
href: /about/
49+
---

content/cn/about/_index.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: "关于我们"
3+
enableFA: true
4+
enableJoinUs: false
5+
carousel: true
6+
featurePhoto: false
7+
carouselSlides:
8+
- heading: HCC 背后的一群人
9+
desc: 👩‍💻 & 👨‍💻.
10+
image_path: https://i.loli.net/2019/08/19/PiIYTyMlFgHSAmd.jpg
11+
12+
- heading: 我们创造
13+
desc: 没有什么可以阻止我们的创新思维。 我们不断产生 “与众不同” 的想法,并进行不同领域的项目,不仅仅是软件,还有更多。
14+
image_path: https://i.loli.net/2017/09/16/59bcdffd19488.jpg
15+
16+
- heading: 我们倡导
17+
desc: 作为北师港浸大的学生,我们有责任推动学校的信息技术发展,同时我们也尽力营造技术氛围并进行传播。
18+
image_path: https://i.loli.net/2017/09/16/59bcdffd1cb9b.jpg
19+
20+
- heading: 我们开放
21+
desc: 没有分享我们的俱乐部就不会那么发达。 我们站在巨人的肩膀上。 因此,我们始终将开源和知识共享付诸实践。
22+
image_path: https://i.loli.net/2017/09/14/59b9f4619691b.jpg
23+
---
24+
25+
<div class="text-center">
26+
<img class="img-fluid" src="/img/uichccblack.svg" style="height: 50px">
27+
<p style="font-size: 26px; margin-top: 2rem">拉进你与科技的距离</p>
28+
<p>你可以访问我们的规章制度仓库以获取更多信息。</p>
29+
<p><a href="https://github.com/UICHCC/HCC-Regulations" class="btn btn-primary"><i class="fab fa-github" aria-hidden="true"></i> HCC-Regulations</a></p>
30+
</div>
31+
32+
<div>
33+
<hr class="featurette-divider">
34+
35+
<!-- /END THE FEATURETTES -->
36+
<div class="thx" style="line-height: 30px">
37+
<p>本站的开发使用了以下开源项目,公有领域图库,免费内容分发网络和图片储存服务,点击并了解这些项目!</p>
38+
<a href="https://getbootstrap.com/"><img src="thx/boostrap.svg" height="30px"></a> &middot;
39+
<a href="https://gohugo.io/"><img src="thx/hugo.svg" height="30px"></a> &middot;
40+
<a href="http://www.bootcdn.cn/"><img src="thx/bootcdn.svg" height="30px"></a> &middot;
41+
<a href="https://unsplash.com/"><img src="thx/unsplash.svg" height="30px"></a> &middot;
42+
<a href="http://fontawesome.io/"><img src="thx/fontawesome.svg" height="30px"></a> &middot;
43+
<a href="https://www.cloudflare.com/"><img src="thx/cloudflare.svg" height="30px"></a> &middot;
44+
<a href="http://www.mattboldt.com/demos/typed-js/"><img src="thx/typedjs.svg" height="30px"></a> &middot;
45+
<a href="https://sm.ms/"><img src="thx/smms.svg" height="30px"></a>
46+
</div>
47+
<hr class="featurette-divider">
48+
<div class="thx" style="line-height: 30px">
49+
<p>特别感谢</p>
50+
<a href="http://uic.edu.hk/"><img src="thx/uic.svg" height="50px"></a>
51+
</div>
52+
</div>
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
title: "UICHCC 视觉规范"
3+
enableFA: false
4+
enableJoinUs: false
5+
carousel: false
6+
featurePhoto: true
7+
subtitle: "UICHCC 徽标背后的故事,以及一些简单的规则帮准你更好的传达 UIC HCC 的形象。"
8+
feature_photo_url: "https://i.loli.net/2017/09/12/59b6bcff992a6.jpg"
9+
---
10+
11+
<div>
12+
<h2>UICHCC 徽标</h2>
13+
<div class="text-center">
14+
<img class="img-fluid" src="/img/uichccblack.svg" style="height: 100px" />
15+
</div>
16+
<p class="text-secondary text-center small">
17+
UICHCC 徽标。 允许的最小数字版本大小:25 个像素(高度)
18+
</p>
19+
20+
<p>UICHCC 徽标是我们俱乐部身份的重要表现。应用于形象传达时,绝不应该扭曲或不按规则进行派生。由于徽标是一种可识别且高度可见的品牌资产,因此始终如一地应用徽标至关重要。
21+
</p>
22+
<div class="row">
23+
<div class="col-lg-6">
24+
<img
25+
class="card rounded img-fluid"
26+
src="https://upload.wikimedia.org/wikipedia/commons/0/0a/Original_1976_Apple_1_Computer_PCB.JPG"
27+
/>
28+
<p class="text-secondary small">
29+
来自 Binarysequence (个人作品) [<a
30+
href="http://creativecommons.org/licenses/by-sa/4.0"
31+
>CC BY-SA 4.0</a
32+
>], <i class="fa fa-wikipedia-w" aria-hidden="true"></i> Wikimedia
33+
Commons
34+
</p>
35+
</div>
36+
<div class="col-lg-6">
37+
<img
38+
class=" card rounded img-fluid"
39+
src="https://upload.wikimedia.org/wikipedia/commons/d/d3/Nagasaki_Prefectural_Art_Museum.jpg"
40+
/>
41+
<p class="text-secondary small">
42+
来自 No machine-readable author provided. Fusebok assumed (based on
43+
copyright claims). [Public domain], via Wikimedia Commons,
44+
<i class="fa fa-wikipedia-w" aria-hidden="true"></i> Wikimedia Commons
45+
</p>
46+
</div>
47+
</div>
48+
<p>
49+
The design of this logo is inspired by Nagasaki Prefectural Art Museum's
50+
visual design by Kenya Hara and the patten's idea comes from Apple Ⅰ's
51+
circuit board.
52+
</p>
53+
<h2>Solid color block beneath</h2>
54+
<p>
55+
When placing the UICHCC logo above a solid color block, you have to make
56+
sure that the width and the height of the logo isn't larger than 85% of the
57+
block.
58+
</p>
59+
<div class="row">
60+
<div class="col-lg-6">
61+
<img
62+
class="card rounded img-fluid"
63+
src="https://i.loli.net/2017/09/13/59b9555c94481.jpg"
64+
/>
65+
</div>
66+
<div class="col-lg-6">
67+
<img
68+
class=" card rounded img-fluid"
69+
src="https://i.loli.net/2017/09/13/59b9555c9447d.jpg"
70+
/>
71+
</div>
72+
</div>
73+
<p class="text-secondary text-center small">
74+
UICHCC logo with black &amp; white background, border for showing the edge.
75+
Minimum digital size: 150 pixels (height)
76+
</p>
77+
<h2>Color</h2>
78+
<h3>Correct Usage:</h3>
79+
<p>
80+
The UICHCC logo is primarily used in black and white. It can sit on top of
81+
opposite color background.
82+
</p>
83+
<h3>Incorrect Usage:</h3>
84+
<p>
85+
The UICHCC logo should never be used in white on top of any light colors.
86+
Additionally it shouldn’t be used with our dark colors, neither coloring it
87+
with a dark color, or using our primary black over a dark background.
88+
</p>
89+
</div>
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: "加入指南"
3+
enableFA: true
4+
enableJoinUs: false
5+
carousel: false
6+
featurePhoto: true
7+
subtitle: "你需要做什么,以及你应该如何做。"
8+
feature_photo_url: "https://i.loli.net/2018/01/10/5a55c79cd8651.jpg"
9+
---
10+
11+
<div>
12+
<h1>基础流程</h1>
13+
<hr />
14+
<div class="alert alert-primary" role="alert">
15+
<h4 class="alert-heading">
16+
<i class="fa fa-lightbulb-o" aria-hidden="true"></i> 第一步 · 做出决定
17+
</h4>
18+
<p>
19+
我们一般没有固定的招募时间(但一般是学生在校期间),如果你有兴趣加入,请立即加入我们。
20+
</p>
21+
<hr />
22+
<p class="mb-0">
23+
<a class="btn btn-primary" href="/" role="button"
24+
>继续了解 UIC HCC 计算机俱乐部</a
25+
>
26+
</p>
27+
</div>
28+
<div class="alert alert-warning" role="alert">
29+
<h4 class="alert-heading">
30+
<i class="fa fa-calendar" aria-hidden="true"></i> 第二步 · 预约面试
31+
</h4>
32+
<p>
33+
你需要发邮件于我们联系并预约面试。
34+
</p>
35+
<hr />
36+
<p class="mb-0">
37+
<a href="mailto:hi@uichcc.com" class="btn btn-warning">
38+
<i class="fa fa-envelope-o" aria-hidden="true"></i>发送邮件至 hi@uichcc.com</a
39+
>
40+
</p>
41+
</div>
42+
<div class="alert alert-danger" role="alert">
43+
<h4 class="alert-heading">
44+
<i class="fa fa-comments" aria-hidden="true"></i> 第三步 · 参加面试
45+
</h4>
46+
<p class="mb-0">
47+
你不需要做过多的准备,按时参加面试就好。
48+
</p>
49+
</div>
50+
<div class="alert alert-success" role="alert">
51+
<h4 class="alert-heading">
52+
<i class="fa fa-hand-spock-o" aria-hidden="true"></i> 第四部 · 等待结果
53+
</h4>
54+
<p class="mb-0">结果将通过邮件发放。</p>
55+
</div>
56+
</div>

0 commit comments

Comments
 (0)