add manifest and icon
This commit is contained in:
BIN
public/favicon-precomposed.png
Normal file
BIN
public/favicon-precomposed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -4,23 +4,15 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon-precomposed.png">
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon-precomposed.png">
|
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon-precomposed.png" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>P大树洞(非官方)</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app.
|
||||
</noscript>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
<script>
|
||||
var cnzz_s_tag = document.createElement('script');
|
||||
cnzz_s_tag.type = 'text/javascript';
|
||||
|
||||
15
public/manifest.json
Normal file
15
public/manifest.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"short_name": "树洞",
|
||||
"name": "P大树洞(非官方)",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon-precomposed.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"start_url": "./index.html",
|
||||
"display": "standalone",
|
||||
"theme_color": "#112244",
|
||||
"background_color": "#112244"
|
||||
}
|
||||
Reference in New Issue
Block a user