update image

This commit is contained in:
xmcp
2018-08-23 21:17:04 +08:00
parent 07d0c7815a
commit 0fea646bdc
12 changed files with 26 additions and 8 deletions

5
public/_headers Normal file
View File

@@ -0,0 +1,5 @@
/static/*
Cache-Control: public, max-age=86400
/service-worker.js
Cache-Control: public, max-age=86400

View File

@@ -3,12 +3,20 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="icon" href="%PUBLIC_URL%/static/favicon/256.png">
<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" sizes="180x180" href="%PUBLIC_URL%/favicon-180px-precomposed.png" />
<meta name="mobile-web-app-capable" content="yes">
<link rel="shortcut icon" href="%PUBLIC_URL%/static/favicon/256.png">
<link rel="manifest" href="%PUBLIC_URL%/static/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/static/favicon/180.png" />
<link rel="apple-touch-icon" sizes="256x256" href="%PUBLIC_URL%/static/favicon/256.png" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="树洞">
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/750x1334.png" media="(device-width: 375px) and (-webkit-device-pixel-ratio: 2)"/>
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1242x2208.png" media="(device-width: 414px) and (-webkit-device-pixel-ratio: 3)"/>
<title>P大树洞非官方</title>
</head>
<body>

View File

Before

Width:  |  Height:  |  Size: 324 KiB

After

Width:  |  Height:  |  Size: 324 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -3,12 +3,17 @@
"name": "P大树洞非官方",
"icons": [
{
"src": "favicon-precomposed.png",
"src": "static/favicon/256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "static/favicon/192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "./index.html",
"start_url": "/?src=pwa",
"display": "standalone",
"theme_color": "#112244",
"background_color": "#112244"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -32,7 +32,7 @@ class App extends Component {
return (
<div>
<div className="bg-img" style={{
backgroundImage: 'url('+(localStorage['REPLACE_ERIRI_WITH_URL'] || '/eriri_bg.jpg')+')'
backgroundImage: 'url('+(localStorage['REPLACE_ERIRI_WITH_URL'] || 'static/eriri_bg.jpg')+')'
}} />
<Title callback={this.show_sidebar.bind(this)} set_search_text={this.set_search_text.bind(this)} />
<div className="left-container">

View File

@@ -8,7 +8,7 @@ function load_amrnb() {
if(window.AMR)
resolve();
else
load('amr_all.min.js', (err)=>{
load('static/amr_all.min.js', (err)=>{
if(err)
reject(err);
else