Skip to content

Commit 6b18ffa

Browse files
committed
re-run pwa:generate script, update assets
1 parent a8b7bf3 commit 6b18ffa

10 files changed

Lines changed: 24 additions & 4 deletions

website/docusaurus.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ const config: Config = {
160160
inLanguage: 'en-US',
161161
}),
162162
},
163+
{
164+
tagName: 'link',
165+
attributes: {
166+
rel: 'apple-touch-icon',
167+
href: '/img/pwa/apple-icon-180.png',
168+
},
169+
},
163170
],
164171
presets: [
165172
[
@@ -550,6 +557,7 @@ const config: Config = {
550557
content: 'https://reactnative.dev/img/logo-share.png',
551558
},
552559
{name: 'twitter:site', content: '@reactnative'},
560+
{name: 'apple-mobile-web-app-capable', content: 'yes'},
553561
],
554562
} satisfies Preset.ThemeConfig,
555563
};
-3.69 KB
Binary file not shown.

website/static/img/header_logo.png

-1.72 KB
Binary file not shown.
-3.62 KB
Binary file not shown.
-4.56 KB
Binary file not shown.
-5.09 KB
Binary file not shown.
2.34 KB
Loading
7.93 KB
Loading
31.5 KB
Loading

website/static/manifest.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,28 @@
4343
],
4444
"icons": [
4545
{
46-
"src": "img/pwa/manifest-icon-192.png",
46+
"src": "static/img/pwa/manifest-icon-192.png",
4747
"sizes": "192x192",
4848
"type": "image/png",
49-
"purpose": "any maskable"
49+
"purpose": "any"
5050
},
5151
{
52-
"src": "img/pwa/manifest-icon-512.png",
52+
"src": "static/img/pwa/manifest-icon-192.maskable.png",
53+
"sizes": "192x192",
54+
"type": "image/png",
55+
"purpose": "maskable"
56+
},
57+
{
58+
"src": "static/img/pwa/manifest-icon-512.png",
59+
"sizes": "512x512",
60+
"type": "image/png",
61+
"purpose": "any"
62+
},
63+
{
64+
"src": "static/img/pwa/manifest-icon-512.maskable.png",
5365
"sizes": "512x512",
5466
"type": "image/png",
55-
"purpose": "any maskable"
67+
"purpose": "maskable"
5668
}
5769
]
5870
}

0 commit comments

Comments
 (0)