From b97823cfc8dfe92d82f1218f1b3aaf943874b2ec Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 24 Jan 2023 12:41:49 -0800 Subject: [PATCH] updated ui --- src/components/Footer.jsx | 6 ++++- src/components/Hero.jsx | 50 +++++++++++++++++++-------------------- src/index.js | 2 +- src/styles/footer.css | 2 -- src/styles/hero.css | 5 ++++ 5 files changed, 35 insertions(+), 30 deletions(-) diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index ab3d123..2ba41b4 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,10 +1,14 @@ import React from 'react'; import '../styles/footer.css'; +import FooterBG from '../img/footer.png'; + export class Footer extends React.Component { render() { return ( - + ) } } \ No newline at end of file diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index ba1e911..ea37f8c 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react'; import { ethers, BigNumber } from 'ethers'; import { useAccount, useContractReads, useContractRead, usePrepareContractWrite, useContractWrite, useWaitForTransaction, erc721ABI } from 'wagmi'; import { NotificationContainer, NotificationManager } from 'react-notifications'; -import debounce from 'lodash'; import { StatsPanel, TrollboxPanel } from './Panels'; 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 Carty from '../img/cartyisme.png'; import Loading from '../img/loading.svg'; +import Splash from '../img/splash_desktop_slim.png'; export function Hero(props) { @@ -246,12 +246,6 @@ export function Hero(props) {

the web3 revolution & its consequences have been a disaster for the human race.

-

- Technology is advancing at an exponential rate and boomers are being left behind. A.I., Bitcoin, - and expensive JPEGs have made them angry.

- They've begun to radicalize. {options.unaboomerMaxSupply > 0 ? options.unaboomerMaxSupply: '7,896'} Boomers have joined forces - to lash out at the system.

-

{isConnected && options.unaboomersMinted > 0 && ( <>
@@ -374,26 +368,27 @@ export function Hero(props) { }
-
- {isConnected && JSON.parse(tokensMinted).length > 0 && ( - <> -

You Minted

-
- {JSON.parse(tokensMinted).filter((item, index) => JSON.parse(tokensMinted).indexOf(item) === index).map((id, idx) => ( -
- - - -
- ) - )} -
- - ) || ( -
+ + {isConnected && JSON.parse(tokensMinted).length > 0 && ( +
+

You Minted

+
+ {JSON.parse(tokensMinted).filter((item, index) => JSON.parse(tokensMinted).indexOf(item) === index).map((id, idx) => ( +
+ + + +
+ ) + )}
- )} -
+
+ ) || ( +
+ +
+ )} +

WTF!?

@@ -431,6 +426,9 @@ export function Hero(props) { OPENSEA \\ BLUR +
+
+

{isConnected && address && ( diff --git a/src/index.js b/src/index.js index 263d0ed..7457a3e 100644 --- a/src/index.js +++ b/src/index.js @@ -16,7 +16,7 @@ import { Hero } from "./components/Hero"; import { Footer } from "./components/Footer"; const { chains, provider, webSocketProvider } = configureChains( - [mainnet, goerli, localhost], + [localhost, goerli, mainnet], [ infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' }), publicProvider() diff --git a/src/styles/footer.css b/src/styles/footer.css index c68f1bb..7fddf97 100644 --- a/src/styles/footer.css +++ b/src/styles/footer.css @@ -1,8 +1,6 @@ footer { - background: url('../img/footer.png') no-repeat center; width: 100%; background-size: 100%; - height: 500px; display: block; padding: 0; margin: 0; diff --git a/src/styles/hero.css b/src/styles/hero.css index d566f29..77d9df4 100644 --- a/src/styles/hero.css +++ b/src/styles/hero.css @@ -260,4 +260,9 @@ button.doThing:disabled { #externalLinks a { color: #f9f9f9; +} + +#boomerPreviewBanner { + width: 100%; + padding-top: 1em; } \ No newline at end of file