diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index f901bc1..76620d7 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -1,12 +1,13 @@ import React, { useEffect, useState } from 'react'; - import { ethers, BigNumber } from 'ethers'; import { useAccount, useContractReads, useContractRead, usePrepareContractWrite, useContractWrite, useWaitForTransaction, erc721ABI } from 'wagmi'; import { NotificationContainer, NotificationManager } from 'react-notifications'; import debounce from 'lodash'; +import { StatsPanel } from './Panels'; import MainABI from '../abi/main.json'; import '../styles/hero.css'; +import 'react-notifications/lib/notifications.css'; import Unaboomer from '../img/unaboomer.png'; import Mailbomb from '../img/mailbomb.png'; import Explosion from '../img/explosion.png'; @@ -226,6 +227,7 @@ export function Hero(props) { return (
Technology is advancing at an exponential rate and boomers are being left behind. A.I., Bitcoin, @@ -347,6 +349,14 @@ export function Hero(props) { > )}
+ Kill Leader:
+ {this.props.leaderKillCount > 0 && (
+
+ {this.shorten(this.props.leaderAddress)}
+
+ ) || "?"}
+
+
+ {this.props.leaderKillCount} kills +
+ )} + +
+ Active Unaboomers: {this.props.unaboomersRadicalized - this.props.unaboomersKilled}
+ Dead Unaboomers: {this.props.unaboomersKilled}
+ Active Bombs: {this.props.bombsAssembled - this.props.bombsExploded}
+ Exploded Bombs: {this.props.bombsExploded}
+ Dud Bombs: {this.props.bombsExploded - this.props.unaboomersKilled}
+