better support for my phone

This commit is contained in:
MReenen 2022-01-29 15:27:07 +01:00
parent 261d0daa84
commit df6a9f396c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="description" content="Manage the task you need to do in your live" /> <meta name="description" content="Manage the task you need to do in your live" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />

View File

@ -17,7 +17,7 @@ class Header extends React.Component {
componentDidMount() { componentDidMount() {
this.timerID = setInterval( this.timerID = setInterval(
() => this.tick(), () => this.tick(),
1000 5000
); );
} }
@ -34,7 +34,7 @@ class Header extends React.Component {
let hour = d.getHours() <= 12 ? d.getHours() : d.getHours()-12 let hour = d.getHours() <= 12 ? d.getHours() : d.getHours()-12
let minute = leadZero(d.getMinutes()) let minute = leadZero(d.getMinutes())
let second = leadZero(d.getSeconds()) let second = leadZero(d.getSeconds())
let time = hour + ':' + minute + ':' + second let time = hour + ':' + minute// + ':' + second
return [ return [
<header> <header>
<img src={logo} alt="&#10003;" class="logo" /> <img src={logo} alt="&#10003;" class="logo" />