添加贡献者展示组件,并更新项目文档以感谢贡献者

This commit is contained in:
远野千束(神羽) 2024-12-24 00:54:16 +08:00
parent 9ba4f0cfa1
commit 3600b62176
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<script setup lang="ts">
const contributorImgSrc = `https://contrib.rocks/image?repo=LiteyukiStudio/nonebot-plugin-marshoai`
const contributorsUrl = `https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/graphs/contributors`
</script>
<template>
<div class="contributor-bar">
<a :href="contributorsUrl">
<div class="contributor-list">
<img :src=contributorImgSrc alt="Contributors">
</div>
</a>
</div>
</template>
<style scoped>
.contributor-bar {
display: flex;
flex-direction: column;
align-items: center;
}
</style>

View File

@ -39,3 +39,11 @@ pre-commit install # 安装 pre-commit 钩子
- [`Google Docstring`](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) 文档规范
可以在编辑器中安装相应的插件进行辅助
## 其他
感谢以下的贡献者们:
<ContributorsBar />
<script setup> import ContributorsBar from '../../components/ContributorsBar.vue' </script>