aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-18 06:37:18 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-18 06:37:18 +0800
commit35f7dd71e94e61ce685976094c133634119dc636 (patch)
tree7dac7ae314fa6aa8fb5c867543367d3980d8b55e /packages/website
parent30ccddf0d521f0721f475ae75039fdb966ff7ab0 (diff)
downloaddexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar.gz
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar.bz2
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar.lz
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar.xz
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.tar.zst
dexon-sol-tools-35f7dd71e94e61ce685976094c133634119dc636.zip
prettify about page
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/components/sections/landing/about.tsx47
1 files changed, 13 insertions, 34 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/about.tsx b/packages/website/ts/@next/components/sections/landing/about.tsx
index ee1cfb434..11151846a 100644
--- a/packages/website/ts/@next/components/sections/landing/about.tsx
+++ b/packages/website/ts/@next/components/sections/landing/about.tsx
@@ -1,10 +1,10 @@
import * as React from 'react';
import styled from 'styled-components';
-import {Button} from 'ts/@next/components/button';
-import {Icon, InlineIconWrap} from 'ts/@next/components/icon';
-import {Column, FlexWrap, Section} from 'ts/@next/components/newLayout';
-import {Paragraph} from 'ts/@next/components/text';
+import { Button } from 'ts/@next/components/button';
+import { Icon, InlineIconWrap } from 'ts/@next/components/icon';
+import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout';
+import { Paragraph } from 'ts/@next/components/text';
interface FigureProps {
value: string;
@@ -20,20 +20,12 @@ export const SectionLandingAbout = () => (
<Icon name="descriptionBolt" size="small" />
</InlineIconWrap>
- <Paragraph
- size="large"
- isCentered={true}
- isMuted={1}
- padding={['large', 0, 'default', 0]}
- >
- Anyone in the world can use 0x to service a wide variety of markets ranging from gaming items to financial instruments to assets that could have never existed before.
+ <Paragraph size="large" isCentered={true} isMuted={1} padding={['large', 0, 'default', 0]}>
+ Anyone in the world can use 0x to service a wide variety of markets ranging from gaming items to financial
+ instruments to assets that could have never existed before.
</Paragraph>
- <Button
- href="#"
- isWithArrow={true}
- isAccentColor={true}
- >
+ <Button href="#" isWithArrow={true} isAccentColor={true}>
Discover how developers use 0x
</Button>
@@ -46,32 +38,19 @@ export const SectionLandingAbout = () => (
/>
<FlexWrap as="dl">
- <Figure
- value="873,435"
- description="Number of Transactions"
- />
+ <Figure value="873,435" description="Number of Transactions" />
- <Figure
- value="$203M"
- description="Total Volume"
- />
+ <Figure value="$203M" description="Total Volume" />
- <Figure
- value="227,372"
- description="Number of Relayers"
- />
+ <Figure value="227,372" description="Number of Relayers" />
</FlexWrap>
</Section>
);
const Figure = (props: FigureProps) => (
<Column padding="0 30px">
- <FigureValue>
- {props.value}
- </FigureValue>
- <FigureDescription>
- {props.description}
- </FigureDescription>
+ <FigureValue>{props.value}</FigureValue>
+ <FigureDescription>{props.description}</FigureDescription>
</Column>
);