|
|
@ -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 { Parallax } from 'react-parallax';
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
|
|
import { Panel } from "./Panel";
|
|
|
|
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() {
|
|
|
|
export function Section1() {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<section id="sec1" className="section">
|
|
|
|
<section id="sec1" className="section">
|
|
|
|
<Parallax speed={-50}>
|
|
|
|
<VisibilitySensor>
|
|
|
|
<h1>ongod bruh</h1>
|
|
|
|
{({ 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>
|
|
|
|
</Parallax>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
</VisibilitySensor>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -20,9 +54,12 @@ export function Section2() {
|
|
|
|
<section id="sec2" className="section">
|
|
|
|
<section id="sec2" className="section">
|
|
|
|
<VisibilitySensor>
|
|
|
|
<VisibilitySensor>
|
|
|
|
{({ isVisible }) => (
|
|
|
|
{({ isVisible }) => (
|
|
|
|
<div style={{ opacity: isVisible ? 1 : 0, transition: ".75s ease all"}}>
|
|
|
|
<div style={{ opacity: isVisible ? 1 : 0, transition: ".6s ease all"}}>
|
|
|
|
<Parallax speed={-10} easing="easeOutQuad">
|
|
|
|
<Parallax speed={-10} easing="easeOutQuad" style={{ overflow: "visible" }}>
|
|
|
|
<Panel />
|
|
|
|
<Panel
|
|
|
|
|
|
|
|
panelText={"I need this money to buy more crack. You'll just use it for illiquid jpegs."}
|
|
|
|
|
|
|
|
mintButtonText={"Send Me .01Ξ"}
|
|
|
|
|
|
|
|
/>
|
|
|
|
</Parallax>
|
|
|
|
</Parallax>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|