From 2581f5515cde9fdeb342350217db378aadb4d842 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 14 Dec 2022 20:42:08 +0100 Subject: feat: RC notification --- code/app/src/components/notification.svelte | 66 ++++++++++++++++------ code/app/src/routes/book/+layout.svelte | 1 + .../app/src/routes/book/notifications/+page.svelte | 50 ++++++++++++++++ 3 files changed, 101 insertions(+), 16 deletions(-) create mode 100644 code/app/src/routes/book/notifications/+page.svelte diff --git a/code/app/src/components/notification.svelte b/code/app/src/components/notification.svelte index f7b172e..5b0c2f2 100644 --- a/code/app/src/components/notification.svelte +++ b/code/app/src/components/notification.svelte @@ -1,3 +1,7 @@ + + + +
+

Type:

+ + + + + + + (hideAfterSeconds = timeout ?? -1)}>Apply + { + hideAfterSeconds = -1; + timeout = 0; + }}>Reset + + +
-- cgit v1.3