2019-01-14 13:40:06 -05:00
|
|
|
// @flow
|
2017-12-21 18:08:54 -03:00
|
|
|
import React from 'react';
|
|
|
|
import { Modal } from 'modal/modal';
|
2018-03-26 14:32:43 -07:00
|
|
|
import Button from 'component/button';
|
2017-08-18 13:09:40 -04:00
|
|
|
|
2019-01-14 13:40:06 -05:00
|
|
|
type Props = {
|
|
|
|
closeModal: () => void,
|
|
|
|
};
|
|
|
|
|
|
|
|
const ModalWelcome = (props: Props) => {
|
2017-08-18 13:09:40 -04:00
|
|
|
const { closeModal } = props;
|
|
|
|
|
|
|
|
return (
|
2018-09-26 13:48:07 -04:00
|
|
|
<Modal type="custom" isOpen contentLabel="Welcome to LBRY" title={__('Welcome to LBRY')}>
|
2019-07-21 17:31:22 -04:00
|
|
|
<p>
|
|
|
|
{__('Using LBRY is like dating a centaur. Totally normal up top, and')} <em>{__('way different')}</em>{' '}
|
|
|
|
{__('underneath.')}
|
|
|
|
</p>
|
|
|
|
<p>{__('Up top, LBRY is similar to popular media sites.')}</p>
|
|
|
|
<p>{__('Below, LBRY is controlled by users -- you -- via blockchain and decentralization.')}</p>
|
2019-01-14 13:40:06 -05:00
|
|
|
<div className="card__actions">
|
|
|
|
<Button button="primary" onClick={closeModal} label={__("I'm In")} />
|
|
|
|
</div>
|
2017-08-18 13:09:40 -04:00
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ModalWelcome;
|