From 836cbddb634643cf75dedfe063277c73f402add7 Mon Sep 17 00:00:00 2001 From: Mashy Date: Sat, 22 Sep 2018 19:02:13 +1000 Subject: [PATCH] invstats component --- client/src/components/invstats.jsx | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 client/src/components/invstats.jsx diff --git a/client/src/components/invstats.jsx b/client/src/components/invstats.jsx new file mode 100755 index 00000000..6bb81263 --- /dev/null +++ b/client/src/components/invstats.jsx @@ -0,0 +1,56 @@ +const preact = require('preact'); + +// components all the way down + +function InvStats() { + return ( +
+
+
+
+

Helm Slot

+
+
+

Body Armor

+
+
+

Gloves

+
+
+

Boots

+
+
+
+
+
+ +
+

Cryp#XYZ

+

The big boy

+
+
+
+
+

Weapon

+
+
+

Jewellery

+
+
+

Artifact

+
+
+
+
+
+

Stat Area

+
+
+
+ ); + // map is a function that is called on every element of an array + // so in this ^^ case it calls Icon('Mashy') which returns some jsx + // that gets put into the dom +} + +module.exports = InvStats;