@@ -85,7 +85,7 @@
-
+
@@ -98,9 +98,9 @@
{{dvm.amount/1000}}
{{ dvm.name }}
-
Kind: {{ dvm.kind }}
+
Kind: {{ dvm.kind }}
-
+
diff --git a/ui/noogle/src/layouts/ThreeColumnLayout.vue b/ui/noogle/src/layouts/ThreeColumnLayout.vue
index cf97447..607968e 100644
--- a/ui/noogle/src/layouts/ThreeColumnLayout.vue
+++ b/ui/noogle/src/layouts/ThreeColumnLayout.vue
@@ -81,7 +81,7 @@ import {isVisible} from "bootstrap/js/src/util/index.js";
position: fixed;
bottom:0;
- background: rgba(0, 0, 0, 0.5);;
+ background: rgba(0, 0, 0, 0);;
grid-area: footer;
width: 100vw;
height: 32px;
diff --git a/ui/noogle/src/main.js b/ui/noogle/src/main.js
index 75f9ed7..be34c94 100644
--- a/ui/noogle/src/main.js
+++ b/ui/noogle/src/main.js
@@ -22,6 +22,9 @@ import '@vuepic/vue-datepicker/dist/main.css'
//This is all for notifications
import VueNotifications from "vue-notifications";
import miniToastr from 'mini-toastr'
+import { registerSW } from 'virtual:pwa-register'
+
+registerSW({ immediate: true })
miniToastr.init()
diff --git a/ui/noogle/vite.config.ts b/ui/noogle/vite.config.ts
index f31604e..c9248df 100644
--- a/ui/noogle/vite.config.ts
+++ b/ui/noogle/vite.config.ts
@@ -1,11 +1,39 @@
import { fileURLToPath, URL } from 'node:url'
-
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+import { VitePWA } from 'vite-plugin-pwa'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
- vue()
+ vue(),
+ VitePWA({
+
+ registerType: 'autoUpdate',
+ manifest: {
+ name: 'Noogle',
+ short_name: 'Noogle',
+ description: 'Other Stuff on Nostr',
+ theme_color: '#ffffff',
+ icons: [
+ {
+ src: 'pwa-192x192.png',
+ sizes: '192x192',
+ type: 'image/png'
+ },
+ {
+ src: 'pwa-512x512.png',
+ sizes: '512x512',
+ type: 'image/png'
+ }
+ ]
+ },
+ devOptions: {
+ enabled: true,
+ },
+ workbox: {
+ maximumFileSizeToCacheInBytes: 8000000,
+ },
+ })
],
resolve: {
alias: {