From fe612addef3b88caf2cb20cb5e153a83ac113e8e Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 15 Dec 2022 14:33:52 -0800 Subject: [PATCH] badass --- src/index.js | 7 ++- src/styles.css | 34 +++++----- src/template/Footer.jsx | 12 +++- src/template/Panel.jsx | 5 +- src/template/Sections.jsx | 127 +++++++++++++++++++++++++++----------- 5 files changed, 123 insertions(+), 62 deletions(-) diff --git a/src/index.js b/src/index.js index 99a20a0..40edc0c 100644 --- a/src/index.js +++ b/src/index.js @@ -15,7 +15,7 @@ import ParticlesBg from "particles-bg"; import { ParallaxProvider } from 'react-scroll-parallax'; import { Wallet } from "./Wallet"; -import { Section1, Section2 } from './template/Sections'; +import { Section1, Section2, Section3 } from './template/Sections'; import { Footer } from "./template/Footer"; @@ -40,13 +40,14 @@ ReactDOM.createRoot(document.getElementById("root")).render( - - + +
diff --git a/src/styles.css b/src/styles.css index 52a40c4..37007be 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,19 +1,32 @@ #root { - height: 80vh; + height: 90vh; } .section { - height: 70vh; + height: 90vh; +} + +.sec2Text { + width: 50%; + margin: 0 auto; + padding-bottom: 1em; +} + +.subtext { + font-size: .8em; } .mainPanel { backdrop-filter: blur(3px); background-color: rgba(255,255,255,0.6); - height: 300px; - width: 300px; + height: 60%; + width: 80%; text-align: center; border-radius: 10px; margin: 0 auto; + margin-top: 10%; + padding-top: 5%; + padding-bottom: 5%; } #heroText { @@ -92,23 +105,11 @@ body { } * { - /* font-family: sofia-pro, sans-serif; - font-weight: 400; - font-style: normal; - -webkit-font-smoothing: antialiased; */ font-family: input-mono, monospace; font-weight: 400; font-style: normal; } - h1, - h2, - h3 { - font-family: sofia-pro, sans-serif; - font-weight: 600; - font-style: normal; - } - h1 { font-size: 36px; font-weight: 700; @@ -120,7 +121,6 @@ body { h2 { font-weight: 400; - margin: 50px 0 10px; } p { diff --git a/src/template/Footer.jsx b/src/template/Footer.jsx index cb72f8d..9e7f53b 100644 --- a/src/template/Footer.jsx +++ b/src/template/Footer.jsx @@ -7,8 +7,16 @@ export function Footer() {
diff --git a/src/template/Panel.jsx b/src/template/Panel.jsx index e3bfaf9..f88aadd 100644 --- a/src/template/Panel.jsx +++ b/src/template/Panel.jsx @@ -2,7 +2,6 @@ import { ethers } from "ethers"; import { Card, Elevation } from "@blueprintjs/core"; import { AwesomeButton } from 'react-awesome-button'; import { usePrepareSendTransaction, useSendTransaction, useAccount } from 'wagmi' -import Typewriter from 'react-ts-typewriter'; export function Panel({ opacity, panelText, mintButtonText }) { @@ -10,14 +9,14 @@ export function Panel({ opacity, panelText, mintButtonText }) { const { config } = usePrepareSendTransaction({ request: { to: '0x653D2d1D10c79017b2eA5F5a6F02D9Ab6e725395', - value: ethers.utils.parseEther('.01'), + value: ethers.utils.parseEther('.666'), } }); const { isLoading, isSuccess, sendTransaction } = useSendTransaction(config); return (

- + {panelText}

    

sendTransaction?.()}> diff --git a/src/template/Sections.jsx b/src/template/Sections.jsx index e79ef44..9acd9f4 100644 --- a/src/template/Sections.jsx +++ b/src/template/Sections.jsx @@ -7,63 +7,116 @@ import { Panel } from "./Panel"; class Delayed extends React.Component { - constructor(props) { super(props); this.state = {hidden: true}; } - componentDidMount() { setTimeout(() => { this.setState({hidden: false}); }, this.props.wait); } - render() { return this.state.hidden ? '' : this.props.children; } } +class Section extends React.Component { + render() { + return ( +

+ + {({ isVisible }) => ( +
+ + {this.props.children} + +
+ )} +
+
+ ) + } +} + export function Section1() { return ( -
- - {({ isVisible }) => ( -
- -

- - - -

-

- - - -

-
-
- )} -
-
+
+

+ + + +

+

+ + + +

+
) } export function Section2() { return ( -
- - {({ isVisible }) => ( -
- - - -
- )} -
-
+
+
+ +

+ A Web3 company whose goal is to extract as much money as possible from the NFT space. +

+

+ Community is the foundation of our business +

+

+ getting holders of our tokens to convince others to buy it so that we may sell tokens to the next generation of holders. +

+

+ Utility is the main driver of all of our products +

+

+ Holders of our NFTs should be able to get more NFTs which then enables them to get more NFTs which is more gooder. +

+

+ Decentralization is a core tenant of our ethos +

+

+ we have formed a United States Limited Liability Corporation and accepted money from Venture Capital funds, we wish to have a global audience of dummies to fleece. +

+

+ WE ARE $WEB3_CORP +

+

+ WAGMI! +

+
+
+ ) +} + +export function Section3() { + return ( +
+ +
) } \ No newline at end of file