From a7f15fde25032dcb21eead1743271c45e79518cd Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Mon, 11 Sep 2023 16:35:29 +0800 Subject: [PATCH] Added gatekeeping dialogs for PWA install requirement --- src/App.vue | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/main.ts | 4 ++++ 2 files changed, 73 insertions(+) diff --git a/src/App.vue b/src/App.vue index 8e37ea9..660209e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -246,6 +246,75 @@ +
+
+
+ + +

Add to Home Screen

+

+ To install the app, you need to add this website to your home + screen. +

+

+ In your Safari browser menu, tap the + + + + Share + + icon and choose + Add to Home Screen in the options. Then, open the Time + Safari app on your home screen. +

+
+
+
+
+
+
+ + +

Add to Home Screen

+

+ To install the app, you need to add this website to your home + screen. +

+

+ In your Chrome browser menu, tap the + + + + More + + button and choose + Install App in the options. +

+
+
+
diff --git a/src/main.ts b/src/main.ts index 980b0e8..64421be 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,6 +13,7 @@ import { library } from "@fortawesome/fontawesome-svg-core"; import { faArrowLeft, faArrowRight, + faArrowUpFromBracket, faBurst, faCalendar, faChevronLeft, @@ -39,6 +40,7 @@ import { faLongArrowAltLeft, faLongArrowAltRight, faMagnifyingGlass, + faMobileScreenButton, faPen, faPersonCircleCheck, faPersonCircleQuestion, @@ -59,6 +61,7 @@ import { library.add( faArrowLeft, faArrowRight, + faArrowUpFromBracket, faBurst, faCalendar, faChevronLeft, @@ -85,6 +88,7 @@ library.add( faLongArrowAltLeft, faLongArrowAltRight, faMagnifyingGlass, + faMobileScreenButton, faPen, faPersonCircleCheck, faPersonCircleQuestion,