@@ -49,30 +49,15 @@ export default function Header() {
4949 const mainNavItems = useMemo (
5050 ( ) => [
5151 {
52- key : 'governance ' ,
53- label : '社区治理 ' ,
52+ key : 'about ' ,
53+ label : '关于我们 ' ,
5454 children : [
55- // {
56- // key: 'vision',
57- // label: '愿景使命',
58- // href: '/about',
59- // description: '开源社的愿景、使命和核心价值观',
60- // group: 'basic'
61- // },
62- // {
63- // key: 'organization',
64- // label: '组织架构',
65- // href: '/about',
66- // description: '了解开源社的组织结构和治理体系',
67- // group: 'basic'
68- // },
6955 {
70- key : 'charter' ,
71- label : '开源社章程' ,
72- href : '/charter' ,
73- description : '开源社的章程和管理制度' ,
74- group : 'basic' ,
75-
56+ key : 'intro' ,
57+ label : '开源社简介' ,
58+ href : '/about' ,
59+ description : '了解开源社的历史、使命和发展历程' ,
60+ group : 'basic'
7661 } ,
7762
7863 {
@@ -87,50 +72,68 @@ export default function Header() {
8772 label : '顾问委员会' ,
8873 href : '/department/advisory' ,
8974 description : '顾问委员会成员介绍' ,
90- group : 'departments '
75+ group : 'basic '
9176 } ,
9277 {
9378 key : 'legal' ,
9479 label : '法律咨询委员会' ,
9580 href : '/department/legal' ,
9681 description : '法律咨询委员会介绍' ,
97- group : 'departments '
82+ group : 'basic '
9883 } ,
84+
9985 {
10086 key : 'executive' ,
10187 label : '执行委员会' ,
10288 href : '/department/executive' ,
10389 description : '执行委员会介绍' ,
104- group : 'departments '
90+ group : 'brand '
10591 } ,
10692 {
10793 key : 'project-committee' ,
10894 label : '项目委员会' ,
10995 href : '/department/project' ,
11096 description : '项目委员会介绍' ,
111- group : 'departments '
97+ group : 'brand '
11298 } ,
99+
113100 {
114- key : 'member-rights' ,
115- label : '正式成员权利与义务' ,
116- href : '/governance/member-rights' ,
117- description : '正式成员的权利与义务说明' ,
118- group : 'policies'
119- } ,
101+ key : 'brand-download' ,
102+ label : '品牌标识下载' ,
103+ href : '/logo.zip' ,
104+ target : '_blank' ,
105+ description : '下载开源社品牌标识' ,
106+ group : 'brand'
107+ }
108+ ]
109+ } ,
110+ {
111+ key : 'governance' ,
112+ label : '社区治理' ,
113+ children : [
120114 {
121- key : 'code-of-conduct ' ,
122- label : '开源社行为守则 ' ,
123- href : '/governance/code-of-conduct ' ,
124- description : '社区行为准则和规范 ' ,
125- group : 'policies '
115+ key : 'charter ' ,
116+ label : '开源社章程 ' ,
117+ href : '/charter ' ,
118+ description : '开源社的章程和管理制度 ' ,
119+ group : 'basic '
126120 } ,
127121 {
128122 key : 'open-source-manifesto' ,
129123 label : '开源人宣言' ,
130124 href : '/governance/open-source-manifesto' ,
131125 description : '开源人宣言' ,
126+ group : 'basic'
127+ } ,
128+
129+ {
130+ key : 'code-of-conduct' ,
131+ label : '开源社行为守则' ,
132+ href : '/governance/code-of-conduct' ,
133+ description : '社区行为准则和规范' ,
132134 group : 'policies'
133135 } ,
136+
134137 {
135138 key : 'annual-report' ,
136139 label : '开源社年度报告' ,
@@ -180,28 +183,28 @@ export default function Header() {
180183 description : '社区合作之星获奖者' ,
181184 group : 'cooperation'
182185 } ,
186+ {
187+ key : 'kcc' ,
188+ label : '开源社城市社区(KCC)' ,
189+ href : '/community' ,
190+ description : '各地开源社城市社区' ,
191+ group : 'cooperation'
192+ } ,
183193 {
184194 key : 'partners' ,
185- label : '赞助伙伴、合作社区、合作媒体 ' ,
195+ label : '合作伙伴 ' ,
186196 href : '/' ,
187- description : '赞助伙伴、合作社区、 合作媒体' ,
197+ description : '赞助伙伴、合作媒体、合作社区 ' ,
188198 group : 'cooperation'
189199 } ,
190200 {
191201 key : 'individual-sponsors' ,
192- label : '个人赞助' ,
202+ label : '个人赞助(与合作伙伴合并) ' ,
193203 href : 'https://kaiyuanshe.feishu.cn/wiki/V8QfwIblXibIjoksERYcL6R6nDh?from=space_search' ,
194204 description : '个人赞助者列表' ,
195205 group : 'cooperation' ,
196206 target : '_blank'
197207 } ,
198- {
199- key : 'kcc' ,
200- label : '开源社城市社区(KCC)' ,
201- href : '/community' ,
202- description : '各地开源社城市社区' ,
203- group : 'cooperation'
204- } ,
205208 {
206209 key : 'china-oss-report' ,
207210 label : '中国开源年度报告' ,
@@ -224,14 +227,6 @@ export default function Header() {
224227 description : '中国开源码力榜' ,
225228 group : 'reports' ,
226229 target : '_blank'
227- } ,
228- {
229- key : 'forum' ,
230- label : '开源社论坛' ,
231- href : 'https://github.com/orgs/kaiyuanshe/discussions' ,
232- description : '开源社社区论坛' ,
233- group : 'reports' ,
234- target : '_blank'
235230 }
236231 ]
237232 } ,
@@ -260,140 +255,38 @@ export default function Header() {
260255 description : '查看即将举行的开源活动和会议' ,
261256 group : 'calendar'
262257 }
263- // {
264- // key: 'meetings',
265- // label: '社区会议',
266- // href: '/',
267- // description: '社区定期会议',
268- // group: 'calendar'
269- // }
270- ]
271- } ,
272- {
273- key : 'projects' ,
274- label : '开源项目' ,
275- children : [
276- {
277- key : 'china-oss-map' ,
278- label : '中国开源地区' ,
279- href : '/organization' ,
280- description : '展示中国开源项目和组织的分布情况' ,
281- group : 'main'
282- } ,
283- {
284- key : 'toolbox' ,
285- label : '开源百宝箱' ,
286- href : 'https://oss-toolbox.kaiyuanshe.cn/' ,
287- description : '收集和整理各种开源工具和资源' ,
288- group : 'main' ,
289- target : '_blank'
290- } ,
291- {
292- key : 'hackathon' ,
293- label : '开放黑客松平台' ,
294- href : 'https://hackathon.kaiyuanshe.cn/' ,
295- description : '组织和参与开源黑客松活动' ,
296- group : 'main' ,
297- target : '_blank'
298- } ,
299- {
300- key : 'ktoken' ,
301- label : 'KToken' ,
302- href : 'https://kaiyuanshe.feishu.cn/wiki/wikcnnpaFGG3anuwxIfsp4M9c0c' ,
303- description : '基于区块链的开源贡献激励机制' ,
304- group : 'tech' ,
305- target : '_blank'
306- }
307258 ]
308259 } ,
260+ // {
261+ // key: 'projects',
262+ // label: '开源项目',
263+ // children: [
264+ // {
265+ // key: 'china-oss-map',
266+ // label: '中国开源地图',
267+ // href: '/organization',
268+ // description: '展示中国开源项目和组织的分布情况',
269+ // group: 'main'
270+ // },
271+
272+ // ]
273+ // },
309274 {
310275 key : 'articles-media' ,
311- label : '文章&媒体 ' ,
276+ label : '博客&公告 ' ,
312277 children : [
313278 {
314279 key : 'articles' ,
315- label : '文章 ' ,
280+ label : '博客 ' ,
316281 href : '/articles' ,
317- description : '阅读最新的技术文章和社区动态 ' ,
282+ description : '阅读最新的博客信息 ' ,
318283 group : 'content'
319284 } ,
320- // {
321- // key: 'announcements',
322- // label: '公告',
323- // href: '/',
324- // description: '获取开源社的重要公告和通知',
325- // group: 'content'
326- // },
327- // {
328- // key: 'news',
329- // label: '新闻动态',
330- // href: '/',
331- // description: '了解开源社区的最新发展和动态',
332- // group: 'content'
333- // },
334- // {
335- // key: 'meeting-minutes',
336- // label: '会议纪要',
337- // href: '/',
338- // description: '社区会议记录和纪要',
339- // group: 'content'
340- // },
341- // {
342- // key: 'brand-guide',
343- // label: '品牌使用指南',
344- // href: '/',
345- // description: '开源社品牌使用指南',
346- // group: 'brand'
347- // },
348-
349- {
350- key : 'videos' ,
351- label : '视频' ,
352- href : 'https://space.bilibili.com/525037536?spm_id_from=333.337.search-card.all.click' ,
353- description : '观看开源社相关视频内容' ,
354- group : 'brand' ,
355- target : '_blank'
356- }
357- // {
358- // key: 'photos',
359- // label: '照片',
360- // href: '/photos',
361- // description: '历届活动照片展示',
362- // group: 'brand'
363- // }
364- ]
365- } ,
366- {
367- key : 'about' ,
368- label : '关于我们' ,
369- children : [
370- {
371- key : 'intro' ,
372- label : '开源社简介' ,
373- href : '/about' ,
374- description : '了解开源社的历史、使命和发展历程' ,
375- group : 'basic'
376- } ,
377- {
378- key : 'brand-download' ,
379- label : '品牌标识下载' ,
380- href : '/logo.zip' ,
381- target : '_blank' ,
382- description : '下载开源社品牌标识' ,
383- group : 'basic'
384- } ,
385285 {
386- key : 'contact' ,
387- label : '联系我们' ,
388- href : '/about' ,
389- description : '获取开源社的联系方式和地址信息' ,
390- group : 'brand'
391- } ,
392- {
393- key : 'join-us' ,
394- label : '如何加入我们' ,
395- href : '/join-us' ,
396- description : '了解如何加入开源社' ,
286+ key : 'notice' ,
287+ label : '公告' ,
288+ href : '/' ,
289+ description : '获取最新公告' ,
397290 group : 'brand'
398291 }
399292 ]
0 commit comments