From 723c6127dac1cb8ae8b7d4878d2272df205afb4d Mon Sep 17 00:00:00 2001 From: Pere Lev Date: Mon, 29 May 2023 13:00:53 +0300 Subject: [PATCH] Account creation: Verify & Verified pages --- src/routes/+page.svelte | 14 ++++++------- src/routes/account/create/+page.svelte | 2 +- src/routes/account/verified/+page.svelte | 16 +++++++++++++++ src/routes/account/verify/+page.svelte | 26 ++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 9 deletions(-) create mode 100644 src/routes/account/verified/+page.svelte create mode 100644 src/routes/account/verify/+page.svelte diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e491600..aecb7a8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -20,14 +20,12 @@ Anvil is a F2 (Federated Forge) client. Would you like to create a new F2 account or log in with your existing one?

-
-
-
- Create F2 account -
-
- I have an account -
+
diff --git a/src/routes/account/create/+page.svelte b/src/routes/account/create/+page.svelte index fd32b9e..badd34f 100644 --- a/src/routes/account/create/+page.svelte +++ b/src/routes/account/create/+page.svelte @@ -45,7 +45,7 @@
- Create account + Create account
diff --git a/src/routes/account/verified/+page.svelte b/src/routes/account/verified/+page.svelte new file mode 100644 index 0000000..7f59eda --- /dev/null +++ b/src/routes/account/verified/+page.svelte @@ -0,0 +1,16 @@ + + +
+
+
+

Success!

+ +
+

+ Your account is created and verified. +

+ Log in +
+
diff --git a/src/routes/account/verify/+page.svelte b/src/routes/account/verify/+page.svelte new file mode 100644 index 0000000..5f11032 --- /dev/null +++ b/src/routes/account/verify/+page.svelte @@ -0,0 +1,26 @@ + + +
+
+

Verify account

+

+ A verification code has been sent to + jane@doe-mail.com. Please copy the code from your + e-mail and paste it below. +

+
+ + Verify +
+
+