implement lightning address link
This commit is contained in:
parent
8d93f34f2a
commit
666729a315
2 changed files with 12 additions and 2 deletions
|
|
@ -129,7 +129,12 @@ const socialColors = {
|
|||
|
||||
<div v-if="item.lightning" class="flex items-center text-sm">
|
||||
<Zap class="mr-2 h-4 w-4 text-amber-500" />
|
||||
<span>{{ item.lightning }}</span>
|
||||
<a
|
||||
:href="`lightning:${item.lightning}`"
|
||||
class="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
{{ item.lightning }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Website -->
|
||||
|
|
|
|||
|
|
@ -136,7 +136,12 @@ const socialColors = {
|
|||
<!-- Lightning Address -->
|
||||
<div v-if="item.lightning" class="flex items-center gap-3 text-base">
|
||||
<Zap class="h-5 w-5 text-amber-500" />
|
||||
<span>{{ item.lightning }}</span>
|
||||
<a
|
||||
:href="`lightning:${item.lightning}`"
|
||||
class="text-muted-foreground hover:text-foreground transition-colors"
|
||||
>
|
||||
{{ item.lightning }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue