aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-08-10 07:30:33 -0700
committerAdam Soltys <[email protected]>2025-08-10 07:30:33 -0700
commitccde1dca9f7bb4e2d61c8abc4e77bddb9f077571 (patch)
treeebc30e7b44a10c9302b4a8fe00afcb77472f1e37 /src/routes/(static)
parent5f2c4e41c181e52cdf822b1c5ee0e7ce99b94fa3 (diff)
downloadcoinos-ui-ccde1dca9f7bb4e2d61c8abc4e77bddb9f077571.tar.gz
coinos-ui-ccde1dca9f7bb4e2d61c8abc4e77bddb9f077571.zip
Diffstat (limited to 'src/routes/(static)')
-rw-r--r--src/routes/(static)/welcome/+page.svelte40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/routes/(static)/welcome/+page.svelte b/src/routes/(static)/welcome/+page.svelte
new file mode 100644
index 00000000..80fd2613
--- /dev/null
+++ b/src/routes/(static)/welcome/+page.svelte
@@ -0,0 +1,40 @@
+<script>
+ import { t } from "$lib/translations";
+ import { password } from "$lib/store";
+
+ let { data } = $props();
+ let { user } = $derived(data);
+ let email = $state();
+</script>
+
+<div
+ class="mx-auto md:shadow-xl rounded-3xl max-w-xl w-full md:w-[480px] md:p-8 space-y-5 mb-20"
+>
+ <h1 class="text-2xl font-bold text-center">{$t("user.settings.welcome")}</h1>
+
+ <div>We've created a new account for you.</div>
+
+ <div>
+ Username: <b>{user?.username}</b><br />
+ Password: <b>{$password}</b>
+ </div>
+
+ <div>
+ <div>Enter your email if you'd like us to send you a login link</div>
+ <div class="flex mb-2">
+ <input
+ type="text"
+ name="username"
+ bind:value={email}
+ placeholder="Email"
+ />
+ </div>
+ </div>
+
+ <div>{$t("user.settings.clickBelow")}</div>
+
+ <a href="/settings/profile" class="btn">
+ <iconify-icon icon="ph:gear-bold" width="32"></iconify-icon>
+ Settings</a
+ >
+</div>