Skip to content

Commit 5428a99

Browse files
authored
Merge pull request #13 from FDUCSLG/feature/team
2 parents e18ed58 + f16236d commit 5428a99

File tree

2 files changed

+161
-2
lines changed

2 files changed

+161
-2
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const shared = defineConfig({
3030
repoURL: () => 'https://github.com/FDUCSLG/COMP101',
3131
}),
3232
GitChangelogMarkdownSection({
33-
exclude: (id) => id.endsWith('index.md'),
33+
exclude: (id) => id.endsWith('index.md') || id.endsWith('team.md'),
3434
sections: {
3535
// 禁用页面历史
3636
disableChangelog: true,

docs/team.md

Lines changed: 160 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,160 @@
1-
这是一个社团
1+
---
2+
layout: page
3+
---
4+
<script setup>
5+
import {
6+
VPTeamPage,
7+
VPTeamPageTitle,
8+
VPTeamMembers, VPTeamPageSection
9+
} from 'vitepress/theme'
10+
11+
const orgnization = [
12+
{
13+
avatar: 'https://www.github.com/FDUCSLG.png',
14+
name: 'FDUCSLG',
15+
desc: '复旦大学开放原子开源社团',
16+
links: [
17+
{ icon: 'github', link: 'https://github.com/FDUCSLG' },
18+
]
19+
},
20+
]
21+
22+
const members = [
23+
{
24+
avatar: 'https://www.github.com/Boreas618.png',
25+
name: 'Boreas618',
26+
links: [
27+
{ icon: 'github', link: 'https://github.com/Boreas618' },
28+
]
29+
},
30+
{
31+
avatar: 'https://www.github.com/Jingyijun.png',
32+
name: 'Jingyijun',
33+
links: [
34+
{ icon: 'github', link: 'https://github.com/Jingyijun' },
35+
]
36+
},
37+
{
38+
avatar: 'https://www.github.com/w568w.png',
39+
name: 'w568w',
40+
links: [
41+
{ icon: 'github', link: 'https://github.com/w568w' },
42+
]
43+
},{
44+
avatar: 'https://www.github.com/Zecyel.png',
45+
name: 'Zecyel',
46+
links: [
47+
{ icon: 'github', link: 'https://github.com/Zecyel' },
48+
]
49+
},
50+
{
51+
avatar: 'https://www.github.com/ShizuhaAki.png',
52+
name: 'ShizuhaAki',
53+
links: [
54+
{ icon: 'github', link: 'https://github.com/ShizuhaAki' },
55+
]
56+
},
57+
{
58+
avatar: 'https://www.github.com/Jerry-Wu-GitHub.png',
59+
name: 'Jerry-Wu-GitHub',
60+
links: [
61+
{ icon: 'github', link: 'https://github.com/Jerry-Wu-GitHub' },
62+
]
63+
},
64+
{
65+
avatar: 'https://www.github.com/koowz.png',
66+
name: 'koowz',
67+
links: [
68+
{ icon: 'github', link: 'https://github.com/koowz' },
69+
]
70+
},
71+
{
72+
avatar: 'https://www.github.com/fduTristin.png',
73+
name: 'fduTristin',
74+
links: [
75+
{ icon: 'github', link: 'https://github.com/fduTristin' },
76+
]
77+
},
78+
]
79+
80+
const contributors = [
81+
82+
{
83+
avatar: 'https://www.github.com/anzeameol.png',
84+
name: 'anzeameol',
85+
title: '',
86+
links: [
87+
{ icon: 'github', link: 'https://github.com/anzeameol' },
88+
]
89+
},
90+
{
91+
avatar: 'https://www.github.com/ekonwang.png',
92+
name: 'ekonwang',
93+
title: '',
94+
links: [
95+
{ icon: 'github', link: 'https://github.com/ekonwang' },
96+
]
97+
},
98+
{
99+
avatar: 'https://www.github.com/ika-twb.png',
100+
name: 'ika-twb',
101+
title: '',
102+
links: [
103+
{ icon: 'github', link: 'https://github.com/ika-twb' },
104+
]
105+
},
106+
{
107+
avatar: 'https://www.github.com/k4if3ng.png',
108+
name: 'k4if3ng',
109+
title: '',
110+
links: [
111+
{ icon: 'github', link: 'https://github.com/k4if3ng' },
112+
]
113+
},
114+
]
115+
</script>
116+
117+
<style>
118+
119+
@media (min-width: 768px) {
120+
.VPTeamPage[data-v-5f7da39d] {
121+
margin: 0 0;
122+
}
123+
}
124+
125+
@media (min-width: 960px) {
126+
.VPTeamPageTitle[data-v-baf690b4] {
127+
padding: 0px 40px 48px;
128+
}
129+
}
130+
131+
@media (min-width: 768px) {
132+
.lead[data-v-baf690b4] {
133+
max-width: 740px;
134+
letter-spacing: 0.1px;
135+
line-height: 28px;
136+
font-size: 20px;
137+
}
138+
}
139+
</style>
140+
141+
<VPTeamPage>
142+
<VPTeamPageSection>
143+
<template #title>组织</template>
144+
<template #members>
145+
<VPTeamMembers size="small" :members="orgnization" />
146+
</template>
147+
</VPTeamPageSection>
148+
<VPTeamPageSection>
149+
<template #title>核心成员</template>
150+
<template #members>
151+
<VPTeamMembers size="small" :members="members" />
152+
</template>
153+
</VPTeamPageSection>
154+
<VPTeamPageSection>
155+
<template #title>其他贡献者</template>
156+
<template #members>
157+
<VPTeamMembers size="small" :members="contributors" />
158+
</template>
159+
</VPTeamPageSection>
160+
</VPTeamPage>

0 commit comments

Comments
 (0)