Skip to content

Commit

Permalink
chore: make mentionable github names
Browse files Browse the repository at this point in the history
  • Loading branch information
owlnai committed Oct 24, 2021
1 parent fc83274 commit 0fa464a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,17 @@ function color(status) {
<div class="p-4">
<div class="mb-4">
<h2 class="font-semibold text-2xl">{{ title }}</h2>
<p class="text-sm">{{ maintainers || '-' }}</p>
<p class="text-sm">
<a
:href="'https://github.com/' + maintainer.replace('@', '')"
v-for="(maintainer, index) in maintainers.split(', ')"
v-if="maintainers"
>
<template v-if="index > 0">,</template>
{{ maintainer }}
</a>
<template v-else>-</template>
</p>
</div>
<div class="flex justify-between mb-2">
<div>
Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"name": "@nuxtjs/color-mode",
"bridge": "ready",
"core": "bugged",
"maintainers": "Atinux",
"maintainers": "@Atinux",
"repoUrl": "https://github.com/nuxt-community/color-mode-module",
"issueUrl": "https://github.com/nuxt-community/color-mode-module/issues/110"
},
Expand Down

0 comments on commit 0fa464a

Please sign in to comment.