changement affichage pour solo et multi

pull/81/head
Thomas Chazot 1 year ago
parent 28404dc391
commit 21cc7ecb2c

@ -289,7 +289,7 @@ const InGame = ({locale, changeLocale}) => {
<img src={Check} alt="check" height="40"/> <img src={Check} alt="check" height="40"/>
</button> */} </button> */}
<Link to='/info' target='_blank'> {!IsSolo && <Link to='/info' target='_blank'>
<button className='button' <button className='button'
style={{ style={{
backgroundColor: theme.colors.tertiary, backgroundColor: theme.colors.tertiary,
@ -297,31 +297,32 @@ const InGame = ({locale, changeLocale}) => {
}}> }}>
<img src={Check} alt="check" height="40"/> <img src={Check} alt="check" height="40"/>
</button> </button>
</Link> </Link>}
<button className='button' onClick={handleChange} {!IsSolo && <button className='button' onClick={handleChange}
style={{ style={{
backgroundColor: theme.colors.tertiary, backgroundColor: theme.colors.tertiary,
borderColor: theme.colors.secondary borderColor: theme.colors.secondary
}}> }}>
<img src={MGlass} alt="indice" height="40"/> <img src={MGlass} alt="indice" height="40"/>
</button> </button>}
<button className='button' onClick={setShowLastData} {!IsSolo && <button className='button' onClick={setShowLastData}
style={{ style={{
backgroundColor: theme.colors.tertiary, backgroundColor: theme.colors.tertiary,
borderColor: theme.colors.secondary borderColor: theme.colors.secondary
}}> }}>
<img src={ eye } alt="indice" height="40"/> <img src={ eye } alt="indice" height="40"/>
</button> </button>}
<button className='button' onClick={generateTEX} {IsSolo && <button className='button' onClick={generateTEX}
style={{ style={{
backgroundColor: theme.colors.tertiary, backgroundColor: theme.colors.tertiary,
borderColor: theme.colors.secondary borderColor: theme.colors.secondary
}}> }}>
<img src={Download} alt="indice" height="40"/> <img src={Download} alt="indice" height="40"/>
</button> </button>
}
</div> </div>
{/* {/*

Loading…
Cancel
Save