diff --git a/src/router.tsx b/src/router.tsx index c77cb21..cf1692c 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -44,6 +44,7 @@ import { EmergencyKit, Encrypt, Gift, + ImportProfileSettings, Language, ManageFederations, NostrKeys, @@ -187,6 +188,10 @@ export function Router() { + diff --git a/src/routes/settings/ImportProfile.tsx b/src/routes/settings/ImportProfile.tsx new file mode 100644 index 0000000..9f5dc56 --- /dev/null +++ b/src/routes/settings/ImportProfile.tsx @@ -0,0 +1,20 @@ +import { BackLink, DefaultMain, ImportNsecForm } from "~/components"; + +export function ImportProfileSettings() { + return ( + + + + + Import nostr profile + + Login with an existing nostr account. + + + + + + + + ); +} diff --git a/src/routes/settings/NostrKeys.tsx b/src/routes/settings/NostrKeys.tsx index 195a1c7..257e30f 100644 --- a/src/routes/settings/NostrKeys.tsx +++ b/src/routes/settings/NostrKeys.tsx @@ -58,7 +58,7 @@ export function NostrKeys() { Import different nostr profile diff --git a/src/routes/settings/index.ts b/src/routes/settings/index.ts index 99dc8cc..1119e82 100644 --- a/src/routes/settings/index.ts +++ b/src/routes/settings/index.ts @@ -13,3 +13,4 @@ export * from "./Restore"; export * from "./Servers"; export * from "./ManageFederations"; export * from "./NostrKeys"; +export * from "./ImportProfile";
+ Login with an existing nostr account. + +