Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove testphase #74

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading