added notification toasts (error modals still broken)

This commit is contained in:
2026-01-25 12:59:27 +11:00
parent 25461143ba
commit 959ca96b68
13 changed files with 990 additions and 89 deletions

View File

@@ -0,0 +1,10 @@
package popup
// ToastContainer displays stacked toast notifications (success, warning, info)
templ ToastContainer() {
<div class="fixed top-20 right-5 z-40 flex flex-col gap-3 max-w-sm pointer-events-none">
<template x-for="toast in toasts" :key="toast.id">
@ToastNotification()
</template>
</div>
}