From 27320f8627d8b02dde7b70a7db9897e9c97e8b60 Mon Sep 17 00:00:00 2001
From: lza_menace
Date: Wed, 25 Jan 2023 12:10:04 -0800
Subject: [PATCH] improve site
---
src/components/Hero.jsx | 89 +++++++++++++++++------------------------
1 file changed, 36 insertions(+), 53 deletions(-)
diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx
index c3e3909..de2a937 100644
--- a/src/components/Hero.jsx
+++ b/src/components/Hero.jsx
@@ -38,8 +38,8 @@ export function Hero(props) {
unaboomerPreviewAmount: 1,
bombPreviewAmount: 1,
sendBombPreviewAmount: 1,
- unaboomerPrice: 0,
- bombPrice: ethers.utils.parseEther('.01'),
+ unaboomerPrice: ethers.utils.parseEther('.05'),
+ bombPrice: ethers.utils.parseEther('.0025'),
unaboomersMinted: 0,
unaboomerBalance: 0,
bombBalance: 0,
@@ -280,23 +280,17 @@ export function Hero(props) {
You have minted {options.unaboomersMinted} Unaboomers.
)}
- {options.unaboomersMinted < options.unaboomerMaxMintPerWallet
- && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply
- && (
- <>
- {
- throttleStateChange({unaboomerAmount: v.target.value});
- radicalizeBoomersWrite.reset()
- }}>
-
- ({ethers.utils.formatEther((options.unaboomerPrice * options.unaboomerAmount).toString())} ETH)
- >
- )}
+ {
+ throttleStateChange({unaboomerAmount: v.target.value});
+ radicalizeBoomersWrite.reset()
+ }}>
+
+ ({ethers.utils.formatEther((options.unaboomerPrice * options.unaboomerAmount).toString())} ETH)
@@ -304,7 +298,7 @@ export function Hero(props) {
- Don't let the Boomers win! Assemble mail bombs and blow 'em to smithereens.
+ Don't let the Boomers win! Assemble mail bombs and blow 'em to smithereens. All minted Unaboomers will be airdropped a mail bomb.
(Warning: Some bombs are duds!)
{options.bombBalance > 0 && (
@@ -313,22 +307,17 @@ export function Hero(props) {
You have {options.bombBalance} Mail bombs.
)}
- {options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount
- && (
- <>
-
{
- throttleStateChange({bombAmount: v.target.value});
- assembleBombsWrite.reset()
- }}>
-
-
({ethers.utils.formatEther((options.bombPrice * options.bombAmount).toString())} ETH)
- >
- )}
+
{
+ throttleStateChange({bombAmount: v.target.value});
+ assembleBombsWrite.reset()
+ }}>
+
+
({ethers.utils.formatEther((options.bombPrice * options.bombAmount).toString())} ETH)
@@ -339,23 +328,17 @@ export function Hero(props) {
Ready for mayhem? Mail a bomb to blow up a random BOOMER.
(Warning: Your Boomer might explode!)
- {options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount
- && options.bombBalance > 0
- && (
- <>
-
{
- throttleStateChange({sendBombAmount: v.target.value});
- sendBombsWrite.reset()
- }}>
-
-
(tx fee)
- >
- )}
+
{
+ throttleStateChange({sendBombAmount: v.target.value});
+ sendBombsWrite.reset()
+ }}>
+
+
(tx fee)