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

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`}/>
// 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"}} />
<Link to="/admin" >
<Button icon="male" content="Espace admin" style={{margin:"1em"}}/>
{props.isLogged ? <LogoutButton style={{margin:"1em"}}/>:
<Button icon="male" content="Espace admin" style={{margin:"1em"}} onClick={() =>window.location=`${env.backURL}/oauth/login`}/>
Supports Markdown
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