From 231658b9802ed693dce5375a021a8ad4898dcaa8 Mon Sep 17 00:00:00 2001 From: padreug Date: Tue, 11 Feb 2025 14:53:37 +0100 Subject: [PATCH] big milestone 2!!! --- .env | 2 + dev-dist/sw.js | 2 +- src/components/ChatBox.vue | 278 ------------------------------- src/components/SupportChat.vue | 140 ++++++++++++++-- src/components/layout/Navbar.vue | 21 ++- src/i18n/locales/en.ts | 4 +- src/i18n/locales/es.ts | 4 +- src/stores/nostr.ts | 13 +- 8 files changed, 167 insertions(+), 297 deletions(-) create mode 100644 .env delete mode 100644 src/components/ChatBox.vue diff --git a/.env b/.env new file mode 100644 index 0000000..691e8a2 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +# Support agent's public key in npub format +VITE_SUPPORT_NPUB=npub1p9290wv4q4694nwtvgewpraardttt7cljduq2vdwyp0y6n5pczsszet4h7 \ No newline at end of file diff --git a/dev-dist/sw.js b/dev-dist/sw.js index 136c19f..862369c 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -79,7 +79,7 @@ define(['./workbox-54d0af47'], (function (workbox) { 'use strict'; */ workbox.precacheAndRoute([{ "url": "index.html", - "revision": "0.0k43usmfr4" + "revision": "0.2675lqganp8" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/components/ChatBox.vue b/src/components/ChatBox.vue deleted file mode 100644 index 792b53c..0000000 --- a/src/components/ChatBox.vue +++ /dev/null @@ -1,278 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/SupportChat.vue b/src/components/SupportChat.vue index d9fbda2..285ce67 100644 --- a/src/components/SupportChat.vue +++ b/src/components/SupportChat.vue @@ -1,19 +1,20 @@