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,16 @@ import VideoBackground from '/components/videobackground'; import GlitchText from '/components/glitch-text'; import { socials } from '/data/socials'; -import { Hero, ButtonCtn, HeroImage } from '/styles/pages/homepage'; +import { + Hero, + ButtonCtn, + HeroImage, + GradientSpacer, + StoryAndWhySection, + Overlay, +} from '/styles/pages/homepage'; import Button from '/components/button'; +import H2 from '/components/h2'; import Hand from '/public/images/hand.png'; export default function Home() { @@ -54,6 +62,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/public/images/neon-city.png b/web/e.cash/public/images/neon-city.png new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@ 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} + ); +`; diff --git a/web/e.cash/styles/theme.js b/web/e.cash/styles/theme.js --- a/web/e.cash/styles/theme.js +++ b/web/e.cash/styles/theme.js @@ -7,7 +7,8 @@ contrast: '#ffffff', black: '#000', darkBlue: '#001137', - videocover: 'linear-gradient(9deg, #001137, rgba(0, 0, 0, 0.46))', + videocover: + 'linear-gradient(9deg,#001137 18%,transparent 91%),linear-gradient(180deg,rgba(0, 0, 0, 0.46),rgba(0, 0, 0, 0.46))', }, filters: { grayscale: null, @@ -26,9 +27,9 @@ darkBackground: '#232324', contrast: '#ffffff', black: '#000', - darkBlue: '#232324', + darkBlue: '#181818', videocover: - 'linear-gradient(9deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.46))', + 'linear-gradient(9deg,#181818 18%,transparent 91%),linear-gradient(180deg,rgba(0, 0, 0, 0.46),rgba(0, 0, 0, 0.46))', }, filters: { grayscale: 'filter: grayscale(100%);',