-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: Add manifest.json for better mobile experience
Also added a meta description and an apple-touch-icon that will be displayed on iOS devices as icon. This makes it possible to use the webapp a bit like a native app. A serviceworker is not in use yet, since the app does not really work well offline...
- Loading branch information
Showing
5 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
"aot": true, | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/manifest.json", | ||
"src/assets" | ||
], | ||
"styles": [ | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "OpenEnergize", | ||
"short_name": "OpenEnergize", | ||
"start_url": "/", | ||
"scope": "/", | ||
"display": "standalone", | ||
"background_color": "#3f51b5", | ||
"theme_color": "#3f51b5", | ||
"description": "An open source energy management platform", | ||
"icons": [ | ||
{ | ||
"src": "/assets/touch-icon-192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/assets/touch-icon-512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
] | ||
} |