Skip to content

Commit 02555f8

Browse files
committed
feat: add author avatar
1 parent a032879 commit 02555f8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.vitepress/theme/components/Route.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
<Badge type="tip">🔍 Support Radar</Badge>
1919
</a>
2020
</p>
21-
<p class="author">
21+
<p class="author" style="display: flex; align-items: center; gap: 8px; flex-wrap: wrap;">
2222
👨‍💻 Author: {{ ' ' }}
23-
<a v-for="(uid, index) in data.maintainers" :key="index" :href="`https://github.com/${uid}`" target="_blank">
24-
@{{ uid }}{{' '}}
23+
<a v-for="(uid, index) in data.maintainers" :key="index" :href="`https://github.com/${uid}`" target="_blank" style="display: inline-flex; align-items: center; margin-right: 6px;">
24+
<img :src="`https://avatars.githubusercontent.com/${uid}`" style="width: 20px; height: 20px; border-radius: 50%; margin-right: 4px;" />
25+
{{ uid }}{{' '}}
2526
</a>
2627
</p>
2728
<p v-if="demoUrl" class="example">

0 commit comments

Comments
 (0)