diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 11:41:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:33:27 -0800 |
| commit | 4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch) | |
| tree | 2ab903d969946ddd6129f2e6b796368adeef65cd /src/routes/(static) | |
| parent | 8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff) | |
| download | coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip | |
fix warnings
Diffstat (limited to 'src/routes/(static)')
| -rw-r--r-- | src/routes/(static)/bounties/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(static)/docs/+page.svelte | 7 | ||||
| -rw-r--r-- | src/routes/(static)/login/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/(static)/register/+page.svelte | 3 |
4 files changed, 11 insertions, 5 deletions
diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte index 695eae3e..03a9cb8f 100644 --- a/src/routes/(static)/bounties/+page.svelte +++ b/src/routes/(static)/bounties/+page.svelte @@ -113,7 +113,7 @@ noobserver icon="ph:lightning-fill" class="text-yellow-300" - /> + ></iconify-icon> <span class="text-sm font-semibold tabular-nums"> {s(amount, "en-CA")} </span> diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index c323f9bd..37cc44bc 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -21,7 +21,12 @@ </script> {#snippet cp(something)} - <button type="button" class="ml-auto" onclick={() => copy(something)}> + <button + type="button" + class="ml-auto" + onclick={() => copy(something)} + aria-label="Copy value" + > <iconify-icon noobserver icon="ph:copy-bold" width="42"></iconify-icon> </button> {/snippet} diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte index 28e82e09..d25c6e51 100644 --- a/src/routes/(static)/login/+page.svelte +++ b/src/routes/(static)/login/+page.svelte @@ -208,7 +208,7 @@ <Spinner /> </div> {:else} - <img src="/images/nostr.png" class="w-8" /> + <img src="/images/nostr.png" class="w-8" alt="Nostr" /> {/if} <div class="my-auto">{$t("login.nostr")}</div> </button> @@ -229,8 +229,10 @@ <div class="fixed bg-base-100/90 inset-0 h-full w-full z-50 cursor-default" onclick={(e) => e.stopPropagation()} + onkeydown={(e) => e.stopPropagation()} role="dialog" aria-labelledby="title" + tabindex="-1" > <div class="mx-auto p-5 border shadow-lg rounded-md bg-base-100 space-y-5 max-w-lg" diff --git a/src/routes/(static)/register/+page.svelte b/src/routes/(static)/register/+page.svelte index bb3af128..5a2f966f 100644 --- a/src/routes/(static)/register/+page.svelte +++ b/src/routes/(static)/register/+page.svelte @@ -22,7 +22,6 @@ NumberDictionary, uniqueNamesGenerator, colors, - adjectives, animals, } from "unique-names-generator"; import { sign } from "$lib/nostr"; @@ -382,7 +381,7 @@ <Spinner /> </div> {:else} - <img src="/images/nostr.png" class="w-8" /> + <img src="/images/nostr.png" class="w-8" alt="Nostr" /> {/if} <div class="my-auto">{$t("login.nostr")}</div> </button> |
