nginx changes and invader init

This commit is contained in:
ntr
2019-07-12 22:27:21 +10:00
parent 1d84cf666f
commit 4f3912a020
6 changed files with 190 additions and 79 deletions
+1
View File
@@ -1,6 +1,7 @@
const anime = require('animejs').default;
function idle(id) {
return false;
const duration = anime.random(2000, 18000);
const target = document.getElementById(id);
return anime({
+1 -1
View File
@@ -31,7 +31,7 @@ class ConstructAvatar extends Component {
<div
class="avatar"
id={this.props.construct.id}
style={{ 'background-image': `url(/imgs/${this.props.construct.img}.svg)` }}
style={{ 'background-image': `url(/imgs/32809d3b-60e6-4d37-a183-e5d33374613b.svg)` }}
/>
);
}