From cd268c9bc7e544e39ea4560e76d2e2b515d27526 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 23 Dec 2022 19:26:28 +0100 Subject: [PATCH] ui: update button for mobile --- components/main/MainContent.vue | 1 + components/pwa/PwaBadge.client.vue | 17 +++++++++++++++++ .../PwaPrompt.client.vue} | 16 +++++----------- composables/pwa/index.ts | 2 ++ layouts/default.vue | 2 +- locales/en-US.json | 3 ++- 6 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 components/pwa/PwaBadge.client.vue rename components/{PWAPrompt.client.vue => pwa/PwaPrompt.client.vue} (54%) diff --git a/components/main/MainContent.vue b/components/main/MainContent.vue index eb88bc10..ebccc6e7 100644 --- a/components/main/MainContent.vue +++ b/components/main/MainContent.vue @@ -22,6 +22,7 @@ defineProps<{
+
diff --git a/components/pwa/PwaBadge.client.vue b/components/pwa/PwaBadge.client.vue new file mode 100644 index 00000000..5ab45c79 --- /dev/null +++ b/components/pwa/PwaBadge.client.vue @@ -0,0 +1,17 @@ + + + diff --git a/components/PWAPrompt.client.vue b/components/pwa/PwaPrompt.client.vue similarity index 54% rename from components/PWAPrompt.client.vue rename to components/pwa/PwaPrompt.client.vue index 903e3c74..a0335a9c 100644 --- a/components/PWAPrompt.client.vue +++ b/components/pwa/PwaPrompt.client.vue @@ -1,28 +1,22 @@ -