Skip to content

Commit fcb79e0

Browse files
committed
Update page content & simplify page structure
1 parent 289d40c commit fcb79e0

5 files changed

Lines changed: 269 additions & 253 deletions

File tree

readme/content.json

Lines changed: 69 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
"wechat": "greylihui"
88
},
99
"social_links": [
10+
{
11+
"name": "GitHub",
12+
"name_zh": "GitHub",
13+
"url": "https://github.com/codekitchen-community",
14+
"icon": "🐙",
15+
"handle": "@codekitchen-community"
16+
},
1017
{
1118
"name": "Twitter",
1219
"name_zh": "Twitter",
@@ -46,29 +53,25 @@
4653
"readme": {
4754
"en": {
4855
"title": "CodeKitchen Community",
49-
"sections": [
50-
{
51-
"type": "highlight_box",
56+
"sections": {
57+
"intro": {
5258
"content": "<strong>CodeKitchen Community</strong> is a group formed by people who are passionate about programming and open source. The heart of the community is the website <a href=\"https://codekitchen.community\" target=\"_blank\">https://codekitchen.community</a>."
5359
},
54-
{
60+
"about_us": {
5561
"id": "about-us",
5662
"title": "About Us",
57-
"type": "section",
5863
"content": [
5964
"We see programming as both a personal hobby and a fundamental skill in the modern world. Open source, in turn, serves as a way for developers to connect, collaborate, and drive technology forward together.",
6065
"We're dedicated to exploring, educating, and promoting both. From time to time, the community hosts events related to programming and open source, helping more people discover—or rediscover—the joy of coding."
6166
]
6267
},
63-
{
68+
"social_media": {
6469
"id": "social-media",
65-
"title": "Social Media",
66-
"type": "social_links"
70+
"title": "Social Media"
6771
},
68-
{
72+
"events": {
6973
"id": "events",
7074
"title": "Community Events",
71-
"type": "image_section",
7275
"image": "https://codekitchen.community/uploads/default/original/2X/6/6176f181166439a3c3e780aea83ba52faeed3a79.jpeg",
7376
"alt": "Song of Open Source",
7477
"content": [
@@ -78,8 +81,7 @@
7881
"Each sprint, participating projects create tasks and act as mentors to help contributors complete one open source contribution."
7982
]
8083
},
81-
{
82-
"type": "image_section",
84+
"other_events": {
8385
"image": "https://codekitchen.community/uploads/default/original/2X/b/b54d736dfdc461e3e0304b0534012956a38ff5d8.jpeg",
8486
"alt": "Kitchen Activities",
8587
"reverse": true,
@@ -89,8 +91,7 @@
8991
"So far, we've held six editions of the CodeKitchen Open Source Song (开源松)."
9092
]
9193
},
92-
{
93-
"type": "image_section",
94+
"join_committee": {
9495
"image": "https://codekitchen.community/uploads/default/original/2X/5/5ec2356aab5a22e2d9ac39ae2c9a47c53901e70e.jpeg",
9596
"alt": "Kitchen Committee",
9697
"content": [
@@ -104,15 +105,13 @@
104105
"url": "https://jsj.top/f/LHzJBH"
105106
}
106107
},
107-
{
108+
"contact": {
108109
"id": "contact-collaboration",
109-
"title": "Contact for Collaboration",
110-
"type": "contact_info"
110+
"title": "Contact for Collaboration"
111111
},
112-
{
112+
"mission": {
113113
"id": "our-mission",
114114
"title": "Our Mission",
115-
"type": "section",
116115
"content": [
117116
"To create a vibrant community where developers can:"
118117
],
@@ -123,127 +122,115 @@
123122
{"number": "Share", "label": "Contribute to open source"}
124123
]
125124
},
126-
{
125+
"get_involved": {
127126
"id": "get-involved",
128127
"title": "Get Involved",
129-
"type": "section",
130128
"content": [
131129
"Join us in our mission to make programming and open source accessible to everyone. Whether you're a beginner or an expert, there's a place for you in our community.",
132130
"Visit our website at <a href=\"https://codekitchen.community\" target=\"_blank\">codekitchen.community</a> to learn more about upcoming events and how to get involved.",
133131
"We regularly organize workshops, hackathons, and meetups to bring developers together and foster learning and collaboration."
134132
]
135133
}
136-
]
134+
}
137135
},
138136
"zh": {
139137
"title": "代码厨房社区",
140-
"sections": [
141-
{
142-
"type": "highlight_box",
143-
"content": "<strong>代码厨房(CodeKitchen Community)</strong>是一个由编程和和开源爱好者组成的社区。社区的主体是 <a href=\"https://codekitchen.community\" target=\"_blank\">https://codekitchen.community</a> 网站。"
138+
"sections": {
139+
"intro": {
140+
"content": "代码厨房(CodeKitchen Community)是一个由编程和和开源爱好者组成的社区。社区的主体是 <a href=\"https://codekitchen.community\" target=\"_blank\">https://codekitchen.community</a> 网站。"
144141
},
145-
{
142+
"about_us": {
146143
"id": "about-us",
147-
"title": "关于我们",
148-
"type": "section",
144+
"title": "About Us",
149145
"content": [
150-
"编程作为一种爱好和现代人类基本技能,开源作为开发者之间建立友好连接并共同推动技术发展的方式。我们热衷于这两者的探索、教育和推广。",
146+
"“编程”作为一种爱好和现代人类基本技能,“开源”作为开发者之间建立友好连接并共同推动技术发展的方式。我们热衷于这两者的探索、教育和推广。",
151147
"社区会不定期举办一些编程和开源相关的活动,让更多的人发现或重新发现编程的乐趣。"
152148
]
153149
},
154-
{
150+
"social_media": {
155151
"id": "social-media",
156-
"title": "社交媒体",
157-
"type": "social_links"
152+
"title": "Useful Links"
158153
},
159-
{
154+
"events": {
160155
"id": "events",
161-
"title": "厨房活动",
162-
"type": "image_section",
156+
"title": "Features",
163157
"image": "https://codekitchen.community/uploads/default/original/2X/6/6176f181166439a3c3e780aea83ba52faeed3a79.jpeg",
164158
"alt": "开源松",
165159
"content": [
166-
"<strong>开源松 🌲:让我们一起种树(开源)吧!</strong>",
167-
"简单来说,这是一个程序员免费打工活动——开源参与计划(简化版开源黑客马拉松)",
168-
"这也是一个鼓励和帮助大家贡献开源、促进开源项目发展、孵化新项目想法的倡议",
169-
"每个 sprint,参与的项目都会创建任务并担任导师,帮助贡献者完成一次开源贡献"
160+
"<strong>开源松:一起来做开源项目吧!</strong>",
161+
"开源松(Song of Open Source)是一个鼓励和帮助大家参与开源项目、推动开源项目发展、孵化项目 idea 的活动",
162+
"目前为止,我们已经举办了六次代码厨房开源松。每一期开源松,我们会邀请或召集开源项目参加,项目维护者会创建任务并担任导师,帮助贡献者完成一次开源贡献",
163+
"如果你有开源项目想要加入,欢迎来 <a href=\"https://codekitchen.community/t/topic/1159\" target=\"_blank\">这里</a> 报名。想要参与开源松的朋友可以关注我们的社交媒体,以便了解最新的开源松动态"
170164
]
171165
},
172-
{
173-
"type": "image_section",
166+
"other_events": {
174167
"image": "https://codekitchen.community/uploads/default/original/2X/b/b54d736dfdc461e3e0304b0534012956a38ff5d8.jpeg",
175168
"alt": "厨房活动",
176169
"reverse": true,
177170
"content": [
178171
"<strong>厨房活动</strong>",
179-
"由代码厨房或社区成员组织的有趣活动。也欢迎大家分享其他有趣的活动。",
180-
"到目前为止,我们已经举办了六次代码厨房开源松。"
172+
"除了开源松,我们也会举办其他由代码厨房或社区成员发起的有趣活动。",
173+
"我们计划在 2026 年筹备一场代码厨房年会(CodeKitchenConf)——由编程和开源爱好者办给自己和朋友们的年度聚会。目标是一场最小商业氛围、回归人类作为主体、在好玩的同时产生价值的技术会议。",
174+
"访问我们的 <a href=\"https://codekitchen.community/c/events\" target=\"_blank\">活动页面</a> 查看即将举行的活动!"
181175
]
182176
},
183-
{
184-
"type": "image_section",
185-
"image": "https://codekitchen.community/uploads/default/original/2X/5/5ec2356aab5a22e2d9ac39ae2c9a47c53901e70e.jpeg",
177+
"join_committee": {
178+
"image": "https://codekitchen.community/uploads/default/original/2X/9/9b1be299627d0ef4c0f4b3586a750f13c954de99.jpeg",
186179
"alt": "厨房委员会",
187180
"content": [
188181
"<strong>加入厨房委员会</strong>",
189182
"想帮助我们策划和组织下一个有趣的活动吗?填写下面的申请表,加入我们的志愿者团队——<em>厨房委员会</em>。",
190-
"我们正在准备代码厨房年会(CodeKitchenConf),并计划创造一些有趣的内容。",
191-
"附注:如果你热爱音乐并会演奏乐器,代码厨房乐队也在寻找新成员。"
183+
"我们想以更开放的方式来建设社区,因此大部分的社区管理事务会在网站上公开讨论。你可以阅读 <a href=\"https://codekitchen.community/c/kitchen\" target=\"_blank\">后厨分类</a> 下的主题,了解我们正在做什么。欢迎加入讨论和参与进来!"
192184
],
193185
"cta": {
194-
"text": "📝 申请加入厨房委员会",
186+
"text": "📝 加入厨房委员会",
195187
"url": "https://jsj.top/f/LHzJBH"
196188
}
197189
},
198-
{
190+
"contact": {
199191
"id": "contact-collaboration",
200-
"title": "合作联系",
201-
"type": "contact_info"
192+
"title": "Contact"
202193
},
203-
{
194+
"mission": {
204195
"id": "our-mission",
205-
"title": "我们的使命",
206-
"type": "section",
196+
"title": "Missions",
207197
"content": [
208-
"创建一个充满活力的社区,让开发者可以"
198+
"我们希望可以创建一个让人放松和有所收获的社区,让社区成员可以"
209199
],
210200
"stats": [
211-
{"number": "学习", "label": "探索新技术"},
201+
{"number": "学习", "label": "入门编程和探索新技术"},
212202
{"number": "连接", "label": "建立有意义的关系"},
213-
{"number": "创造", "label": "构建出色的项目"},
214-
{"number": "分享", "label": "贡献开源项目"}
203+
{"number": "创造", "label": "实现新的想法和创意"},
204+
{"number": "分享", "label": "参与讨论并贡献开源项目"}
215205
]
216206
},
217-
{
207+
"get_involved": {
218208
"id": "get-involved",
219-
"title": "参与其中",
220-
"type": "section",
209+
"title": "Join Us",
221210
"content": [
222211
"加入我们的使命,让编程和开源对每个人都变得可及。无论你是初学者还是专家,在我们的社区中都有你的位置。",
223212
"访问我们的网站 <a href=\"https://codekitchen.community\" target=\"_blank\">codekitchen.community</a> 了解更多即将举行的活动以及如何参与。",
224213
"我们定期组织研讨会、黑客马拉松和聚会,将开发者聚集在一起,促进学习和协作。"
225214
]
226215
}
227-
]
216+
}
228217
}
229218
},
230219
"code_of_conduct": {
231220
"en": {
232221
"title": "Code of Conduct",
233-
"sections": [
234-
{
222+
"sections": {
223+
"pledge": {
235224
"id": "our-pledge",
236225
"title": "Our Pledge",
237-
"type": "section",
238226
"content": [
239227
"We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.",
240228
"We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community."
241229
]
242230
},
243-
{
231+
"standards": {
244232
"id": "our-standards",
245233
"title": "Our Standards",
246-
"type": "section",
247234
"content": [
248235
"Examples of behavior that contributes to a positive environment for our community include:"
249236
],
@@ -253,58 +240,52 @@
253240
],
254241
"contact_info": "• The use of sexualized language or imagery, and sexual attention or advances of any kind<br>• Trolling, insulting or derogatory comments, and personal or political attacks<br>• Public or private harassment<br>• Publishing others' private information, such as a physical or email address, without their explicit permission<br>• Other conduct which could reasonably be considered inappropriate in a professional setting"
255242
},
256-
{
243+
"enforcement_responsibilities": {
257244
"id": "enforcement-responsibilities",
258245
"title": "Enforcement Responsibilities",
259-
"type": "section",
260246
"content": [
261247
"Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.",
262248
"Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate."
263249
]
264250
},
265-
{
251+
"scope": {
266252
"id": "scope",
267253
"title": "Scope",
268-
"type": "section",
269254
"content": [
270255
"This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces."
271256
]
272257
},
273-
{
258+
"enforcement": {
274259
"id": "enforcement",
275260
"title": "Enforcement",
276-
"type": "section",
277261
"content": [
278262
"Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at <a href=\"mailto:hey@greyli.com\">hey@greyli.com</a>.",
279263
"All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident."
280264
]
281265
},
282-
{
266+
"attribution": {
283267
"id": "attribution",
284268
"title": "Attribution",
285-
"type": "section",
286269
"content": [
287270
"This Code of Conduct is adapted from the <a href=\"https://www.contributor-covenant.org/\" target=\"_blank\">Contributor Covenant</a>, version 2.1, available at <a href=\"https://www.contributor-covenant.org/version/2/1/code_of_conduct.html\" target=\"_blank\">https://www.contributor-covenant.org/version/2/1/code_of_conduct.html</a>."
288271
]
289272
}
290-
]
273+
}
291274
},
292275
"zh": {
293276
"title": "行为准则",
294-
"sections": [
295-
{
277+
"sections": {
278+
"pledge": {
296279
"id": "our-pledge",
297280
"title": "我们的承诺",
298-
"type": "section",
299281
"content": [
300282
"作为成员、贡献者和领导者,我们承诺让社区的每一个人都不受骚扰,无论年龄、体型、明显或不明显的残疾、民族、性别特征、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人外表、种族、宗教或性取向和性向认同如何。",
301283
"我们承诺以促进开放、友好、多元、包容和健康的社区的方式行事和互动。"
302284
]
303285
},
304-
{
286+
"standards": {
305287
"id": "our-standards",
306288
"title": "我们的标准",
307-
"type": "section",
308289
"content": [
309290
"有助于为我们的社区创造积极环境的行为包括:"
310291
],
@@ -314,41 +295,37 @@
314295
],
315296
"contact_info": "• 使用色情语言或图像,以及任何形式的性关注或性暗示<br>• 恶意评论、侮辱性或贬损性评论,以及个人或政治攻击<br>• 公开或私下骚扰<br>• 未经明确许可,发布他人的私人信息,如物理地址或电子邮件地址<br>• 在专业环境中可能被合理认为不当的其他行为"
316297
},
317-
{
298+
"enforcement_responsibilities": {
318299
"id": "enforcement-responsibilities",
319300
"title": "执行责任",
320-
"type": "section",
321301
"content": [
322302
"社区领导者有责任澄清和执行我们的可接受行为标准,并将对他们认为不当、威胁、冒犯或有害的任何行为采取适当和公平的纠正措施。",
323303
"社区领导者有权利和责任删除、编辑或拒绝不符合本行为准则的评论、提交、代码、wiki编辑、问题和其他贡献,并在适当时传达审核决定的原因。"
324304
]
325305
},
326-
{
306+
"scope": {
327307
"id": "scope",
328308
"title": "适用范围",
329-
"type": "section",
330309
"content": [
331310
"本行为准则适用于所有社区空间,也适用于个人在公共空间正式代表社区时。"
332311
]
333312
},
334-
{
313+
"enforcement": {
335314
"id": "enforcement",
336315
"title": "执行",
337-
"type": "section",
338316
"content": [
339317
"可以通过 <a href=\"mailto:hey@greyli.com\">hey@greyli.com</a> 向负责执行的社区领导者报告辱骂、骚扰或其他不可接受的行为。",
340318
"所有投诉都将得到及时和公平的审查和调查。所有社区领导者都有义务尊重任何事件报告者的隐私和安全。"
341319
]
342320
},
343-
{
321+
"attribution": {
344322
"id": "attribution",
345323
"title": "来源",
346-
"type": "section",
347324
"content": [
348325
"本行为准则改编自<a href=\"https://www.contributor-covenant.org/\" target=\"_blank\">贡献者契约</a>,版本2.1,可在 <a href=\"https://www.contributor-covenant.org/version/2/1/code_of_conduct.html\" target=\"_blank\">https://www.contributor-covenant.org/version/2/1/code_of_conduct.html</a> 找到。"
349326
]
350327
}
351-
]
328+
}
352329
}
353330
},
354331
"ui_text": {

readme/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,10 @@ a:hover {
468468
align-items: center;
469469
}
470470

471+
.image-section p {
472+
margin-bottom: 10px;
473+
}
474+
471475
.section-image {
472476
flex-shrink: 0;
473477
width: 40%;

templates/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="icon" type="image/png" href="https://codekitchen.community/uploads/default/optimized/2X/a/a30744ee5e971bdbd655b1e4e972863ff2f2802c_2_32x32.png">
7+
<link rel="apple-touch-icon" type="image/png" href="https://codekitchen.community/uploads/default/optimized/2X/1/1505c540b9e4ca70eff497de7daa1e59e5fb8f82_2_180x180.jpeg">
68
<title>{{ site.title }}</title>
79
<style>
810
{{ css_content | safe }}

0 commit comments

Comments
 (0)