-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update page team, add template contribution
- Loading branch information
1 parent
775fcf4
commit 9f8286c
Showing
9 changed files
with
46 additions
and
28 deletions.
There are no files selected for viewing
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script setup lang="ts"> | ||
import { contributions } from '../../_data/team'; | ||
import { VPTeamPage, VPTeamPageTitle, VPTeamMembers } from 'vitepress/theme'; | ||
import { useData } from 'vitepress' | ||
const { frontmatter } = useData(); | ||
const { members, size } = defineProps({ | ||
size: { | ||
type: String, | ||
default: 'medium', | ||
}, | ||
members: { | ||
type: Object, | ||
default: () => { | ||
return contributions ?? []; | ||
}, | ||
}, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<VPTeamPage> | ||
<VPTeamPageTitle> | ||
<template v-if="frontmatter.longtitle" #title> | ||
{{ frontmatter.longtitle }} | ||
</template> | ||
</VPTeamPageTitle> | ||
<VPTeamMembers :members="members" /> | ||
</VPTeamPage> | ||
</template> | ||
|
||
<style scoped> | ||
.VPTeamPage { | ||
margin-top: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,4 @@ | ||
--- | ||
layout: page | ||
title: Участники | ||
--- | ||
|
||
<script setup> | ||
import { | ||
VPTeamPage, | ||
VPTeamPageTitle, | ||
VPTeamMembers | ||
} from 'vitepress/theme' | ||
|
||
import { contributions } from '../../../_data/team' | ||
|
||
</script> | ||
|
||
<VPTeamPage style="margin-top:0"> | ||
<VPTeamPageTitle> | ||
<template #title> | ||
{{ $frontmatter.title }} | ||
</template> | ||
</VPTeamPageTitle> | ||
<VPTeamMembers | ||
:members="contributions" | ||
/> | ||
</VPTeamPage> | ||
layout: contribution | ||
longtitle: Участники | ||
--- |