diff --git a/src/lib/components/LocationButton.svelte b/src/lib/components/LocationButton.svelte index 431cd5c..3d74d1f 100644 --- a/src/lib/components/LocationButton.svelte +++ b/src/lib/components/LocationButton.svelte @@ -6,6 +6,7 @@ locationError, isLocationLoading } from '$lib/stores/location'; + import { Skeleton } from './skeleton'; interface Props { class?: string; @@ -55,11 +56,9 @@ > {#if $isLocationLoading} - - - +
+ +
{:else if $locationStatus === 'success'}
- - {#if $coordinates} - -
-
-
-
-
-
-
- {/if} -
- - {#if showLocationButton} -
- + {#if !mapReady} +
+ +
+ + +
{/if} + +
+ + {#if $coordinates} + +
+
+
+
+
+
+
+ {/if} +
+ + {#if showLocationButton} +
+ +
+ {/if} +