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

@ -2,6 +2,22 @@ import dayjs from 'dayjs'
import { useTranslation } from 'react-i18next'
export function FormattedTimestamp({
timestamp,
short = false,
className
}: {
timestamp: number
short?: boolean
className?: string
}) {
return (
<span className={className}>
<FormattedTimestampContent timestamp={timestamp} short={short} />
</span>
)
}
function FormattedTimestampContent({
timestamp,
short = false
}: {