implement lightning address link

This commit is contained in:
padreug 2025-02-10 21:27:17 +01:00
parent 8d93f34f2a
commit 666729a315
2 changed files with 12 additions and 2 deletions

View file

@ -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 -->

View file

@ -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>