feat: add PWA support
All checks were successful
Gitea Actions Demo / build-and-deploy-to-local-server (push) Successful in 2m58s
Gitea Actions Demo / deploy-to-remote-server (push) Successful in 2s

This commit is contained in:
2025-06-17 20:02:46 +08:00
parent de40dd1365
commit 6e47c0fac3
3 changed files with 53 additions and 0 deletions

21
static/manifest.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "技术文章",
"short_name": "技术文章",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#317EFB",
"icons": [
{
"src": "/images/website_icon.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/website_icon.png",
"type": "image/png",
"sizes": "512x512"
}
]
}