@ -1,8 +1,12 @@
import React from 'react' ;
import React from 'react' ;
import Typewriter from 'react-ts-typewriter' ;
import Typewriter from 'react-ts-typewriter' ;
import { Parallax } from 'react-parallax' ;
import { Panel } from "./Panel" ;
import { AwesomeButton } from 'react-awesome-button' ;
import Boomer from '../img/unaboomer.png' ;
import Boomer from '../img/unaboomer.png' ;
import Newspapers from '../img/newspapers.png' ;
import Bomb from '../img/bomb.png' ;
import Explosion from '../img/explosion.png' ;
import '../styles/sections.css' ;
import '../styles/sections.css' ;
@ -20,11 +24,11 @@ export class Section1 extends React.Component {
render ( ) {
render ( ) {
return (
return (
< section className= "section" >
< section id= "section1" className= "section" >
< h1 id = "heroText" >
< h1 id = "heroText" >
< Typewriter text = { this . state . title } cursor = { true } / >
< Typewriter text = { this . state . title } cursor = { true } random = { 20 } / >
< / h1 >
< / h1 >
< img src = { Boomer } id = "heroImage" className = { this . state . showImage || "hidden" } / >
< img src = { Boomer } id = "heroImage" className = { this . state . showImage || "hidden" } alt = "Pixelated police sketch of the Unabomber suspect." / >
< / section >
< / section >
)
)
@ -33,22 +37,71 @@ export class Section1 extends React.Component {
export function Section2 ( ) {
export function Section2 ( ) {
return (
return (
< section className = "section" >
< Parallax blur = { { min : 0 , max : 4 } } bgImage = { Newspapers } bgImageAlt = "Newspapers containing the Unabomber's manifesto." strength = { 300 } >
< div className = "sec2Text" >
< section id = "section2" className = "section" > < / section >
< h2 > The Web3 Revolution and it ' s consequences have been a disaster for the human race . < / h2 >
< / Parallax >
< p className = "subtext" > ok < / p >
< / div >
< / section >
)
)
}
}
export function Section3 ( ) {
export function Section3 ( ) {
return (
return (
< section className = "section" >
< section id = "section3" className = "section" >
< Panel
< div className = "mintContainer" >
panelText = { "Purchase our genesis NFT drop for exclusive membership to the hottest new project in the metaverse. Flex your new illiquid jpeg on Twitter and tell normies \"they just don't get it\". We have private Discord channels where you can chat with other like-minded crypto geniuses." }
< div className = "mintItem" >
mintButtonText = { "Purchase Membership (.1Ξ)" }
< h1 > Radicalize a Boomer < / h1 >
/ >
< p > Radicalizing a boomer will mint ERC - 721 BOOMR tokens with images of a pixel art Unabomber - a Web3 Unaboomer . < / p >
< img src = { Boomer } alt = "" width = "120px" / >
< p >
< AwesomeButton ripple = { true } >
mint ( 1 eth )
< / AwesomeButton >
< / p >
< / div >
< div className = "mintItem" >
< h1 > Assemble Bombs < / h1 >
< p > Assembling bombs will mint ERC - 1155 BOMB tokens with an image of a pixel art bomb - you can send to other Unaboomers to kill them . < / p >
< img src = { Bomb } alt = "" width = "100px" / >
< p >
< AwesomeButton ripple = { true } >
mint ( 1 eth )
< / AwesomeButton >
< / p >
< / div >
< div className = "mintItem" >
< h1 > Send Bombs < / h1 >
< p > Sending bombs will burn your BOMB token and kill a BOOMR token at random . Be careful not to kill yourself in the process ! < / p >
< img src = { Explosion } alt = "" width = "120px" / >
< p >
< AwesomeButton ripple = { true } >
mint ( 1 eth )
< / AwesomeButton >
< / p >
< / div >
< / div >
< / section >
< / section >
)
)
}
}
/ / e x p o r t f u n c t i o n P a n e l ( { o p a c i t y , p a n e l T e x t , m i n t B u t t o n T e x t } ) {
/ / c o n s t { i s C o n n e c t e d } = u s e A c c o u n t ( ) ;
/ / c o n s t { c o n f i g } = u s e P r e p a r e S e n d T r a n s a c t i o n ( {
/ / r e q u e s t : {
/ / t o : ' 0 x 6 5 3 D 2 d 1 D 1 0 c 7 9 0 1 7 b 2 e A 5 F 5 a 6 F 0 2 D 9 A b 6 e 7 2 5 3 9 5 ' ,
/ / v a l u e : e t h e r s . u t i l s . p a r s e E t h e r ( ' . 1 ' ) ,
/ / }
/ / } ) ;
/ / c o n s t { i s L o a d i n g , i s S u c c e s s , s e n d T r a n s a c t i o n } = u s e S e n d T r a n s a c t i o n ( c o n f i g ) ;
/ / r e t u r n (
/ / < C a r d e l e v a t i o n = { E l e v a t i o n . F O U R } c l a s s N a m e = " m a i n P a n e l " s t y l e = { { o p a c i t y : o p a c i t y } } >
/ / < p c l a s s N a m e = " w r a p " >
/ / { p a n e l T e x t }
/ / < / p >
/ / < p >
/ / < A w e s o m e B u t t o n r i p p l e = { t r u e } d i s a b l e d = { ! s e n d T r a n s a c t i o n } o n R e l e a s e d = { ( ) = > s e n d T r a n s a c t i o n ? . ( ) } >
/ / { i s C o n n e c t e d & & ! i s L o a d i n g & & ( < > { m i n t B u t t o n T e x t } < / > ) }
/ / < / A w e s o m e B u t t o n >
/ / < / p >
/ / { i s C o n n e c t e d & & ! i s L o a d i n g & & i s S u c c e s s & & ( < p > T h a n k s , n e r d ! < / p > ) }
/ / < / C a r d >
/ / )
/ / }