Ecosystem links

This commit is contained in:
Steve Klebanoff
2018-12-17 16:14:30 -08:00
parent 5defa94902
commit 43cc7b6626
2 changed files with 16 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ import { Icon } from 'ts/@next/components/icon';
import { Column, Section, WrapGrid } from 'ts/@next/components/newLayout';
import { SiteWrap } from 'ts/@next/components/siteWrap';
import { Heading, Paragraph } from 'ts/@next/components/text';
import { constants } from 'ts/utils/constants';
interface BenefitProps {
title: string;
@@ -64,10 +65,21 @@ export const NextEcosystem = () => (
Program to bolster the expansion of both infrastructure projects and relayers building on 0x.
</Paragraph>
<LinkWrap>
<Button href="" isWithArrow={true} isAccentColor={true}>
<Button
href={constants.URL_ECOSYSTEM_APPLY}
isWithArrow={true}
isAccentColor={true}
useAnchorTag={true}
>
Apply now
</Button>
<Button to="#" isWithArrow={true} isAccentColor={true}>
<Button
href={constants.URL_ECOSYSTEM_BLOG_POST}
isWithArrow={true}
isAccentColor={true}
useAnchorTag={true}
target="_blank"
>
Learn More
</Button>
</LinkWrap>

View File

@@ -76,6 +76,8 @@ export const constants = {
URL_BITLY_API: 'https://api-ssl.bitly.com',
URL_BLOG: 'https://blog.0x.org/latest',
URL_DISCOURSE_FORUM: 'https://forum.0x.org',
URL_ECOSYSTEM_APPLY: 'https://0x.smapply.io/',
URL_ECOSYSTEM_BLOG_POST: 'https://blog.0xproject.com/announcing-the-0x-ecosystem-acceleration-program-89d1cb89d565',
URL_FIREFOX_U2F_ADDON: 'https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/',
URL_TESTNET_FAUCET: 'https://faucet.0x.org',
URL_GITHUB_ORG: 'https://github.com/0xProject',