feat: ios PWA

This commit is contained in:
tim
2025-08-03 16:25:58 +08:00
parent 4d2b616aed
commit b393eaadea
7 changed files with 26 additions and 0 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -14,6 +14,14 @@
<meta name="description"
content="OpenIsle 是一个开放的技术与交流社区,致力于为开发者、技术爱好者和创作者们提供一个自由、友好、包容的讨论与协作环境。" />
<script src="https://accounts.google.com/gsi/client" async defer></script>
<!-- iOS Safari 图标 -->
<link rel="apple-touch-icon" sizes="180x180" href="/con-180.png">
<link rel="apple-touch-icon" sizes="152x152" href="/con-152.png">
<link rel="apple-touch-icon" sizes="120x120" href="/con-120.png">
<!-- PWA manifest -->
<link rel="manifest" href="/manifest.json">
</head>
<body>

View File

@@ -0,0 +1,18 @@
{
"name": "OpenIsle",
"short_name": "OpenIsle",
"start_url": "/",
"display": "standalone",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}