|
|
|
@ -1,16 +1,50 @@
|
|
|
|
|
import VisibilitySensor from "react-visibility-sensor";
|
|
|
|
|
import Typewriter from 'react-ts-typewriter';
|
|
|
|
|
import VisibilitySensor from 'react-visibility-sensor';
|
|
|
|
|
import { Parallax } from 'react-parallax';
|
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function Section1() {
|
|
|
|
|
return (
|
|
|
|
|
<section id="sec1" className="section">
|
|
|
|
|
<Parallax speed={-50}>
|
|
|
|
|
<h1>ongod bruh</h1>
|
|
|
|
|
<VisibilitySensor>
|
|
|
|
|
{({ isVisible }) => (
|
|
|
|
|
<div style={{ opacity: isVisible ? 1 : 0, transition: ".5s ease all"}}>
|
|
|
|
|
<Parallax speed={-50} style={{ textAlign: "center" }} blur={1}>
|
|
|
|
|
<h1 id="heroText">
|
|
|
|
|
<Delayed wait={600}>
|
|
|
|
|
<Typewriter text={"web3 experiences like no other"} />
|
|
|
|
|
</Delayed>
|
|
|
|
|
</h1>
|
|
|
|
|
<p>
|
|
|
|
|
<Delayed wait={2800}>
|
|
|
|
|
<Typewriter text={"we will make you so much fucking money"} />
|
|
|
|
|
</Delayed>
|
|
|
|
|
</p>
|
|
|
|
|
</Parallax>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
</VisibilitySensor>
|
|
|
|
|
</section>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
@ -20,9 +54,12 @@ export function Section2() {
|
|
|
|
|
<section id="sec2" className="section">
|
|
|
|
|
<VisibilitySensor>
|
|
|
|
|
{({ isVisible }) => (
|
|
|
|
|
<div style={{ opacity: isVisible ? 1 : 0, transition: ".75s ease all"}}>
|
|
|
|
|
<Parallax speed={-10} easing="easeOutQuad">
|
|
|
|
|
<Panel />
|
|
|
|
|
<div style={{ opacity: isVisible ? 1 : 0, transition: ".6s ease all"}}>
|
|
|
|
|
<Parallax speed={-10} easing="easeOutQuad" style={{ overflow: "visible" }}>
|
|
|
|
|
<Panel
|
|
|
|
|
panelText={"I need this money to buy more crack. You'll just use it for illiquid jpegs."}
|
|
|
|
|
mintButtonText={"Send Me .01Ξ"}
|
|
|
|
|
/>
|
|
|
|
|
</Parallax>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|