Merge pull request #1978 from 0xProject/feature/website/add-FAQ-annoucement

Add announcement for vote
This commit is contained in:
David Sun 2019-07-22 14:08:26 -07:00 committed by GitHub
commit 6c79edd3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,12 @@ import { LandingAnimation } from 'ts/components/heroImage';
import { HeroAnimation } from 'ts/components/heroAnimation'; import { HeroAnimation } from 'ts/components/heroAnimation';
import { WebsitePaths } from 'ts/types'; import { WebsitePaths } from 'ts/types';
const announcement = {
headline: 'Vote on ZEIP-24 & ZEIP-39',
href: '/vote',
shouldOpenInNewTab: false,
};
export const SectionLandingHero = () => ( export const SectionLandingHero = () => (
<Hero <Hero
title="Powering Decentralized Exchange" title="Powering Decentralized Exchange"
@ -15,6 +21,7 @@ export const SectionLandingHero = () => (
description="0x is an open protocol that enables the peer-to-peer exchange of assets on the Ethereum blockchain." description="0x is an open protocol that enables the peer-to-peer exchange of assets on the Ethereum blockchain."
figure={<LandingAnimation image={<HeroAnimation />} />} figure={<LandingAnimation image={<HeroAnimation />} />}
actions={<HeroActions />} actions={<HeroActions />}
announcement={announcement}
/> />
); );