diff options
| author | Fuwn <[email protected]> | 2024-02-04 23:40:52 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-04 23:40:52 -0800 |
| commit | 572ae953f5ca300e075929a67929f5130c65b10d (patch) | |
| tree | 4423c3a599eadaa5cfa3a2522e3846bdfa0c2b5e /src/lib/Error | |
| parent | feat(message): use fullscreen popup (diff) | |
| download | due.moe-572ae953f5ca300e075929a67929f5130c65b10d.tar.xz due.moe-572ae953f5ca300e075929a67929f5130c65b10d.zip | |
feat(popup): use popup component
Diffstat (limited to 'src/lib/Error')
| -rw-r--r-- | src/lib/Error/AnimeRateLimited.svelte | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/Error/AnimeRateLimited.svelte b/src/lib/Error/AnimeRateLimited.svelte index 9f206131..073a3879 100644 --- a/src/lib/Error/AnimeRateLimited.svelte +++ b/src/lib/Error/AnimeRateLimited.svelte @@ -1,9 +1,11 @@ -<div class="card popup"> - <p> - <slot /> - </p> +<script> + import Popup from '$lib/Popup.svelte'; +</script> - <span> It is likely that you have been rate limited by AniList. Please try again later. </span> +<Popup locked fullscreen> + <p><slot /></p> + + <span>It is likely that you have been rate limited by AniList. Please try again later.</span> {#await fetch('https://api.waifu.pics/sfw/cry') then response} {#await response.json() then json} @@ -14,4 +16,4 @@ </a> {/await} {/await} -</div> +</Popup> |