(pwa) add shortcut

This commit is contained in:
2020-07-18 10:49:03 +02:00
parent 6cbde07c70
commit 2a3d39d3de
5 changed files with 28 additions and 7 deletions

View File

@@ -11,7 +11,18 @@ module.exports = {
},
manifestOptions: {
background_color: mainColor,
theme_color: mainColor,
shortcuts: [
{
name: 'Start a session',
short_name: 'Start session',
description: 'Start a pair programming session',
url: '/?play=true',
icons: [
{ src: '/img/shortcuts/play-192x192.png', sizes: '192x192' },
{ src: '/img/shortcuts/play-144x144.png', sizes: '144x144' }
]
}
],
icons: [
{
src: './img/icons/android-chrome-192x192.png',