flotilla/src/app/components/SignUpKey.svelte

18 lines
425 B
Svelte
Raw Normal View History

2025-02-14 18:53:36 +00:00
<script lang="ts">
2025-08-18 22:02:17 +00:00
import type {Profile} from "@welshman/util"
2026-01-12 23:21:58 +00:00
import KeyDownload from "@app/components/KeyDownload.svelte"
2025-08-18 22:02:17 +00:00
import SignUpComplete from "@app/components/SignUpComplete.svelte"
import {pushModal} from "@app/util/modal"
2025-02-14 18:53:36 +00:00
2025-08-18 22:02:17 +00:00
type Props = {
2026-01-12 23:21:58 +00:00
secret: string
2025-08-18 22:02:17 +00:00
profile: Profile
}
2026-01-12 23:21:58 +00:00
const props: Props = $props()
2025-08-18 22:02:17 +00:00
2026-01-12 23:21:58 +00:00
const next = () => pushModal(SignUpComplete, props)
2025-02-14 18:53:36 +00:00
</script>
2026-01-12 23:21:58 +00:00
<KeyDownload {next} />