feat: add pwa support by next-pwa

This commit is contained in:
chenmoonmo
2023-01-03 11:43:59 +08:00
committed by DarkSky
parent b54bbb0aa1
commit 75725beaf3
7 changed files with 2305 additions and 523 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -0,0 +1,17 @@
{
"name": "AFFiNE",
"short_name": "AFFiNE",
"icons": [
{
"src": "/chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"start_url": "/",
"display": "standalone",
"orientation": "portrait"
}