mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 06:30:48 +08:00
feat: ios PWA
This commit is contained in:
BIN
frontend/public/icon-120.png
Normal file
BIN
frontend/public/icon-120.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
BIN
frontend/public/icon-152.png
Normal file
BIN
frontend/public/icon-152.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
BIN
frontend/public/icon-180.png
Normal file
BIN
frontend/public/icon-180.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
frontend/public/icon-192.png
Normal file
BIN
frontend/public/icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
frontend/public/icon-512.png
Normal file
BIN
frontend/public/icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -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>
|
||||
|
||||
18
frontend/public/manifest.json
Normal file
18
frontend/public/manifest.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user