Skip to content

Commit

Permalink
feat: 贡献者优化
Browse files Browse the repository at this point in the history
  • Loading branch information
camera-2018 committed Apr 18, 2023
1 parent e47e2ce commit 4d2bd3c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions .vitepress/cache/deps_temp_4b2463ec/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"module"}
2 changes: 1 addition & 1 deletion .vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {

watch(
() => router.route.data.relativePath,
() => updateHomePageStyle(location.pathname === '/'),
() => updateHomePageStyle(location.pathname === '/' || location.pathname === '/contributors.html'),
{ immediate: true },
)
},
Expand Down
16 changes: 1 addition & 15 deletions contributors.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 15 additions & 0 deletions members.js
Original file line number Diff line number Diff line change
@@ -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',
},
]

0 comments on commit 4d2bd3c

Please sign in to comment.