From 1acc51eb8c6358929922a5d2d320b9df4807f49b Mon Sep 17 00:00:00 2001 From: lza_menace Date: Wed, 25 Jan 2023 00:02:53 -0800 Subject: [PATCH] ux improvements --- src/components/Hero.jsx | 32 ++++++++++++-------------------- src/index.js | 6 +++--- src/styles/footer.css | 6 ------ src/styles/hero.css | 5 +++-- 4 files changed, 18 insertions(+), 31 deletions(-) diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 06b4f2f..c3e3909 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -251,7 +251,7 @@ export function Hero(props) {

{options.unaboomersRadicalized} / {options.unaboomerMaxSupply} minted

@@ -273,17 +273,14 @@ export function Hero(props) { Now they're on a war path to disrupt the metaverse.

(Warning: your BOOMER may explode!) -

{options.unaboomersMinted > 0 && (

+
You have minted {options.unaboomersMinted} Unaboomers. - {options.unaboomersKilled > 0 && <>{options.unaboomersKilled} are dead.}

)} -
- {isConnected - && options.unaboomersMinted < options.unaboomerMaxMintPerWallet + {options.unaboomersMinted < options.unaboomerMaxMintPerWallet && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply && ( <> @@ -299,10 +296,6 @@ export function Hero(props) {

({ethers.utils.formatEther((options.unaboomerPrice * options.unaboomerAmount).toString())} ETH)

- ) || options.unaboomersMinted == options.unaboomerMaxMintPerWallet && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply && ( -

max per wallet reached

- ) || options.unaboomersRadicalized == options.unaboomerMaxSupply && options.unaboomerMaxSupply > 0 && ( -

max supply reached

)}
@@ -312,16 +305,15 @@ export function Hero(props) { Pixelated mail bomb image - handle with caution.

Don't let the Boomers win! Assemble mail bombs and blow 'em to smithereens.

- (Warning: Some bombs are duds!)

+ (Warning: Some bombs are duds!)

{options.bombBalance > 0 && (

+
You have {options.bombBalance} Mail bombs.

)} -
- {isConnected - && options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount + {options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount && ( <> { @@ -347,8 +339,7 @@ export function Hero(props) { Ready for mayhem? Mail a bomb to blow up a random BOOMER.

(Warning: Your Boomer might explode!)

- {isConnected - && options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount + {options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount && options.bombBalance > 0 && ( <> @@ -364,8 +355,7 @@ export function Hero(props) {

(tx fee)

- ) || options.bombBalance == 0 &&

no bombs

- } + )}
@@ -392,7 +382,7 @@ export function Hero(props) {

WTF!?

- UNABOOMER is a deflationary Player vs. Player PFP NFT consisting of 10,000 pixel Boomers with 190 unique traits. + UNABOOMER is a deflationary Player vs. Player PFP NFT consisting of 5,000 pixel Boomers with 190 unique traits.

Assemble a mail bomb and burn it to destroy a random Boomer in the collection. Destroyed Boomers will explode, lose their traits, and get burned. @@ -401,7 +391,7 @@ export function Hero(props) { Mail bomb assembly is open to all. But be careful! Your Boomer can blow itself up in the process.

- The more Boomers destroyed, the more likely your bomb is a dud. Shipments begin 24HRS post-mint. Round one ends when 5,000 boomers are left standing. + The more Boomers destroyed, the more likely your bomb is a dud. Shipments begin 24HRS post-mint. Round one ends when 2,500 boomers are left standing.

@@ -433,6 +423,7 @@ export function Hero(props) { {isConnected && address && ( <> + {options.boomerMaxSupply > 0 && ( + )} - +