Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 2b1e874

Browse files
Merge pull request #766 from deckgo/pwa-shortcuts
feat: pwa app shortcuts
2 parents 8574f86 + 82ad763 commit 2b1e874

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
12.2 KB
Loading
7.29 KB
Loading

studio/src/manifest.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,21 @@
3030
"sizes": "512x512",
3131
"type": "image/png"
3232
}
33+
],
34+
"shortcuts": [
35+
{
36+
"name": "Write a presentation",
37+
"short_name": "Write a presentation",
38+
"description": "Start writing a new presentation",
39+
"url": "/editor",
40+
"icons": [{"src": "/assets/favicon/shortcut-editor-192x192.png", "sizes": "192x192"}]
41+
},
42+
{
43+
"name": "Dashboard",
44+
"short_name": "Dashboard",
45+
"description": "Access your dashboard",
46+
"url": "/dashboard",
47+
"icons": [{"src": "/assets/favicon/shortcut-dashboard-192x192.png", "sizes": "192x192"}]
48+
}
3349
]
3450
}

0 commit comments

Comments
 (0)