Skip to content

Commit

Permalink
[non-related] chore: Move member list into the index
Browse files Browse the repository at this point in the history
Since i18n has been being carried out, the old member list, which was saved
as a JSON file, could not satisfy the need for a normative standard. So this
commit moves them into index pages as an constant object.

Signed-off-by: crrashh1542 <[email protected]>
  • Loading branch information
crrashh1542 committed Jun 21, 2024
1 parent 479b35d commit 056d5bd
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 51 deletions.
46 changes: 0 additions & 46 deletions docs/data/members.json

This file was deleted.

46 changes: 44 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,55 @@ hero:

<script setup>
import { VPTeamMembers, VPTeamPage, VPTeamPageTitle } from 'vitepress/theme'
import members from "./data/members.json"

const members = [
{
avatar: 'https://www.github.com/goo-aw233.png',
name: 'goo-aw233',
title: 'Core Contributor',
links: [
{ icon: 'github', link: 'https://github.com/goo-aw233' }
]
},
{
avatar: 'https://www.github.com/crrashh1542.png',
name: 'crrashh1542',
title: 'Project Leader & Tech',
links: [
{ icon: 'github', link: 'https://github.com/crrashh1542' }
]
},
{
avatar: 'https://www.github.com/easycomputer1.png',
name: 'ecomter',
title: 'Contributor',
links: [
{ icon: 'github', link: 'https://github.com/easycomputer1' }
]
},
{
avatar: 'https://www.github.com/faq0.png',
name: 'Untitled',
title: '文档贡献者',
links: [
{ icon: 'github', link: 'https://github.com/faq0' }
]
},
{
avatar: 'https://www.github.com/SplashCN123.png',
name: 'SplashCN',
title: '文档贡献者',
links: [
{ icon: 'github', link: 'https://github.com/SplashCN123' }
]
}
]
</script>

<VPTeamPage>
<VPTeamPageTitle>
<template #title>Documentation maintainers</template>
<template #lead>Please note that we are only administrators in official chat groups instead of Microsoft employees, and we have neither affiliation nor any beneficial relationship with Microsoft Corporation.</template>
</VPTeamPageTitle>
<VPTeamMembers :members="members"/>
<VPTeamMembers :members='members'/>
</VPTeamPage>
48 changes: 45 additions & 3 deletions docs/zh-cn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ hero:
actions:
- theme: brand
text: 阅读文档
link: /get-started/agreements-and-declarations
link: ./get-started/agreements-and-declarations
- theme: alt
text: 立即下载
link: https://pcmanager.microsoft.com
Expand All @@ -24,13 +24,55 @@ hero:

<script setup>
import { VPTeamMembers, VPTeamPage, VPTeamPageTitle } from 'vitepress/theme'
import members from "../data/members.json"

const members = [
{
avatar: 'https://www.github.com/goo-aw233.png',
name: '事猫猫欸',
title: '文档主要贡献者',
links: [
{ icon: 'github', link: 'https://github.com/goo-aw233' }
]
},
{
avatar: 'https://www.github.com/crrashh1542.png',
name: '云萧是个咕咕怪!',
title: '项目发起者',
links: [
{ icon: 'github', link: 'https://github.com/crrashh1542' }
]
},
{
avatar: 'https://www.github.com/easycomputer1.png',
name: 'ecomter',
title: '文档贡献者',
links: [
{ icon: 'github', link: 'https://github.com/easycomputer1' }
]
},
{
avatar: 'https://www.github.com/faq0.png',
name: 'Untitled',
title: '文档贡献者',
links: [
{ icon: 'github', link: 'https://github.com/faq0' }
]
},
{
avatar: 'https://www.github.com/SplashCN123.png',
name: 'SplashCN',
title: '文档贡献者',
links: [
{ icon: 'github', link: 'https://github.com/SplashCN123' }
]
}
]
</script>

<VPTeamPage>
<VPTeamPageTitle>
<template #title>文档维护人员</template>
<template #lead>请注意,我们只是该软件 QQ 社群的管理员,并非微软公司的员工,与微软公司无关系,同时也不与微软公司发生任何利益往来。</template>
</VPTeamPageTitle>
<VPTeamMembers :members="members"/>
<VPTeamMembers :members='members'/>
</VPTeamPage>

0 comments on commit 056d5bd

Please sign in to comment.