diff --git a/cookbook/static/manifest/logo_color144.png b/cookbook/static/manifest/logo_color144.png new file mode 100644 index 00000000..9df40a61 Binary files /dev/null and b/cookbook/static/manifest/logo_color144.png differ diff --git a/cookbook/static/manifest/logo_color512.png b/cookbook/static/manifest/logo_color512.png new file mode 100644 index 00000000..1f25ee31 Binary files /dev/null and b/cookbook/static/manifest/logo_color512.png differ diff --git a/cookbook/static/manifest/webmanifest b/cookbook/static/manifest/webmanifest.json similarity index 55% rename from cookbook/static/manifest/webmanifest rename to cookbook/static/manifest/webmanifest.json index 0c5c3ece..615f203c 100644 --- a/cookbook/static/manifest/webmanifest +++ b/cookbook/static/manifest/webmanifest.json @@ -1,14 +1,21 @@ { "name": "Tandoor Recipes", + "short_name" : "Tandoor", "description": "Application to manage, tag and search recipes.", "icons": [ { - "src": "/static/manifest/logo_color.svg", - "sizes": "any" + "src": "/static/manifest/logo_color144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "/static/manifest/logo_color512.png", + "type": "image/png", + "sizes": "512x512" } ], "start_url": "/search", - "background_color": "#18BC9C", + "background_color": "#ffcb76", "display": "standalone", "scope": "/", "theme_color": "#ffcb76", @@ -17,41 +24,25 @@ "name": "Plan", "short_name": "Plan", "description": "View your meal Plan", - "url": "/plan", - "icons": [{ - "src": "/static/manifest/logo_color.svg", - "sizes": "any" - }] + "url": "/plan" }, { "name": "Books", "short_name": "Cookbooks", "description": "View your cookbooks", - "url": "/books", - "icons": [{ - "src": "/static/manifest/logo_color.svg", - "sizes": "any" - }] + "url": "/books" }, { "name": "Shopping", "short_name": "Shopping", "description": "View your shopping lists", - "url": "/list/shopping-list/", - "icons": [{ - "src": "/static/manifest/logo_color.svg", - "sizes": "any" - }] + "url": "/list/shopping-list/" }, { "name": "Latest Shopping List", "short_name": "Shopping List", "description": "View the latest shopping list", - "url": "/shopping/latest/", - "icons": [{ - "src": "/static/manifest/logo_color.svg", - "sizes": "any" - }] + "url": "/shopping/latest/" } ] } diff --git a/cookbook/templates/base.html b/cookbook/templates/base.html index b2bbfbcc..6223aa5b 100644 --- a/cookbook/templates/base.html +++ b/cookbook/templates/base.html @@ -21,7 +21,7 @@ - +