game wip
This commit is contained in:
parent
7e70d2122d
commit
26136e23f5
@ -373,7 +373,19 @@ header {
|
|||||||
|
|
||||||
.game {
|
.game {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
flex-flow: row wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-back-btn {
|
||||||
|
flex: 0 0 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.team-player, .team-opponent {
|
||||||
|
flex: 0 0 37.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logs {
|
||||||
|
flex: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-cryp-ctr {
|
.game-cryp-ctr {
|
||||||
|
|||||||
@ -125,7 +125,7 @@ function GamePanel(props) {
|
|||||||
const cryps = team.cryps.map(c => Cryp(c));
|
const cryps = team.cryps.map(c => Cryp(c));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="five columns cryp-list">
|
<div className="team-player cryp-list">
|
||||||
{cryps}
|
{cryps}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -173,29 +173,27 @@ function GamePanel(props) {
|
|||||||
const logs = game.log.map((l, i) => (<div key={i}>{l}</div>)).reverse();
|
const logs = game.log.map((l, i) => (<div key={i}>{l}</div>)).reverse();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section>
|
<main>
|
||||||
<div className="row">
|
<div className="game">
|
||||||
<div className="three columns">
|
<div className="instance-hdr">
|
||||||
<button
|
<button
|
||||||
className="instance-btn instance-ui-btn left"
|
className="game-back-btn instance-btn instance-ui-btn left"
|
||||||
onClick={quit}>
|
onClick={quit}>
|
||||||
Back
|
Back
|
||||||
</button>
|
</button>
|
||||||
|
<div className="spacer">
|
||||||
|
<div> </div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="six columns">
|
|
||||||
<div> </div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="row game">
|
|
||||||
{PlayerTeam(playerTeam, setActiveSkill)}
|
{PlayerTeam(playerTeam, setActiveSkill)}
|
||||||
<div className="three columns">
|
<div className="team-opponent">
|
||||||
{otherTeams.map(OpponentTeam)}
|
{otherTeams.map(OpponentTeam)}
|
||||||
</div>
|
</div>
|
||||||
<div className="four columns">
|
<div className="logs">
|
||||||
{logs}
|
{logs}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user