feat: zap (#107)

This commit is contained in:
Cody Tseng
2025-03-01 23:52:05 +08:00
committed by GitHub
parent 407a6fb802
commit 249593d547
72 changed files with 2582 additions and 818 deletions

View File

@@ -23,7 +23,7 @@ export default function Nip05({ pubkey }: { pubkey: string }) {
return (
nip05Name &&
nip05Domain && (
<div className="flex items-center space-x-1 truncate [&_svg]:size-5">
<div className="flex items-center space-x-1 truncate">
{nip05Name !== '_' ? (
<div className="text-sm text-muted-foreground truncate">@{nip05Name}</div>
) : null}
@@ -33,7 +33,7 @@ export default function Nip05({ pubkey }: { pubkey: string }) {
className={`flex items-center space-x-1 hover:underline truncate ${nip05IsVerified ? 'text-highlight' : 'text-muted-foreground'}`}
rel="noreferrer"
>
{nip05IsVerified ? <BadgeCheck /> : <BadgeAlert />}
{nip05IsVerified ? <BadgeCheck className="size-4" /> : <BadgeAlert className="size-4" />}
<div className="text-sm truncate">{nip05Domain}</div>
</a>
</div>