From 507327f9a1575f0071f765d0cac982155e99cac9 Mon Sep 17 00:00:00 2001 From: OmegaRogue Date: Sat, 4 Apr 2020 12:18:33 +0200 Subject: [PATCH] tried getting pwa to work Signed-off-by: OmegaRogue --- css/pwa.css | 19 +++++++++++++++++++ index.html | 12 ++++++++++++ site.webmanifest | 3 +-- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 css/pwa.css diff --git a/css/pwa.css b/css/pwa.css new file mode 100644 index 000000000..6c2a4411d --- /dev/null +++ b/css/pwa.css @@ -0,0 +1,19 @@ +.hidden { + display: none !important; +} + +#installContainer { + position: absolute; + bottom: 1em; + display: flex; + justify-content: center; + width: 100%; +} + +#installContainer button { + background-color: inherit; + border: 1px solid white; + color: white; + font-size: 1em; + padding: 0.75em; +} \ No newline at end of file diff --git a/index.html b/index.html index 300fb017d..36ed0081f 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + @@ -62,8 +63,19 @@ --> + + + +

Note: If you have a version of Bangle.js firmware before 2v04, please update to the latest firmware or use the legacy app loader. diff --git a/site.webmanifest b/site.webmanifest index cf4d186f6..4fec65c4a 100644 --- a/site.webmanifest +++ b/site.webmanifest @@ -17,6 +17,5 @@ "theme_color": "#5755d9", "background_color": "#5755d9", "display": "standalone", - "start_url": "/", - "scope": "/" + "start_url": "https://omegavoid.github.io/" }