|
|
@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react';
|
|
|
|
import { ethers, BigNumber } from 'ethers';
|
|
|
|
import { ethers, BigNumber } from 'ethers';
|
|
|
|
import { useAccount, useContractReads, useContractRead, usePrepareContractWrite, useContractWrite, useWaitForTransaction, erc721ABI } from 'wagmi';
|
|
|
|
import { useAccount, useContractReads, useContractRead, usePrepareContractWrite, useContractWrite, useWaitForTransaction, erc721ABI } from 'wagmi';
|
|
|
|
import { NotificationContainer, NotificationManager } from 'react-notifications';
|
|
|
|
import { NotificationContainer, NotificationManager } from 'react-notifications';
|
|
|
|
import debounce from 'lodash';
|
|
|
|
|
|
|
|
import { StatsPanel, TrollboxPanel } from './Panels';
|
|
|
|
import { StatsPanel, TrollboxPanel } from './Panels';
|
|
|
|
|
|
|
|
|
|
|
|
import MainABI from '../abi/main.json';
|
|
|
|
import MainABI from '../abi/main.json';
|
|
|
@ -15,6 +14,7 @@ import Arrow from '../img/arrow_right.png';
|
|
|
|
import LZA from '../img/lza_menace.png';
|
|
|
|
import LZA from '../img/lza_menace.png';
|
|
|
|
import Carty from '../img/cartyisme.png';
|
|
|
|
import Carty from '../img/cartyisme.png';
|
|
|
|
import Loading from '../img/loading.svg';
|
|
|
|
import Loading from '../img/loading.svg';
|
|
|
|
|
|
|
|
import Splash from '../img/splash_desktop_slim.png';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function Hero(props) {
|
|
|
|
export function Hero(props) {
|
|
|
@ -246,12 +246,6 @@ export function Hero(props) {
|
|
|
|
<div id='hero'>
|
|
|
|
<div id='hero'>
|
|
|
|
<NotificationContainer />
|
|
|
|
<NotificationContainer />
|
|
|
|
<h1 id='heroTitle'>the web3 revolution & its consequences have been a disaster for the human race.</h1>
|
|
|
|
<h1 id='heroTitle'>the web3 revolution & its consequences have been a disaster for the human race.</h1>
|
|
|
|
<p id='heroText'>
|
|
|
|
|
|
|
|
Technology is advancing at an exponential rate and boomers are being left behind. A.I., Bitcoin,
|
|
|
|
|
|
|
|
and expensive JPEGs have made them angry. <br /><br />
|
|
|
|
|
|
|
|
They've begun to radicalize. {options.unaboomerMaxSupply > 0 ? options.unaboomerMaxSupply: '7,896'} Boomers have joined forces
|
|
|
|
|
|
|
|
to lash out at the system.<br /><br />
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{isConnected && options.unaboomersMinted > 0 && (
|
|
|
|
{isConnected && options.unaboomersMinted > 0 && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<div className="progress">
|
|
|
|
<div className="progress">
|
|
|
@ -374,9 +368,9 @@ export function Hero(props) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="userInventory">
|
|
|
|
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
<>
|
|
|
|
<div id="userInventory">
|
|
|
|
<h1>You Minted</h1>
|
|
|
|
<h1>You Minted</h1>
|
|
|
|
<div className="ownedTokens">
|
|
|
|
<div className="ownedTokens">
|
|
|
|
{JSON.parse(tokensMinted).filter((item, index) => JSON.parse(tokensMinted).indexOf(item) === index).map((id, idx) => (
|
|
|
|
{JSON.parse(tokensMinted).filter((item, index) => JSON.parse(tokensMinted).indexOf(item) === index).map((id, idx) => (
|
|
|
@ -388,12 +382,13 @@ export function Hero(props) {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
</div>
|
|
|
|
) || (
|
|
|
|
) || (
|
|
|
|
<div id="boomerPreviewBanner">
|
|
|
|
<div id="boomerPreviewBanner">
|
|
|
|
|
|
|
|
<img src={Splash} width="100%" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mintInfo" className="section">
|
|
|
|
<div id="mintInfo" className="section">
|
|
|
|
<h1>WTF!?</h1>
|
|
|
|
<h1>WTF!?</h1>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
@ -431,6 +426,9 @@ export function Hero(props) {
|
|
|
|
<a href="https://opensea.io/unaboomernft" target={"_blank"}>OPENSEA</a>
|
|
|
|
<a href="https://opensea.io/unaboomernft" target={"_blank"}>OPENSEA</a>
|
|
|
|
\\
|
|
|
|
\\
|
|
|
|
<a href="https://blur.io/unaboomernft" target={"_blank"}>BLUR</a>
|
|
|
|
<a href="https://blur.io/unaboomernft" target={"_blank"}>BLUR</a>
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{isConnected && address && (
|
|
|
|
{isConnected && address && (
|
|
|
|