diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 63d02d11..8337a83b 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -9,8 +9,7 @@ AppBar, Drawer, getDrawerStore, - initializeStores, - localStorageStore + initializeStores } from '@skeletonlabs/skeleton'; import '../app.postcss'; initializeStores(); @@ -24,8 +23,6 @@ $: classesPageContentPartner = $page.url.pathname === '/partner' ? 'overflow-hidden' : ''; $: classesPageFooterPartner = $page.url.pathname === '/partner' ? 'hidden' : ''; $: classesPageFooterDataStories = $page.url.pathname.startsWith('/data-stories') ? 'hidden' : ''; - const footerStore = localStorageStore('footer', { closed: false }); - $: classesFooter = $footerStore.closed ? 'hidden' : ''; afterNavigate((params) => { const isNewPage = params.from && params.to && params.from.url.pathname !== params.to.url.pathname; @@ -162,20 +159,4 @@ - - -