feat(webui): add PWA support for mobile home screen installation

- Add manifest.json with icons for install prompt
- Add service worker with cache-first for static assets
- Register SW in main.tsx
- Link manifest in index.html
This commit is contained in:
zpljd258
2026-08-11 20:59:06 +08:00
committed by chengyongru
parent 7703cd22eb
commit 43ca12960b
7 changed files with 114 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
<link rel="icon" type="image/svg+xml" href="/brand/nanobot_mark.svg" />
<link rel="alternate icon" type="image/png" sizes="32x32" href="/brand/nanobot_favicon_32.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/brand/nanobot_apple_touch.png" />
<link rel="manifest" href="/manifest.json" />
<style>
html,
body,