lbry-desktop/ui/modal/modalFirstReward/view.jsx

35 lines
943 B
React
Raw Normal View History

2018-09-26 19:48:07 +02:00
// @flow
import React from 'react';
import { Modal } from 'modal/modal';
2017-07-25 00:59:26 +02:00
2018-09-26 19:48:07 +02:00
type Props = {
closeModal: () => void,
};
class ModalFirstReward extends React.PureComponent<Props> {
2017-07-25 00:59:26 +02:00
render() {
2018-05-30 18:07:56 +02:00
const { closeModal } = this.props;
2017-07-25 00:59:26 +02:00
return (
<Modal
type="alert"
isOpen
contentLabel={__('Welcome to LBRY')}
2018-09-26 19:48:07 +02:00
title={__('Your First Reward')}
2017-07-25 00:59:26 +02:00
onConfirmed={closeModal}
>
2019-07-21 23:31:22 +02:00
<p>{__('You just earned your first reward!')}</p>
<p>{__("This reward will show in your Wallet in the top right momentarily (if it hasn't already).")}</p>
<p>
{__(
'These credits are used to compensate creators, to publish your own content, and to have say in how the network works.'
)}
</p>
<p>{__('No need to understand it all just yet! Try watching or publishing something next.')}</p>
2017-07-25 00:59:26 +02:00
</Modal>
);
}
}
export default ModalFirstReward;