Add PWA Shortcuts and associated icons

This commit is contained in:
Fred Boniface 2023-10-16 12:32:04 +01:00
parent bb3ae45a37
commit 4a2e4fd2aa
3 changed files with 27 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -73,5 +73,32 @@
"form_factor": "wide", "form_factor": "wide",
"label": "Train details and PIS Codes" "label": "Train details and PIS Codes"
} }
],
"shortcuts": [
{
"name": "Location Reference",
"short_name": "Loc Reference",
"description": "Lookup location reference data about the UK Rail network",
"url": "/more/corpus",
"icons": [
{
"src": "/images/shortcuts/location_ref.png",
"sizes": "96x96",
"type": "image/png"
}
]
},
{
"name": "Settings",
"description": "Your OwlBoard settings",
"url": "/more/settings",
"icons": [
{
"src": "/images/shortcuts/cog.png",
"sizes": "96x96",
"type": "image/png"
}
]
}
] ]
} }