feat: 贡献者优化

This commit is contained in:
camera-2018
2023-04-19 00:33:25 +08:00
parent e47e2ce4d1
commit 4d2bd3c6d3
4 changed files with 18 additions and 16 deletions

View File

@@ -0,0 +1 @@
{"type":"module"}

View File

@@ -20,7 +20,7 @@ export default {
watch(
() => router.route.data.relativePath,
() => updateHomePageStyle(location.pathname === '/'),
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors.html'),
{ immediate: true },
)
},

View File

@@ -1,21 +1,7 @@
<script setup>
import { VPTeamMembers } from 'vitepress/theme'
import { members } from './members.js'
const members = [
{
avatar: 'https://www.github.com/camera-2018.png',
name: 'camera-2018',
title: 'Maintainer',
links: [
{ icon: 'github', link: 'https://github.com/camera-2018' },
]
},
{
avatar: 'https://www.github.com/HanWu311.png',
name: 'ZZM',
title: 'Maintainer',
},
]
</script>
# Our Team

15
members.js Normal file
View File

@@ -0,0 +1,15 @@
export const members = [
{
avatar: 'https://www.github.com/camera-2018.png',
name: 'camera-2018',
title: 'Maintainer',
links: [
{ icon: 'github', link: 'https://github.com/camera-2018' },
]
},
{
avatar: 'https://www.github.com/HanWu311.png',
name: 'ZZM',
title: 'Maintainer',
},
]