feat: add NotificationStack component and notify API for toast notifications

This commit is contained in:
Gabriel20xx committed 2026-08-27 13:32:13 +02:00
1 parent d005ee6f51
commit fc0e376df8
6 files changed
+441 -9

No files matched your search

@@ -2,6 +2,7 @@
import type { Snippet } from 'svelte';
import type { NavItem } from '../types';
import Header from './Header.svelte';
import NotificationStack from './NotificationStack.svelte';
import PageHeader from './PageHeader.svelte';
let {
@@ -54,6 +55,8 @@
</script>
<div class={`sc-root sc-app-shell ${className}`} data-theme={theme === 'system' ? undefined : theme}>
<NotificationStack />
<Header
aboutHref={aboutHref ?? navItems.find((item) => item.label.toLowerCase() === 'about')?.href ?? '/about'}
{brand}