From: Michael Tremer Date: Sat, 10 May 2025 15:12:28 +0000 (+0000) Subject: frontend: Add a simple notification component X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=inline;p=people%2Fms%2Fwestferry.git frontend: Add a simple notification component Signed-off-by: Michael Tremer --- 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.") }} + +