Styling (done)

This commit is contained in:
Rodrigo Pedroso 2019-06-28 01:20:29 -04:00
commit 25bdeafdfd
5 changed files with 50 additions and 52 deletions

View file

@ -87,14 +87,16 @@ export default function Team(props) {
return (
<div className='team'>
<button onClick={navBack}>Back</button>
{props.teamProps !== undefined &&
<div className='header'>
<h1>{props.teamProps.name}</h1>
<h1>Team {props.teamProps.name}</h1>
</div>
}
<div className='back'>
<button className='back-btn' onClick={navBack}>{`< Back to teams`}</button>
</div>
<FilterForm filterCallback = { filterCallback } />
{loading ? (<div>Loading...</div>) : (
@ -102,7 +104,9 @@ export default function Team(props) {
<div>
<h2>Team lead</h2>
<p>{ userData(team.lead) }</p>
<button className='selector-btn' onClick={() => selectUser(team.lead)}>
{userData(team.lead)}
</button>
<h2>Team members</h2>