diff --git a/client/src/components/cryp.list.jsx b/client/src/components/cryp.list.jsx index 072ea116..294fc6d0 100644 --- a/client/src/components/cryp.list.jsx +++ b/client/src/components/cryp.list.jsx @@ -1,23 +1,43 @@ -const preact = require('preact'); - -function CrypPanel({ cryps, sendCombatPve }) { - if (!cryps) return
not ready
; - const crypPanels = cryps.map(cryp => ( -
-
{cryp.name}
- -
- )); - return ( -
- {crypPanels} -
- ); -} - -module.exports = CrypPanel; +const preact = require('preact'); + +function CrypPanel({ cryps, sendCombatPve }) { + if (!cryps) return
not ready
; + const crypPanels = cryps.map(cryp => ( + +
+
+
+
+

{cryp.name}

+

Level {cryp.lvl}

+
+
+
+ +
+
+ +
+
{cryp.hp.value} / {cryp.stam.value} HP
+ +
+ +
+ )); + return ( +
+ + Spawn 👾 + + + {crypPanels} +
+ ); +} + +module.exports = CrypPanel;