Commit 42d760e0 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

add facebook and instagram links for computer

parent 24fca134
......@@ -9,13 +9,16 @@ import env from './../.env'
const PageHeader = (props) => {
return (
// Si le format est celui d'un Pc
<div class="desktopItem" style={{textAlign:"center"}}> {console.log(props.isLogged)}
<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`}/>
<Button icon="facebook" content="Facebook" style={{position:"absolute",top:'2em' ,left:"2em", color: "white", backgroundColor:"#3b5998"}} onClick={() =>window.location.assign("")}/>
<Button icon="instagram" content="Insta" style={{position:"absolute",top:'5em' ,left:"2em", color: "white", backgroundColor:"#c13584"}} onClick={() =>window.location.assign("")}/>
// Si le format est celui d'un téléphone
<div class="phoneItem" style={{textAlign:"center"}}>
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