add FAQ to Publish Form #1833

Merged
ykris45 merged 3 commits from patch-1 into master 2018-07-30 22:35:42 +02:00
2 changed files with 16 additions and 8 deletions

View file

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
### Added
* Wallet Encryption/Decryption user flows ([#1785](https://github.com/lbryio/lbry-desktop/pull/1785))
* Add FAQ to Publishing Area ([#1833](https://github.com/lbryio/lbry-desktop/pull/1833))
### Changed

View file

@ -53,7 +53,7 @@ type Props = {
clearPublish: () => void,
resolveUri: string => void,
scrollToTop: () => void,
prepareEdit: ({}) => void,
prepareEdit: ({ }) => void,
resetThumbnailStatus: () => void,
};
@ -345,6 +345,13 @@ class PublishForm extends React.PureComponent<Props> {
<div className="card__title">{__('Content')}</div>
<div className="card__subtitle">
{isStillEditing ? __('Editing a claim') : __('What are you publishing?')}
{' '}{__(
'Read our'
)}{' '}
<Button button="link" label={__('FAQ')} href="https://lbry.io/faq/how-to-publish" />{' '}
{__(
'to learn more.'
)}
</div>
{(filePath || !!editingURI) && (
<div className="card-media__internal-links">
@ -402,12 +409,12 @@ class PublishForm extends React.PureComponent<Props> {
{uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? (
__('Enter a URL for your thumbnail.')
) : (
<React.Fragment>
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
{__('Recommended size: 800x450 (16:9)')}
</React.Fragment>
)}
<React.Fragment>
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
{__('Recommended size: 800x450 (16:9)')}
</React.Fragment>
)}
</div>
<SelectThumbnail
thumbnailPath={thumbnailPath}
@ -482,7 +489,7 @@ class PublishForm extends React.PureComponent<Props> {
!channel || channel === CHANNEL_ANONYMOUS || channel === CHANNEL_NEW
? ''
: `${channel}/`
}`}
}`}
type="text"
name="content_name"
placeholder="myname"