Rework onboarding flow, add recovery

This commit is contained in:
Jon Staab
2026-01-16 10:06:25 -08:00
parent f3647e9bc1
commit 6aa297c1a4
11 changed files with 92 additions and 93 deletions
+4 -7
View File
@@ -1,17 +1,14 @@
<script lang="ts">
import type {Profile} from "@welshman/util"
import {getKey} from "@lib/implicit"
import KeyDownload from "@app/components/KeyDownload.svelte"
import SignUpComplete from "@app/components/SignUpComplete.svelte"
import {pushModal} from "@app/util/modal"
type Props = {
secret: string
profile: Profile
next: () => void
}
const {secret, profile}: Props = $props()
const {next}: Props = $props()
const next = () => pushModal(SignUpComplete, {secret, profile})
const secret = getKey<string>("signup.secret")!
</script>
<KeyDownload {secret} {next} />