mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-12 00:34:01 +00:00
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:
committed by
GitHub
parent
d04167cada
commit
72061ba427
@@ -67,11 +67,18 @@
|
|||||||
{#if passkeys.length == 0}
|
{#if passkeys.length == 0}
|
||||||
<Alert.Root variant="warning" class="flex gap-3">
|
<Alert.Root variant="warning" class="flex gap-3">
|
||||||
<LucideAlertTriangle class="size-4" />
|
<LucideAlertTriangle class="size-4" />
|
||||||
<div>
|
<div class="md:flex md:w-full md:place-content-between">
|
||||||
<Alert.Title class="font-semibold">{m.passkey_missing()}</Alert.Title>
|
<div>
|
||||||
<Alert.Description class="text-sm">
|
<Alert.Title class="font-semibold">{m.passkey_missing()}</Alert.Title>
|
||||||
{m.please_provide_a_passkey_to_prevent_losing_access_to_your_account()}
|
<Alert.Description class="text-sm">
|
||||||
</Alert.Description>
|
{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>
|
</div>
|
||||||
</Alert.Root>
|
</Alert.Root>
|
||||||
{:else if passkeys.length == 1}
|
{:else if passkeys.length == 1}
|
||||||
|
|||||||
Reference in New Issue
Block a user