From db091db6de810b349ab067558a2f4889e2fb0a8d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 10 May 2025 15:12:28 +0000 Subject: [PATCH] frontend: Add a simple notification component Signed-off-by: Michael Tremer --- frontend/src/components/Notification.vue | 25 ++++++++++++++++++++++++ frontend/src/views/DemoView.vue | 15 ++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 frontend/src/components/Notification.vue diff --git a/frontend/src/components/Notification.vue b/frontend/src/components/Notification.vue new file mode 100644 index 0000000..817feb5 --- /dev/null +++ b/frontend/src/components/Notification.vue @@ -0,0 +1,25 @@ + + + diff --git a/frontend/src/views/DemoView.vue b/frontend/src/views/DemoView.vue index e1cde6b..7bb81f1 100644 --- a/frontend/src/views/DemoView.vue +++ b/frontend/src/views/DemoView.vue @@ -3,6 +3,7 @@ --> @@ -10,4 +11,18 @@

{{ $t("The section can have any content...") }}

+ +
+ + {{ $t("This is a regular notification.") }} + + + + {{ $t("This notification has a title.") }} + + + + {{ $t("This notification can be closed.") }} + +
-- 2.47.2