diff --git a/web/e.cash/components/h2/index.js b/web/e.cash/components/h2/index.js new file mode 100644 --- /dev/null +++ b/web/e.cash/components/h2/index.js @@ -0,0 +1,18 @@ +import GlitchText from '/components/glitch-text'; +import Image from 'next/image'; +import h2graphic from '/public/images/h2-graphic.svg'; +import { StyledH3, StyledH2, H2Image } from './styles'; + +export default function H2({ subtext, text }) { + return ( + <> + {subtext} + + + eCash + + + + + ); +} diff --git a/web/e.cash/components/h2/styles.js b/web/e.cash/components/h2/styles.js new file mode 100644 --- /dev/null +++ b/web/e.cash/components/h2/styles.js @@ -0,0 +1,30 @@ +import styled from 'styled-components'; + +export const StyledH3 = styled.h3` + margin: 0; + font-size: 20px; + font-weight: 400; + color: ${props => props.theme.colors.primaryLight}; + line-height: 1em; + margin-bottom: 10px; + position: relative; +`; + +export const StyledH2 = styled.h2` + margin: 0; + font-size: 55px; + font-weight: 700; + line-height: 1em; + position: relative; + margin-bottom: 70px; + display: inline-block; +`; + +export const H2Image = styled.div` + width: 380px; + height: 60px; + position: absolute; + top: 40px; + left: 0; + ${props => props.theme.filters.grayscale}; +`; diff --git a/web/e.cash/pages/index.js b/web/e.cash/pages/index.js --- a/web/e.cash/pages/index.js +++ b/web/e.cash/pages/index.js @@ -4,8 +4,15 @@ import VideoBackground from '/components/videobackground'; import GlitchText from '/components/glitch-text'; import { socials } from '/data/socials'; -import { Hero, ButtonCtn } from '/styles/pages/homepage'; +import { + Hero, + ButtonCtn, + GradientSpacer, + HomepageBody, + Overlay, +} from '/styles/pages/homepage'; import Button from '/components/button'; +import H2 from '/components/h2'; export default function Home() { return ( @@ -50,6 +57,13 @@ + + + +
+

+

+
); } diff --git a/web/e.cash/public/images/h2-graphic.svg b/web/e.cash/public/images/h2-graphic.svg new file mode 100755 --- /dev/null +++ b/web/e.cash/public/images/h2-graphic.svg @@ -0,0 +1 @@ + diff --git a/web/e.cash/styles/global.css b/web/e.cash/styles/global.css --- a/web/e.cash/styles/global.css +++ b/web/e.cash/styles/global.css @@ -60,7 +60,8 @@ .container { width: 100%; margin: auto; - max-width: 1400px; + max-width: 1500px; + padding: 0 50px; } @media (max-width: 920px) { diff --git a/web/e.cash/styles/pages/homepage.js b/web/e.cash/styles/pages/homepage.js --- a/web/e.cash/styles/pages/homepage.js +++ b/web/e.cash/styles/pages/homepage.js @@ -1,4 +1,5 @@ import styled from 'styled-components'; +import Neoncity from '/public/images/neon-city.png'; export const Hero = styled.div` width: 100%; @@ -84,3 +85,34 @@ justify-content: center; margin-top: 40px; `; + +export const HomepageBody = styled.div` + background-image: url('/images/neon-city.png'); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + width: 100%; + padding: 200px 0 400px; + position: relative; + ${props => props.theme.filters.grayscale}; +`; + +export const Overlay = styled.div` + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.5); + background-image: linear-gradient(180deg, #000, rgba(39, 52, 152, 0.57)); +`; + +export const GradientSpacer = styled.div` + height: 100px; + width: 100%; + background-image: linear-gradient( + 180deg, + ${props => props.theme.colors.darkBlue}, + ${props => props.theme.colors.black} + ); +`;