flotilla/src/app/components/SignUpKey.svelte

17 lines
372 B
Svelte
Raw Normal View History

2025-02-14 18:53:36 +00:00
<script lang="ts">
2026-01-16 18:06:25 +00:00
import {getKey} from "@lib/implicit"
2026-01-12 23:21:58 +00:00
import KeyDownload from "@app/components/KeyDownload.svelte"
2025-02-14 18:53:36 +00:00
2025-08-18 22:02:17 +00:00
type Props = {
2026-01-16 18:06:25 +00:00
next: () => void
step?: number
totalSteps?: number
2025-08-18 22:02:17 +00:00
}
const {next, step, totalSteps}: Props = $props()
2025-08-18 22:02:17 +00:00
2026-01-16 18:06:25 +00:00
const secret = getKey<string>("signup.secret")!
2025-02-14 18:53:36 +00:00
</script>
<KeyDownload {secret} {next} {step} {totalSteps} />