From bd725eee8652c672295818ffc6905176099bdeb2 Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Mon, 10 Dec 2018 16:37:42 +0100 Subject: Starts refining isntant page --- packages/website/ts/@next/pages/instant.tsx | 118 ++++++++++++++++++---------- 1 file changed, 76 insertions(+), 42 deletions(-) diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx index ccc5da1e1..c3b7a2d82 100644 --- a/packages/website/ts/@next/pages/instant.tsx +++ b/packages/website/ts/@next/pages/instant.tsx @@ -1,8 +1,10 @@ +import * as _ from 'lodash'; import * as React from 'react'; import {colors} from 'ts/style/colors'; -import {Button} from 'ts/@next/components/button'; +import {Button, ButtonWrap, Link} from 'ts/@next/components/button'; +import {Icon} from 'ts/@next/components/Icon'; import {Column, Section, Wrap, WrapCentered} from 'ts/@next/components/layout'; import {SiteWrap} from 'ts/@next/components/siteWrap'; import {Heading, Paragraph} from 'ts/@next/components/text'; @@ -15,6 +17,50 @@ import TokensIcon from 'ts/@next/icons/illustrations/tokens.svg'; const CONFIGURATOR_HASH = 'configure'; +const featuresData = [ + { + title: 'Support ERC-20 and ERC-721 tokens', + icon: 'coin', + description: 'Seamlessly integrate token purchasing into your product experience by offering digital assets ranging from in-game items to stablecoins.', + links: [ + { + label: 'Get Started', + url: '#', + }, + { + label: 'Explore the Docs', + url: '#', + }, + ], + }, + { + title: 'Generate revenue for your business', + icon: 'coin', + description: 'With just a few lines of code, you can earn up to 5% in affiliate fees on every transaction from your crypto wallet or dApp.', + links: [ + { + label: 'Learn about affiliate fees', + url: '#', + }, + ], + }, + { + title: 'Easy and flexible integration', + icon: 'coin', + description: 'Use our out-of-the-box design or customize the user interface by integrating the AssetBuyer engine. You can also tap into 0x networked liquidity or choose your own liquidity pool.', + links: [ + { + label: 'Explore AssetBuyer', + url: '#', + }, + { + label: 'Learn about liquidity', + url: '#', + }, + ], + }, +]; + export const Next0xInstant = () => (
@@ -32,49 +78,37 @@ export const Next0xInstant = () => (
- - - - + + {_.map(featuresData, (item, index) => ( + + + + - - Support ERC-20 and ERC-721 tokens - Seamlessly integrate token purchasing into your product experience by offering digital assets ranging from in-game items to stablecoins. - - - -
-
- - - - + + + {item.title} + + + {item.description} + - - Generate revenue for your business - With just a few lines of code, you can earn up to 5% in affiliate fees on every transaction from your crypto wallet or dApp. - - - -
-
- - - - - - - Easy and flexible integration - Use our out-of-the-box design or customize the user interface by integrating the AssetBuyer engine. You can also tap into 0x networked liquidity or choose your own liquidity pool. - - + + {_.map(item.links, (link, i) => ( + + {link.label} + + ))} + + + + ))}
-- cgit