diff --git a/src/lib/components/Map/LocationRequest.svelte b/src/lib/components/Map/LocationRequest.svelte index ceaec32..a594188 100644 --- a/src/lib/components/Map/LocationRequest.svelte +++ b/src/lib/components/Map/LocationRequest.svelte @@ -1,71 +1,49 @@ - - {#if state === 'not-granted'} + + + +{#if !granted} - This is an info alert -
-
Please provide Erant your location
-
- + This is an info alert +
+
To advance through your experience you need to enable the location access, without it the app won't work.
+
+ +
-
- {/if} - - {#if state === 'granted'} +{/if} + diff --git a/src/routes/map.svelte b/src/routes/map.svelte index 825b0c3..cd52021 100644 --- a/src/routes/map.svelte +++ b/src/routes/map.svelte @@ -1,36 +1,43 @@ {#if granted} + {:else} - + + granted = true} /> {/if} \ No newline at end of file