|
|
@ -12,18 +12,21 @@ import Unaboomer from '../img/unaboomer.png';
|
|
|
|
import Mailbomb from '../img/mailbomb.png';
|
|
|
|
import Mailbomb from '../img/mailbomb.png';
|
|
|
|
import Explosion from '../img/explosion.png';
|
|
|
|
import Explosion from '../img/explosion.png';
|
|
|
|
import Arrow from '../img/arrow_right.png';
|
|
|
|
import Arrow from '../img/arrow_right.png';
|
|
|
|
|
|
|
|
import LZA from '../img/lza_menace.png';
|
|
|
|
|
|
|
|
import Carty from '../img/cartyisme.png';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function Hero(props) {
|
|
|
|
export function Hero(props) {
|
|
|
|
const contractAddress = props.contractAddress;
|
|
|
|
const contractAddress = props.contractAddress;
|
|
|
|
const { isConnected, address } = useAccount();
|
|
|
|
const { isConnected, address } = useAccount();
|
|
|
|
|
|
|
|
|
|
|
|
const [tokensMinted, setTokensMinted] = useState(() => {
|
|
|
|
const [tokensMinted, setTokensMinted] = useState(() => {
|
|
|
|
const saved = localStorage.getItem('tokensMinted-v2-' + address);
|
|
|
|
const saved = localStorage.getItem('tokensMinted-v3-' + address);
|
|
|
|
return saved || JSON.stringify([])
|
|
|
|
return saved || JSON.stringify([])
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
useEffect(() => {
|
|
|
|
localStorage.setItem('tokensMinted-v2-' + address, tokensMinted);
|
|
|
|
localStorage.setItem('tokensMinted-v3-' + address, tokensMinted);
|
|
|
|
}, [tokensMinted]);
|
|
|
|
}, [tokensMinted]);
|
|
|
|
|
|
|
|
|
|
|
|
const [options, setOptions] = useState({
|
|
|
|
const [options, setOptions] = useState({
|
|
|
@ -337,6 +340,36 @@ export function Hero(props) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mintInfo" className="section">
|
|
|
|
|
|
|
|
<h1>WTF!?</h1>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
UNABOOMER is a deflationary Player vs. Player PFP NFT. 35,000 pixel Boomers, with 190 unique traits will go free-to-radicalize.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
Assemble a mailbomb and burn it to destroy a random Boomer in the collection. Destroyed Boomers will explode, lose their traits, and be burned. Mailbomb assembly is open to all.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
But be careful! Your Boomer can blow itself up in the process. The more Boomers destroyed, the more likely your bomb is a dud.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
This is only the beginning...
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="teamInfo" className="section">
|
|
|
|
|
|
|
|
<h1>Team!</h1>
|
|
|
|
|
|
|
|
<div id="teamMembers">
|
|
|
|
|
|
|
|
<div className='teamMember'>
|
|
|
|
|
|
|
|
<img src={Carty} width='180px' alt='cartyisme Renga PFP' />
|
|
|
|
|
|
|
|
<a href='https://twitter.com/cartyisme' target='_blank' className=''>@cartyisme</a>
|
|
|
|
|
|
|
|
<p>Artist, idiot, and shillosopher. Opensea employee and Art101 progenitor.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className='teamMember'>
|
|
|
|
|
|
|
|
<img src={LZA} width='180px' alt='lza_menace Milady PFP' />
|
|
|
|
|
|
|
|
<a href='https://twitter.com/lza_menace' target='_blank' className=''>@lza_menace</a>
|
|
|
|
|
|
|
|
<p>Solidity dude, Monero fan, and meme consooomer.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div id="userInventory">
|
|
|
|
<div id="userInventory">
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|