aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/sections/landing/cta.tsx
blob: 5a0617256eda35087283ac4485baf0afd7768d9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import * as React from 'react';
import {Button, ButtonWrap, Link} from 'ts/@next/components/button';
import {Icon, InlineIconWrap} from 'ts/@next/components/icon';
import {Wrap, WrapCentered, WrapGrid} from 'ts/@next/components/layout';
import {Heading, Paragraph} from 'ts/@next/components/text';

import {Column, Section} from 'ts/@next/components/newLayout';

import {BlockIconLink} from 'ts/@next/components/blockIconLink';

interface Props {
    onContactClick?: () => void;
}

export const SectionLandingCta = (props: Props) => (
    <Section
        isPadded={false}
        isFlex={true}
        maxWidth="auto"
        wrapWidth="100%"
        flexBreakpoint="900px"
    >
        <BlockIconLink
            icon="getStarted"
            title="Ready to build on 0x?"
            linkLabel="Get Started"
            linkUrl="https://0xproject.com/docs"
        />
        <BlockIconLink
            icon="getInTouch"
            title="Want help from the 0x team?"
            linkLabel="Get in Touch"
            linkAction={props.onContactClick}
        />
    </Section>
);