- Most software keeps track of users by giving them a username and password. This gives the
- service
- total control over their users, allowing them to ban them at any time, or sell their
- activity.
+ Most online services keep track of users by giving them a username and password. This gives the
+ service total control over their users, allowing them to ban them at any time, or
+ sell their activity.
On Nostr, you control your own
identity and social data, through the magic of crytography. The basic idea is that you have a
- public key, which acts as your user id, and a private key which
- allows you to authenticate any message you send.
+ public key, which acts as your user id, and a
+ private key which allows you to prove your identity.
-
- It's very important to keep private keys safe, but this can sometimes be confusing for
- newcomers. This is why {PLATFORM_NAME} supports remote signer login. These services
- can store your keys securely for you, giving you access using a username and password.
-
-
+ {#if $session?.email}
+
+ It's very important to keep private keys safe, but this can sometimes be tricky, which is why {PLATFORM_NAME}
+ supports a traditional account-based login for new users.
+
+
If you'd like to switch to self-custody, please click below to get started.
+
+
+
+
+ {:else}
+
+ {/if}
diff --git a/src/app/components/LogIn.svelte b/src/app/components/LogIn.svelte
index f751208..f78dfa2 100644
--- a/src/app/components/LogIn.svelte
+++ b/src/app/components/LogIn.svelte
@@ -1,4 +1,5 @@
+
+
diff --git a/src/app/components/ProfileEject.svelte b/src/app/components/ProfileEject.svelte
new file mode 100644
index 0000000..45b983b
--- /dev/null
+++ b/src/app/components/ProfileEject.svelte
@@ -0,0 +1 @@
+hi
diff --git a/src/app/components/SignUp.svelte b/src/app/components/SignUp.svelte
index efe1fbb..93fd515 100644
--- a/src/app/components/SignUp.svelte
+++ b/src/app/components/SignUp.svelte
@@ -1,17 +1,20 @@
@@ -92,21 +112,50 @@
, which allows
you to own your social identity.
-
-
-
-
-
+
+
+
Password
+
+
+
+
+
+
+
+ Note that your email and password will only work to log in to {PLATFORM_NAME}. To use your key
+ on other nostr applications, you can create a nostr key yourself, or export your key from {PLATFORM_NAME}
+ later.
+
+ {:else}
+
+
+
+
+
+
+ @{signerDomain}
+
+
+
+ {/if}
Or
-
+
Get started on Nosta.me
diff --git a/src/app/components/SignUpConfirm.svelte b/src/app/components/SignUpConfirm.svelte
new file mode 100644
index 0000000..c390337
--- /dev/null
+++ b/src/app/components/SignUpConfirm.svelte
@@ -0,0 +1,53 @@
+
+
+
+
+ {#if loading}
+ Just a second...
+ {:else if error}
+ Oops!
+ {:else}
+ Success!
+ {/if}
+
+
+
+ {#if loading}
+ Hang tight, we're checking your confirmation link.
+ {:else if error}
+ Looks like something went wrong. {error}
+ {:else}
+ You're all set - click below to log in.
+ {/if}
+
+