Skip to content

Commit

Permalink
feat(Contributor): Update PMC (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
CritasWang authored Dec 26, 2023
1 parent 89a7d7a commit 8856671
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 13 deletions.
3 changes: 3 additions & 0 deletions src/.vuepress/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import ElementPlus from 'element-plus';
import IoTDB from './components/IoTDB.vue';
import IoTDBZH from './components/IoTDBZH.vue';
import Contributor from './components/Contributor.vue';
import Contributors from './components/Contributors.vue';

import 'element-plus/dist/index.css';

export default defineClientConfig({
Expand All @@ -29,6 +31,7 @@ export default defineClientConfig({
app.use(ElementPlus);
app.component('IoTDB', IoTDB);
app.component('Contributor', Contributor);
app.component('Contributors', Contributors);
app.component('IoTDBZH', IoTDBZH);
},
});
16 changes: 8 additions & 8 deletions src/.vuepress/components/Contributor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<div>

<h1 style="text-align: center;">Project Mentors</h1>
<div v-for="(item, i) in mentors" class="box">
<img :src="item.avatar">
<div v-for="item in mentors" :key="item.id" class="box">
<img :src="item.avatar" alt="">
<div class="right">
<p class="con-name">{{item.name}}</p>
<div class="con-detailed-info">
Expand All @@ -35,8 +35,8 @@
</div>

<h1 style="text-align: center;">Project Committers</h1>
<div v-for="(item, i) in conList" class="box">
<img :src="item.avatar">
<div v-for="item in conList" :key="item.id" class="box">
<img :src="item.avatar" alt="">
<div class="right">
<p class="con-name">{{item.name}}</p>
<div class="con-detailed-info">
Expand Down Expand Up @@ -144,7 +144,7 @@ export default {
{
avatar: '/img/contributor-avatar/yt.jpg',
name: 'Yuan Tian',
role: 'Committer',
role: 'PMC, Committer',
id: 'jackietien',
date: '2019/12/18',
},
Expand Down Expand Up @@ -312,8 +312,8 @@ export default {
{
avatar: '/img/contributor-avatar/user.svg',
name: 'Xinyu Tan',
role: 'Committer',
id: 'LebronAl',
role: 'PMC, Committer',
id: 'tanxinyu',
date: '2020/12/21',
},
{
Expand All @@ -340,7 +340,7 @@ export default {
{
avatar: '/img/contributor-avatar/user.svg',
name: 'Chao Wang',
role: 'Committer',
role: 'PMC, Committer',
id: 'wangchao316',
date: '2021/06/30',
},
Expand Down
Loading

0 comments on commit 8856671

Please sign in to comment.