Skip to content

Commit

Permalink
feat: remove testphase
Browse files Browse the repository at this point in the history
  • Loading branch information
maehr committed Feb 10, 2024
1 parent 18e3549 commit 7e431e6
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
AppBar,
Drawer,
getDrawerStore,
initializeStores,
localStorageStore
initializeStores
} from '@skeletonlabs/skeleton';
import '../app.postcss';
initializeStores();
Expand All @@ -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;
Expand Down Expand Up @@ -162,20 +159,4 @@
</section>
</div>
</svelte:fragment>
<svelte:fragment slot="footer">
<aside class="alert variant-ghost-warning {classesFooter}">
<div class="alert-message">
<h3 class="h3">Testphase aktiv</h3>
<p>
Wir befinden uns in der Testphase. Was das genau heisst und wie Sie uns unterstützen
können, erfahren Sie <a class="anchor" href="{base}/testphase">hier</a>.
</p>
</div>
<div class="alert-actions">
<button class="variant-ghost btn" on:click={() => ($footerStore.closed = true)}
>Mitteilung verbergen</button
>
</div>
</aside>
</svelte:fragment>
</AppShell>

0 comments on commit 7e431e6

Please sign in to comment.