Skip to content

Commit

Permalink
add team page
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed May 8, 2024
1 parent ee88fc4 commit a917acf
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default defineConfig({
logo: '/icon.png',
nav: [
{ text: 'Home', link: '/' },
{ text: 'Document', link: '/cinepi' }
{ text: 'Document', link: '/cinepi' },
{ text: 'Team', link: '/team' },
],

sidebar: [
Expand Down Expand Up @@ -57,7 +58,8 @@ export default defineConfig({
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/cinepi' }
{ icon: 'github', link: 'https://github.com/cinepi' },
{ icon: 'discord', link: 'https://discord.com/invite/Wz9sQU3skC' }
],
lastUpdated: true,

Expand Down
64 changes: 64 additions & 0 deletions docs/team.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
layout: home
---
<script setup>
import {
VPTeamPage,
VPTeamPageTitle,
VPTeamMembers
} from 'vitepress/theme'

const members = [
{
avatar: 'https://www.github.com/schoolpost.png',
name: 'Csaba Nagy',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/schoolpost' },
{ icon: 'twitter', link: 'https://twitter.com/schoolpost09' }
]
},
{
avatar: 'https://www.github.com/schoolpost.png',
name: 'Csaba Nagy',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/schoolpost' },
{ icon: 'twitter', link: 'https://twitter.com/schoolpost09' }
]
},
{
avatar: 'https://www.github.com/schoolpost.png',
name: 'Csaba Nagy',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/schoolpost' },
{ icon: 'twitter', link: 'https://twitter.com/schoolpost09' }
]
},
{
avatar: 'https://www.github.com/schoolpost.png',
name: 'Csaba Nagy',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/schoolpost' },
{ icon: 'twitter', link: 'https://twitter.com/schoolpost09' }
]
},
]
</script>

<VPTeamPage>
<VPTeamPageTitle>
<template #title>
Our Team
</template>
<template #lead>
CinePI is mainly developed by the following core members.
</template>
</VPTeamPageTitle>
<VPTeamMembers
size="small"
:members="members"
/>
</VPTeamPage>

0 comments on commit a917acf

Please sign in to comment.