mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
docs: add route author
This commit is contained in:
32
docs/.vuepress/components/Author.vue
Normal file
32
docs/.vuepress/components/Author.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<span class="badge">
|
||||
By <a :href="`https://github.com/${uid}`">@{{ uid }}</a>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
uid: {
|
||||
type: String,
|
||||
default: 'DIYgod'
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.badge
|
||||
display inline-block
|
||||
font-size 14px
|
||||
height 18px
|
||||
line-height 18px
|
||||
border-radius 3px
|
||||
padding 0 6px
|
||||
color white
|
||||
margin-right 5px
|
||||
vertical-align top
|
||||
background-color #F5712C
|
||||
a
|
||||
color #fff
|
||||
</style>
|
||||
Reference in New Issue
Block a user