From 09464540b9dcce7a7861b33da427f7d4e8d5fbc3 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 20 Mar 2024 16:45:41 +0000 Subject: [PATCH] Add shortcuts to site.webmanifest --- static/babybuddy/root/site.webmanifest | 28 +++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/static/babybuddy/root/site.webmanifest b/static/babybuddy/root/site.webmanifest index 0d3749c5..5af2dd1a 100644 --- a/static/babybuddy/root/site.webmanifest +++ b/static/babybuddy/root/site.webmanifest @@ -17,5 +17,31 @@ "start_url": "/", "display": "standalone", "theme_color": "#37abe9", - "background_color": "#212529" + "background_color": "#212529", + "shortcuts": [ + { + "name": "Start a timer", + "url": "/timers/add/" + }, + { + "name": "Record a change", + "url": "/changes/add/" + }, + { + "name": "Record a feed", + "url": "/feedings/add/" + }, + { + "name": "Record a pumping", + "url": "/pumping/add/" + }, + { + "name": "Record a sleep", + "url": "/sleep/add/" + }, + { + "name": "Record tummy time", + "url": "/tummy-time/add/" + } + ] }