diff --git a/src/components/Onboarding.svelte b/src/components/Onboarding.svelte index 2d63855..cd387f9 100644 --- a/src/components/Onboarding.svelte +++ b/src/components/Onboarding.svelte @@ -1,24 +1,11 @@ -{#if onboarding == true}
{#each stepsObj as item} @@ -62,5 +48,4 @@ {/each} -
-{/if} \ No newline at end of file + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 639ce91..ff9fcf7 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -22,6 +22,10 @@ var mapVisible = false; $: $page.url.pathname == '/' || $page.url.pathname == '/control' ? mapVisible = true : mapVisible = false; + + + import { localStorageStore } from '@skeletonlabs/skeleton'; + const onboardingShow = localStorageStore('onboarding', true);
@@ -31,7 +35,9 @@ + {#if $onboardingShow} + {/if}
{#if $drawerStore.id === 'edit-device'} diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index ce27737..7dc214c 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -1,9 +1,8 @@