From 493746b14c1251a45b061d2e3edd9160c929d2b9 Mon Sep 17 00:00:00 2001
From: benj <benj@rse8.com>
Date: Fri, 10 Apr 2026 11:13:34 +0800
Subject: a basic ui and landing web interface for tidyindex.com

---
 web/ui/src/lib/components/Toasts.svelte | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 web/ui/src/lib/components/Toasts.svelte

(limited to 'web/ui/src/lib/components/Toasts.svelte')

diff --git a/web/ui/src/lib/components/Toasts.svelte b/web/ui/src/lib/components/Toasts.svelte
new file mode 100644
index 0000000..3d66b3f
--- /dev/null
+++ b/web/ui/src/lib/components/Toasts.svelte
@@ -0,0 +1,12 @@
+<script lang="ts">
+  import { toasts } from '$lib/stores/toasts';
+</script>
+
+<div class="toast-container" aria-live="polite" aria-atomic="true">
+  {#each $toasts as t (t.id)}
+    <div class="toast toast-{t.kind}">
+      <span class="toast-dot"></span>
+      <span>{t.message}</span>
+    </div>
+  {/each}
+</div>
-- 
cgit v1.2.3

