feat: nip05 feeds

This commit is contained in:
codytseng
2025-06-26 23:21:12 +08:00
parent e08172f4a7
commit 5619905ae0
28 changed files with 395 additions and 165 deletions

View File

@@ -0,0 +1,15 @@
import { useState } from 'react'
export function Favicon({ domain, className }: { domain: string; className?: string }) {
const [error, setError] = useState(false)
if (error) return null
return (
<img
src={`https://${domain}/favicon.ico`}
alt={domain}
className={className}
onError={() => setError(true)}
/>
)
}