wip avatars again
This commit is contained in:
parent
e6b9b5a205
commit
05a0113ab5
@ -297,6 +297,12 @@ CONSTRUCT DAMAGE
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.game .avatar {
|
||||||
|
grid-area: avatar;
|
||||||
|
background: forestgreen;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/*@keyframes rotate {
|
/*@keyframes rotate {
|
||||||
0% {
|
0% {
|
||||||
transform: rotateY(0deg);
|
transform: rotateY(0deg);
|
||||||
|
|||||||
@ -100,14 +100,9 @@ function GameConstruct(props) {
|
|||||||
className={`game-construct ${ko} ${classes}`} >
|
className={`game-construct ${ko} ${classes}`} >
|
||||||
<h3 className="name"> {construct.name} </h3>
|
<h3 className="name"> {construct.name} </h3>
|
||||||
{crypSkills}
|
{crypSkills}
|
||||||
|
<div className="avatar"></div>
|
||||||
<div className="targeting"> {targeting} </div>
|
<div className="targeting"> {targeting} </div>
|
||||||
<div className="stats"> {stats} </div>
|
<div className="stats"> {stats} </div>
|
||||||
<figure
|
|
||||||
className="img"
|
|
||||||
onClick={() => selectSkillTarget(construct.id)} >
|
|
||||||
<ConstructAvatar name={construct.name} id={construct.id} />
|
|
||||||
{combatTextEl}
|
|
||||||
</figure>
|
|
||||||
<div className="effects"> {effects} </div>
|
<div className="effects"> {effects} </div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user