aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/pages
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-11 22:51:26 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-11 23:11:08 +0800
commit1e5bc143be07c94d311313d11c830f4db6ff97bb (patch)
treeb39a84a6cc411d382a6b1522d49313d4267ecafd /packages/website/ts/@next/pages
parentec72a4b68c2e5dda3d77fdca9308f7ea75cf905d (diff)
downloaddexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar.gz
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar.bz2
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar.lz
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar.xz
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.tar.zst
dexon-sol-tools-1e5bc143be07c94d311313d11c830f4db6ff97bb.zip
Add slider mockup
Diffstat (limited to 'packages/website/ts/@next/pages')
-rw-r--r--packages/website/ts/@next/pages/why.tsx39
1 files changed, 34 insertions, 5 deletions
diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx
index b31cbb277..0872ade7d 100644
--- a/packages/website/ts/@next/pages/why.tsx
+++ b/packages/website/ts/@next/pages/why.tsx
@@ -10,12 +10,9 @@ import { Link } from 'ts/@next/components/button';
import { Icon } from 'ts/@next/components/icon';
import { BREAKPOINTS, Column, Section, Wrap, WrapCentered, WrapSticky } from 'ts/@next/components/layout';
import { SiteWrap } from 'ts/@next/components/siteWrap';
+import { Slide, Slider } from 'ts/@next/components/slider/slider';
import { Heading, Paragraph } from 'ts/@next/components/text';
-import CoinIcon from 'ts/@next/icons/illustrations/coin.svg';
-import CustomizeIcon from 'ts/@next/icons/illustrations/customize.svg';
-import ProtocolIcon from 'ts/@next/icons/illustrations/protocol.svg';
-
const offersData = [
{
icon: 'coin',
@@ -62,6 +59,29 @@ const functionalityData = [
},
];
+const useCaseSlides = [
+ {
+ icon: 'coin',
+ title: 'Games & Collectibles',
+ description: 'Artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality by providing the ability to build marketplaces for NFT trading.',
+ },
+ {
+ icon: 'coin',
+ title: 'Games & Collectibles',
+ description: 'Artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality by providing the ability to build marketplaces for NFT trading.',
+ },
+ {
+ icon: 'coin',
+ title: 'Games & Collectibles',
+ description: 'Artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality by providing the ability to build marketplaces for NFT trading.',
+ },
+ {
+ icon: 'coin',
+ title: 'Games & Collectibles',
+ description: 'Artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality by providing the ability to build marketplaces for NFT trading.',
+ },
+];
+
export class NextWhy extends React.PureComponent {
public render(): React.ReactNode {
return (
@@ -151,7 +171,16 @@ export class NextWhy extends React.PureComponent {
<SectionWrap id="cases">
<Heading size="medium">Use Cases</Heading>
- <Paragraph isMuted={true}>slider</Paragraph>
+ <Slider>
+ {_.map(useCaseSlides, (item, index) => (
+ <Slide
+ key={`useCaseSlide-${index}`}
+ heading={item.title}
+ text={item.description}
+ icon={item.icon}
+ />
+ ))}
+ </Slider>
</SectionWrap>
<SectionWrap id="functionality">