Skip to content

Commit bb1a101

Browse files
committed
fix iOS / Android PWA icon
1 parent 28e8d2a commit bb1a101

File tree

11 files changed

+50
-6
lines changed

11 files changed

+50
-6
lines changed
Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,54 @@
11
{
22
"name": "{{ .Site.Title }}",
3-
"short_name": "{{ .Site.Title }}",
3+
"short_name": "Cookbook",
44
"start_url": "{{ "/" | relURL }}",
55
"scope": "{{ "/" | relURL }}",
66
"display": "standalone",
7-
"background_color": "#000000",
8-
"theme_color": "#000000",
7+
"background_color": "#FFFFFF",
8+
"theme_color": "#FFFFFF",
99
"icons": [
1010
{
11-
"src": "{{ "/favicon.svg" | relURL }}",
12-
"sizes": "512x512"
11+
"src": "{{ "/apple-touch-icon-180x180.png" | relURL }}",
12+
"sizes": "180x180",
13+
"type": "image/png",
14+
"density": "3.0",
15+
"purpose": "any maskable"
16+
},
17+
{
18+
"src": "{{ "/apple-touch-icon-1024x1024.png" | relURL }}",
19+
"sizes": "1024x1024",
20+
"type": "image/png",
21+
"purpose": "any maskable"
22+
},
23+
{
24+
"src": "{{ "/apple-touch-icon-60x60.png" | relURL }}",
25+
"sizes": "60x60",
26+
"type": "image/png",
27+
"purpose": "any maskable"
28+
},
29+
{
30+
"src": "{{ "/apple-touch-icon-76x76.png" | relURL }}",
31+
"sizes": "76x76",
32+
"type": "image/png",
33+
"purpose": "any maskable"
34+
},
35+
{
36+
"src": "{{ "/apple-touch-icon-120x120.png" | relURL }}",
37+
"sizes": "120x120",
38+
"type": "image/png",
39+
"purpose": "any maskable"
40+
},
41+
{
42+
"src": "{{ "/apple-touch-icon-152x152.png" | relURL }}",
43+
"sizes": "152x152",
44+
"type": "image/png",
45+
"purpose": "any maskable"
46+
},
47+
{
48+
"src": "{{ "/apple-touch-icon-512x512.png" | relURL }}",
49+
"sizes": "512x512",
50+
"type": "image/png",
51+
"purpose": "any maskable"
1352
}
1453
]
1554
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
<link rel="stylesheet" href="/leetcode/prism.css"/>
1+
<link rel="stylesheet" href="/leetcode/prism.css"/>
2+
<link href="{{ "apple-touch-icon.png" | relURL }}"rel="apple-touch-icon" />
3+
<link href="{{ "apple-touch-icon-76x76.png" | relURL }}" rel="apple-touch-icon" sizes="76x76" />
4+
<link href="{{ "apple-touch-icon-120x120.png" | relURL }}" rel="apple-touch-icon" sizes="120x120" />
5+
<link href="{{ "apple-touch-icon-152x152.png" | relURL }}" rel="apple-touch-icon" sizes="152x152" />
6+
<link href="{{ "apple-touch-icon-512x512.png" | relURL }}" rel="apple-touch-icon" sizes="512x512" />
53.6 KB
Loading
20.8 KB
Loading
17.8 KB
Loading
2.64 KB
Loading
3.07 KB
Loading
3.57 KB
Loading
8.38 KB
Loading
1.39 KB
Loading

0 commit comments

Comments
 (0)