Commit 0faffa4e authored by 神楽坂玲奈's avatar 神楽坂玲奈

Merge branch 'master' of github.com:mycard/mycard-store

parents fadf2665 7760ff0c
{
"zh-CH":{
"zh-CN":{
"CardTimeLine1":[],
"CardTimeLine2":[],
"CardTimeLine3":[],
......
......@@ -74,6 +74,7 @@ export default class App extends Component {
let rawText = await fetch('https://chat.mycard.moe/stats/online').then(res => res.text())
let document = new DOMParser().parseFromString(rawText, 'text/xml')
let node = document.querySelector('#content > table > tbody > tr:nth-child(2) > td:nth-child(2)') || {}
// eslint-disable-next-line
return parseInt(node.textContent)
}
......@@ -125,7 +126,7 @@ export default class App extends Component {
</div>
</Col>
<Col span={12} pull={1}>
<img src={require('../public/MyCardProduct.png')} className="App-Poster"/>
<img alt="img" src={require('../public/MyCardProduct.png')} className="App-Poster"/>
</Col>
</Row>
) : (
......@@ -160,7 +161,7 @@ export default class App extends Component {
</Row>
<Row>
<Col span={24}>
<img src={require('../public/MyCardProduct.png')} className="App-Poster"/>
<img alt="img" src={require('../public/MyCardProduct.png')} className="App-Poster"/>
</Col>
</Row>
</div>
......
......@@ -8,7 +8,7 @@ export default class MyComponent extends React.Component {
return (
<div>
<div className="App-Logo">
<img src={require("../public/logo.png")} style={{width: '40px', margin: '10px'}}/>
<img alt="img" src={require("../public/logo.png")} style={{width: '40px', margin: '10px'}}/>
<span>MyCard</span>
</div>
<Menu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment