feat: add full profile page at /people/[npub]

This commit is contained in:
2026-06-18 16:22:04 +05:30
parent deb2b31466
commit 2df890f7c5
19 changed files with 1121 additions and 39 deletions
+6
View File
@@ -44,6 +44,12 @@ export const setupHistory = () =>
}
})
// Profiles
export const makeProfilePath = (pubkey: string) => `/people/${nip19.npubEncode(pubkey)}`
export const goToProfile = (pubkey: string) => goto(makeProfilePath(pubkey))
// Chat
export const makeChatPath = (pubkeys: string[]) => `/chat/${makeChatId(pubkeys)}`