add FAQ to Referral page

This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2018-04-11 03:58:34 +07:00 committed by GitHub
parent 82f2fbd643
commit 1119adc98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
import React from 'react'; import React from 'react';
import BusyIndicator from 'component/common/busy-indicator'; import BusyIndicator from 'component/common/busy-indicator';
import CreditAmount from 'component/common/credit-amount'; import CreditAmount from 'component/common/credit-amount';
import Button from 'component/button';
import { Form, FormRow, FormField, Submit } from 'component/common/form'; import { Form, FormRow, FormField, Submit } from 'component/common/form';
class FormInviteNew extends React.PureComponent { class FormInviteNew extends React.PureComponent {
@ -69,6 +70,7 @@ class InviteNew extends React.PureComponent {
return ( return (
<section className="card card--section"> <section className="card card--section">
<div className="card__title">{__('Invite a Friend')}</div> <div className="card__title">{__('Invite a Friend')}</div>
<div className="card__subtitle"> <div className="card__subtitle">
{__("Or an enemy. Or your cousin Jerry, who you're kind of unsure about.")} {__("Or an enemy. Or your cousin Jerry, who you're kind of unsure about.")}
</div> </div>
@ -87,6 +89,11 @@ class InviteNew extends React.PureComponent {
rewardAmount={rewardAmount} rewardAmount={rewardAmount}
/> />
</div> </div>
<p className="help help--padded">
{__('Read our')}{' '}
<Button button="link" label={__('FAQ')} href="https://lbry.io/faq/referrals" />{' '}
{__('to learn more about referrals')}.
</p>
</section> </section>
); );
} }