diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 7d85326..a41ccf6 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -235,7 +235,9 @@ export function Hero(props) {
Pixelated Unaboomer profile picture - a hooded man with dark sunglasses. - +

+ +

{options.unaboomersMinted > 0 && (

You have minted {options.unaboomersMinted} Unaboomers. @@ -248,7 +250,7 @@ export function Hero(props) { && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply && ( <> - { + { handleStateChange({unaboomerAmount: v.target.value}); radicalizeBoomersWrite.reset() }}> @@ -273,10 +275,31 @@ export function Hero(props) { Pixelated Mailbomb image - handle with caution.

Don't let the Boomers win, fight back! Assemble a mailbomb and blow 'em to smithereens.

- (Warning: Some bombs are duds!) + (Warning: Some bombs are duds!)

- -

(.01 ETH)

+ {options.bombBalance > 0 && ( +

+ You have {options.bombBalance} Mailbombs. +

+ )} +
+ {isConnected + && options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount + && ( + <> + { + handleStateChange({bombAmount: v.target.value}); + assembleBombsWrite.reset() + }}> + +

({ethers.utils.formatEther((options.bombPrice * options.bombAmount).toString())} ETH)

+ + )}
Arrow pointing to the next step. @@ -288,8 +311,24 @@ export function Hero(props) { If your bomb is live it will destroy a Boomer PFP forever.

(Warning: Your Boomer might explode!)

- -

(0 ETH)

+ {isConnected + && options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount + && ( + <> + { + handleStateChange({sendBombAmount: v.target.value}); + sendBombsWrite.reset() + }}> + +

(tx fee)

+ + ) + }