feat(onboarding): Added button when you don't have a passkey added. (#426)

Co-authored-by: Kyle Mendell <kmendell@ofkm.us>
This commit is contained in:
Arne Skaar Fismen
2025-04-12 04:27:01 +02:00
committed by GitHub
parent d04167cada
commit 72061ba427

View File

@@ -67,11 +67,18 @@
{#if passkeys.length == 0}
<Alert.Root variant="warning" class="flex gap-3">
<LucideAlertTriangle class="size-4" />
<div>
<Alert.Title class="font-semibold">{m.passkey_missing()}</Alert.Title>
<Alert.Description class="text-sm">
{m.please_provide_a_passkey_to_prevent_losing_access_to_your_account()}
</Alert.Description>
<div class="md:flex md:w-full md:place-content-between">
<div>
<Alert.Title class="font-semibold">{m.passkey_missing()}</Alert.Title>
<Alert.Description class="text-sm">
{m.please_provide_a_passkey_to_prevent_losing_access_to_your_account()}
</Alert.Description>
</div>
<div>
<Button class="mt-2 md:mt-0" on:click={createPasskey}>
{m.add_passkey()}
</Button>
</div>
</div>
</Alert.Root>
{:else if passkeys.length == 1}