Commit 9477742a authored by Damien Armillon's avatar Damien Armillon

Change phone button

parent 6958346e
......@@ -15,16 +15,15 @@ const PageHeader = (props) => {
<Image src={logo} alt="Logo" href="/" style={{ width:'40%'}} />
{props.isLogged ? <LogoutButton style={{position:"absolute",top:'2em' ,right:"2em"}}/>:
<Button icon="male" content="Espace admin" style={{position:"absolute",top:'2em' ,right:"2em"}} onClick={() =>window.location=`${env.backURL}/oauth/login`}/>
}
</div>,
// Si le format est celui d'un téléphone
<div class="phoneItem" style={{textAlign:"center"}}>
<Image src={logo} alt="Logo" href="/" style={{ margin: "2em"}} />
<br/>
<Link to="/admin" >
<Button icon="male" content="Espace admin" style={{margin:"1em"}}/>
</Link>
{props.isLogged ? <LogoutButton style={{margin:"1em"}}/>:
<Button icon="male" content="Espace admin" style={{margin:"1em"}} onClick={() =>window.location=`${env.backURL}/oauth/login`}/>
}
</div>
]
)
......
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