2019-01-14 19:40:06 +01:00
|
|
|
// @flow
|
2017-12-21 22:08:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { Modal } from 'modal/modal';
|
2018-03-26 23:32:43 +02:00
|
|
|
import Button from 'component/button';
|
2017-08-18 19:09:40 +02:00
|
|
|
|
2019-01-14 19:40:06 +01:00
|
|
|
type Props = {
|
|
|
|
closeModal: () => void,
|
|
|
|
};
|
|
|
|
|
|
|
|
const ModalWelcome = (props: Props) => {
|
2017-08-18 19:09:40 +02:00
|
|
|
const { closeModal } = props;
|
|
|
|
|
|
|
|
return (
|
2018-09-26 19:48:07 +02:00
|
|
|
<Modal type="custom" isOpen contentLabel="Welcome to LBRY" title={__('Welcome to LBRY')}>
|
2019-07-21 23:31:22 +02: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 19:40:06 +01:00
|
|
|
<div className="card__actions">
|
|
|
|
<Button button="primary" onClick={closeModal} label={__("I'm In")} />
|
|
|
|
</div>
|
2017-08-18 19:09:40 +02:00
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ModalWelcome;
|