Merge branch 'return-of-react' of ssh://cryps.gg:40022/~/cryps into return-of-react

This commit is contained in:
Mashy 2019-03-29 15:25:20 +10:00
commit 30b9909e22
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ body {
color: whitesmoke; color: whitesmoke;
font-size: 16pt; font-size: 16pt;
padding: 1em 2em; padding: 1em 2em;
/*overflow: hidden;*/
user-select: none; user-select: none;
} }

View File

@ -24,7 +24,7 @@ function Cryp(cryp) {
{ stat: 'blue_damage', colour: '#3498db' }, { stat: 'blue_damage', colour: '#3498db' },
{ stat: 'speed', colour: '#FFD123' }, { stat: 'speed', colour: '#FFD123' },
].map((s, i) => ( ].map((s, i) => (
<figure key={i} > <figure key={i} alt={s.stat}>
{saw(s.colour)} {saw(s.colour)}
<figcaption>{cryp[s.stat].value}</figcaption> <figcaption>{cryp[s.stat].value}</figcaption>
</figure> </figure>