|
|
@ -243,6 +243,25 @@ export function Hero(props) {
|
|
|
|
They've begun to radicalize. {options.unaboomerMaxSupply > 0 ? options.unaboomerMaxSupply: '7,896'} Boomers have joined forces
|
|
|
|
They've begun to radicalize. {options.unaboomerMaxSupply > 0 ? options.unaboomerMaxSupply: '7,896'} Boomers have joined forces
|
|
|
|
to lash out at the system.<br /><br />
|
|
|
|
to lash out at the system.<br /><br />
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{isConnected && options.unaboomersMinted > 0 && (
|
|
|
|
|
|
|
|
<>
|
|
|
|
|
|
|
|
<div className="progress">
|
|
|
|
|
|
|
|
<p>{options.unaboomersRadicalized} / {options.unaboomerMaxSupply} minted</p>
|
|
|
|
|
|
|
|
<div className="progress-value" style={{
|
|
|
|
|
|
|
|
width: (options.unaboomersMinted / options.unaboomerMaxSupply * 100) + '%'
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className="progress">
|
|
|
|
|
|
|
|
<p>{options.unaboomersKilled} / {options.unaboomerMaxSurvivorCount} killed</p>
|
|
|
|
|
|
|
|
<div className="progress-value" style={{
|
|
|
|
|
|
|
|
width: (options.unaboomersKilled / options.unaboomerMaxSurvivorCount * 100) + '%',
|
|
|
|
|
|
|
|
backgroundColor: 'red'
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</>
|
|
|
|
|
|
|
|
)}
|
|
|
|
<div id='heroFlex'>
|
|
|
|
<div id='heroFlex'>
|
|
|
|
<div className='heroFlexItem'>
|
|
|
|
<div className='heroFlexItem'>
|
|
|
|
<img src={Unaboomer} width='280px' alt='Pixelated Unaboomer profile picture - a hooded man with dark sunglasses.' />
|
|
|
|
<img src={Unaboomer} width='280px' alt='Pixelated Unaboomer profile picture - a hooded man with dark sunglasses.' />
|
|
|
@ -348,7 +367,7 @@ export function Hero(props) {
|
|
|
|
<div id="userInventory">
|
|
|
|
<div id="userInventory">
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
{isConnected && JSON.parse(tokensMinted).length > 0 && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<h1>Your Unaboomers</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) => (
|
|
|
|
<div className="ownedToken" key={idx}>
|
|
|
|
<div className="ownedToken" key={idx}>
|
|
|
|