Skip to content

Commit

Permalink
docs: use VPTeamMembers component from VitePress (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Jun 26, 2022
1 parent 39430e2 commit ea02834
Show file tree
Hide file tree
Showing 17 changed files with 599 additions and 310 deletions.
6 changes: 3 additions & 3 deletions bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"type": "module",
"private": true,
"scripts": {
"bench": "esno src/index.ts",
"bench:ci": "esno src/github.ts"
"bench": "esmo src/index.ts",
"bench:ci": "esmo src/github.ts"
},
"devDependencies": {
"@actions/core": "^1.9.0",
Expand All @@ -12,7 +12,7 @@
"@happy-dom/jest-environment": "^4.1.0",
"@types/benchmark": "^2.1.1",
"benchmark": "^2.1.4",
"esno": "^0.16.3",
"esno": "^0.14.1",
"execa": "^6.1.0",
"fs-extra": "^10.1.0",
"markdown-table": "^3.0.2",
Expand Down
100 changes: 47 additions & 53 deletions bench/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/.vitepress/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ declare module '@vue/runtime-core' {
ListItem: typeof import('./components/ListItem.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
TeamMember: typeof import('./components/TeamMember.vue')['default']
}
}

Expand Down
9 changes: 3 additions & 6 deletions docs/.vitepress/components/HomePage.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script setup lang="ts">
import { VPTeamMembers } from 'vitepress/theme'
import { teamMembers } from '../contributors'
</script>

Expand All @@ -10,12 +11,8 @@ import { teamMembers } from '../contributors'
<h2 id="meet-the-team" op50 font-normal p="t-10 b-2">
Meet The Team
</h2>
<div grid="~ cols-1 md:cols-2 lg:cols-3 gap-x-10 gap-y-10 items-center" p-10>
<TeamMember
v-for="c of teamMembers"
:key="c.github"
v-bind="c"
/>
<div w-full p-10>
<VPTeamMembers size="small" :members="teamMembers" />
</div>
<h2 id="the-team" op50 font-normal pt-5 pb-2>
Contributors
Expand Down
59 changes: 0 additions & 59 deletions docs/.vitepress/components/TeamMember.vue

This file was deleted.

Loading

0 comments on commit ea02834

Please sign in to comment.