Admin place demo look done

This commit is contained in:
2021-10-25 13:24:47 -03:00
parent 26251faea3
commit 94cd6f2263
30 changed files with 1101 additions and 21 deletions

View File

@@ -3,8 +3,10 @@ import {withRouter} from 'react-router'
const AdminHeader = (props) => {
return (
<header>
<h1>Admin Place</h1>
<header className={props.demo === true ? 'demo' : null}>
{
props.demo === true ? <h1>Admin Place&nbsp;<span className='demoSpan'>Demo!</span></h1> : <h1>Admin Place</h1>
}
<button
className="redirect-button"
onClick={() => props.history.push('/')}