diff options
| author | Adam Soltys <[email protected]> | 2026-03-02 21:22:41 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-02 21:22:41 -0800 |
| commit | 7c4d393feaf9c594fa6bdae274abc0edd45c3373 (patch) | |
| tree | 74ea34dbbc9b7399b910ae92af9208f2c787ecde /src/components | |
| parent | 90f29dce3d675f850e48ede2edb187e6c53b84da (diff) | |
| download | coinos-ui-7c4d393feaf9c594fa6bdae274abc0edd45c3373.tar.gz coinos-ui-7c4d393feaf9c594fa6bdae274abc0edd45c3373.zip | |
offline mode
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/OfflineBanner.svelte | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/OfflineBanner.svelte b/src/components/OfflineBanner.svelte new file mode 100644 index 00000000..5b59513d --- /dev/null +++ b/src/components/OfflineBanner.svelte @@ -0,0 +1,10 @@ +<script lang="ts"> + import { offline } from "$lib/store"; +</script> + +{#if $offline} + <div class="alert alert-warning sticky top-0 z-50 rounded-none justify-center gap-2"> + <iconify-icon icon="ph:wifi-slash-bold" width="20"></iconify-icon> + You're offline — showing cached data + </div> +{/if} |
