mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Admin place demo look done
This commit is contained in:
@@ -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 <span className='demoSpan'>Demo!</span></h1> : <h1>Admin Place</h1>
|
||||
}
|
||||
<button
|
||||
className="redirect-button"
|
||||
onClick={() => props.history.push('/')}
|
||||
|
||||
Reference in New Issue
Block a user