diff --git a/web/i18n/en/notification.json b/web/i18n/en/notification.json new file mode 100644 index 00000000..a9b32139 --- /dev/null +++ b/web/i18n/en/notification.json @@ -0,0 +1,4 @@ +{ + "update.title": "update is available!", + "update.subtext": "press to reload" +} diff --git a/web/src/components/misc/UpdateNotification.svelte b/web/src/components/misc/UpdateNotification.svelte new file mode 100644 index 00000000..0e2c93db --- /dev/null +++ b/web/src/components/misc/UpdateNotification.svelte @@ -0,0 +1,102 @@ + + +
+ +
+ + diff --git a/web/src/components/sidebar/Sidebar.svelte b/web/src/components/sidebar/Sidebar.svelte index 29ad6248..862071c6 100644 --- a/web/src/components/sidebar/Sidebar.svelte +++ b/web/src/components/sidebar/Sidebar.svelte @@ -83,6 +83,7 @@ bottom: 0; justify-content: center; align-items: flex-start; + z-index: 3; } #sidebar::before { diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index ed8ed818..741ec386 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -1,5 +1,6 @@