Changeset View
Changeset View
Standalone View
Standalone View
web/e.cash/pages/index.js
import Image from 'next/image'; | import Image from 'next/image'; | ||||
import Link from 'next/link'; | import Link from 'next/link'; | ||||
import Layout from '/components/layout'; | import Layout from '/components/layout'; | ||||
import VideoBackground from '/components/videobackground'; | import VideoBackground from '/components/videobackground'; | ||||
import GlitchText from '/components/glitch-text'; | import GlitchText from '/components/glitch-text'; | ||||
import { socials } from '/data/socials'; | import { socials } from '/data/socials'; | ||||
import { Hero, ButtonCtn } from '/styles/pages/homepage'; | import { Hero, ButtonCtn, HeroImage } from '/styles/pages/homepage'; | ||||
import Button from '/components/button'; | import Button from '/components/button'; | ||||
import Hand from '/public/images/hand.png'; | |||||
export default function Home() { | export default function Home() { | ||||
return ( | return ( | ||||
<Layout> | <Layout> | ||||
<VideoBackground videoname="purple-abstract" /> | <VideoBackground videoname="purple-abstract" /> | ||||
<Hero> | <Hero> | ||||
<div className="container"> | <div className="container"> | ||||
<h1> | <h1> | ||||
<span>WEALTH</span> | <span>WEALTH</span> | ||||
<GlitchText text="REDEFINED" /> | <GlitchText text="REDEFINED" /> | ||||
</h1> | </h1> | ||||
<p> | <p> | ||||
Simple. Instant. Secure. | Simple. Instant. Secure. | ||||
<br /> | <br /> | ||||
Experience the revolutionary new money powered by | Experience the revolutionary new money powered by | ||||
Avalanche. | Avalanche. | ||||
</p> | </p> | ||||
<HeroImage> | |||||
<Image src={Hand} alt="eCash" fill /> | |||||
</HeroImage> | |||||
<ButtonCtn> | <ButtonCtn> | ||||
<Button | <Button | ||||
text="Avalanche Consensus" | text="Avalanche Consensus" | ||||
link="https://avalanche.cash/" | link="https://avalanche.cash/" | ||||
color="white" | color="white" | ||||
glow | glow | ||||
/> | /> | ||||
</ButtonCtn> | </ButtonCtn> | ||||
Show All 22 Lines |