Skip to content

Commit aa3f935

Browse files
committed
设置favicon.png为网站图标并更新网站元数据
1 parent 6bcdb7a commit aa3f935

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

public/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
10-
content="Web site created using create-react-app"
10+
content="LeetCode 283 - Move Zeroes Algorithm Visualization"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png" />
1313
<!--
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
@@ -24,7 +24,7 @@
2424
work correctly both with client-side routing and a non-root public URL.
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
27-
<title>React App</title>
27+
<title>LeetCode 283 - Move Zeroes</title>
2828
</head>
2929
<body>
3030
<noscript>You need to enable JavaScript to run this app.</noscript>

public/manifest.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"short_name": "React App",
3-
"name": "Create React App Sample",
2+
"short_name": "Move Zeroes",
3+
"name": "LeetCode 283 - Move Zeroes Algorithm Visualization",
44
"icons": [
55
{
6-
"src": "favicon.ico",
6+
"src": "favicon.png",
77
"sizes": "64x64 32x32 24x24 16x16",
8-
"type": "image/x-icon"
8+
"type": "image/png"
99
},
1010
{
11-
"src": "logo192.png",
11+
"src": "favicon.png",
1212
"type": "image/png",
1313
"sizes": "192x192"
1414
},
1515
{
16-
"src": "logo512.png",
16+
"src": "favicon.png",
1717
"type": "image/png",
1818
"sizes": "512x512"
1919
}
2020
],
2121
"start_url": ".",
2222
"display": "standalone",
23-
"theme_color": "#000000",
24-
"background_color": "#ffffff"
23+
"theme_color": "#282c34",
24+
"background_color": "#282c34"
2525
}

0 commit comments

Comments
 (0)