aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-10 23:46:53 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-10 23:46:53 +0800
commit9abd1b79e1a1889e7ce5a1655810ac844109b613 (patch)
tree46bde63dc14a42b67893ea02024ea959a2c6e718
parentbd725eee8652c672295818ffc6905176099bdeb2 (diff)
downloaddexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar.gz
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar.bz2
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar.lz
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar.xz
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.tar.zst
dexon-sol-tools-9abd1b79e1a1889e7ce5a1655810ac844109b613.zip
More visual tweaks to instant page
-rw-r--r--packages/website/ts/@next/pages/instant.tsx17
1 files changed, 15 insertions, 2 deletions
diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx
index c3b7a2d82..c179630d7 100644
--- a/packages/website/ts/@next/pages/instant.tsx
+++ b/packages/website/ts/@next/pages/instant.tsx
@@ -1,5 +1,6 @@
import * as _ from 'lodash';
import * as React from 'react';
+import styled from 'styled-components';
import {colors} from 'ts/style/colors';
@@ -66,14 +67,20 @@ export const Next0xInstant = () => (
<Section>
<WrapCentered>
<Heading size="medium" isCentered={true}>Introducing 0x Instant</Heading>
- <Paragraph size="medium" isCentered={true}>A free and flexible way to offer simple crypto purchasing in any app or website</Paragraph>
+ <Paragraph size="medium" isCentered={true}>
+ A free and flexible way to offer simple<br />
+ crypto purchasing in any app or website
+ </Paragraph>
<Button href="#">Get Started</Button>
</WrapCentered>
</Section>
<Section isFullWidth={true} isNoPadding={true}>
<Wrap width="full">
- <img src="/images/@next/0x-instant/0x-instant-widgets@2x.png" alt="Preview of payment widgets"/>
+ {/* Note: This should be another component, this is just for mocking */}
+ <ImageCarousel>
+ <img src="/images/@next/0x-instant/0x-instant-widgets@2x.png" alt="Preview of payment widgets"/>
+ </ImageCarousel>
</Wrap>
</Section>
@@ -148,3 +155,9 @@ export const Next0xInstant = () => (
</Section>
</SiteWrap>
);
+
+const ImageCarousel = styled.div`
+ width: 100vw;
+ height: 380px;
+ margin: 90px 0;
+`;