diff --git a/artwork/app.svg b/artwork/app.svg new file mode 100644 index 00000000..1a3fcb9d --- /dev/null +++ b/artwork/app.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/artwork/logo.svg b/artwork/logo.svg index 5a655ba1..ffbe966a 100644 --- a/artwork/logo.svg +++ b/artwork/logo.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/artwork/logo_f.svg b/artwork/logo_f.svg index ec993429..53d99c30 100644 --- a/artwork/logo_f.svg +++ b/artwork/logo_f.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/artwork/logo_shadow.svg b/artwork/logo_shadow.svg new file mode 100644 index 00000000..1fbb5037 --- /dev/null +++ b/artwork/logo_shadow.svg @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/docs/src/.vuepress/config.js b/docs/src/.vuepress/config.js index 6fd9a6ee..59f05965 100755 --- a/docs/src/.vuepress/config.js +++ b/docs/src/.vuepress/config.js @@ -51,6 +51,7 @@ module.exports = { "files/", "locate/", "hash/", + "app/", "privacy/" ] }, diff --git a/docs/src/.vuepress/public/favicon.ico b/docs/src/.vuepress/public/favicon.ico new file mode 100644 index 00000000..ae227123 Binary files /dev/null and b/docs/src/.vuepress/public/favicon.ico differ diff --git a/docs/src/users/README.md b/docs/src/users/README.md index 9f33dd0b..db1d9eba 100644 --- a/docs/src/users/README.md +++ b/docs/src/users/README.md @@ -10,6 +10,7 @@ FacilMap is a privacy-friendly, open-source versatile online map that combines d * [Open geographic files](./files/), for example GPX, KML or GeoJSON files * [Show your location on the map](./locate/) * [Share a link](./hash/) to a particular view of the map. +* Add FacilMap as an [app](./app/) to your device. * FacilMap is [privacy-friendly](./privacy/) and does not track you. In addition, FacilMap allows you to create collaborative maps, where you and others can add markers, draw lines, save routes and import GPX/KML/GeoJSON files, which will be saved under a custom URL. diff --git a/docs/src/users/app/README.md b/docs/src/users/app/README.md new file mode 100644 index 00000000..33473748 --- /dev/null +++ b/docs/src/users/app/README.md @@ -0,0 +1,27 @@ +# FacilMap app + +On some devices, it is possible to add FacilMap as an app. + +## Chrome + +1. Open FacilMap in Chrome +2. Press Chrome’s menu icon (3 dots) on the top right +3. Press “Add to Home Screen” + +## Firefox + +1. Open FacilMap in Firefox +2. Press Firefox’s menu icon (3 dots) on the top right or bottom right +3. Press “Add to Home screen” + +## Safari + +1. Open FacilMap in Safari +2. Press Safari’s share icon (rectangle with an up arrow) at the bottom in the middle +3. Press “Add to Home Screen” + +## Opera + +1. Open FacilMap in Opera +2. Press Opera’s plus icon on the top left +3. Press “Add to home screen” \ No newline at end of file diff --git a/frontend/static/app-512.png b/frontend/static/app-512.png new file mode 100644 index 00000000..1558186a Binary files /dev/null and b/frontend/static/app-512.png differ diff --git a/frontend/static/favicon-180.png b/frontend/static/favicon-180.png index 247f2f53..775ee8f9 100644 Binary files a/frontend/static/favicon-180.png and b/frontend/static/favicon-180.png differ diff --git a/frontend/static/favicon-512.png b/frontend/static/favicon-512.png deleted file mode 100644 index 8c293555..00000000 Binary files a/frontend/static/favicon-512.png and /dev/null differ diff --git a/frontend/static/favicon-64.png b/frontend/static/favicon-64.png index 2210dd1f..765e91f0 100644 Binary files a/frontend/static/favicon-64.png and b/frontend/static/favicon-64.png differ diff --git a/frontend/static/favicon.ico b/frontend/static/favicon.ico index 82e25e39..ae227123 100644 Binary files a/frontend/static/favicon.ico and b/frontend/static/favicon.ico differ diff --git a/frontend/static/favicon.svg b/frontend/static/favicon.svg index ec993429..53d99c30 100644 --- a/frontend/static/favicon.svg +++ b/frontend/static/favicon.svg @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/frontend/static/manifest.json b/frontend/static/manifest.json index d830209b..53a894dc 100644 --- a/frontend/static/manifest.json +++ b/frontend/static/manifest.json @@ -2,10 +2,12 @@ "name": "FacilMap", "short_name": "FacilMap", "icons": [{ - "src": "./favicon-512.png", - "sizes": "512x512" + "src": "./app-512.png", + "sizes": "512x512", + "type": "image/png" }], "background_color": "#ffffff", "theme_color": "#ffffff", - "display": "fullscreen" + "display": "fullscreen", + "start_url": "./" } \ No newline at end of file diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts index 26e27053..6244f23e 100644 --- a/frontend/webpack.config.ts +++ b/frontend/webpack.config.ts @@ -109,7 +109,7 @@ module.exports = (env: any, argv: any): Configuration => { "favicon.svg", "favicon-64.png", "favicon-180.png", - "favicon-512.png" + "app-512.png" ].map((file) => ({ from: `${__dirname}/static/${file}` })) }), ...(isDev ? [