2017-07-25 00:59:26 +02:00
|
|
|
import React from "react";
|
2017-08-18 19:09:40 +02:00
|
|
|
import { Modal } from "modal/modal";
|
2017-07-25 00:59:26 +02:00
|
|
|
import { CreditAmount } from "component/common";
|
|
|
|
|
|
|
|
class ModalFirstReward extends React.PureComponent {
|
|
|
|
render() {
|
|
|
|
const { closeModal, reward } = this.props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Modal
|
|
|
|
type="alert"
|
|
|
|
overlayClassName="modal-overlay modal-overlay--clear"
|
|
|
|
isOpen={true}
|
|
|
|
contentLabel={__("Welcome to LBRY")}
|
|
|
|
onConfirmed={closeModal}
|
|
|
|
>
|
|
|
|
<section>
|
2017-07-28 03:13:12 +02:00
|
|
|
<h3 className="modal__header">{__("Your First Reward")}</h3>
|
2017-07-25 00:59:26 +02:00
|
|
|
<p>
|
2017-07-28 03:13:12 +02:00
|
|
|
{__("You just earned your first reward of")}
|
|
|
|
{" "}<CreditAmount amount={reward.reward_amount} />.
|
2017-07-25 00:59:26 +02:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{__(
|
2017-07-28 03:13:12 +02:00
|
|
|
"This reward will show in your Wallet in the top right momentarily (if it hasn't already)."
|
2017-07-25 00:59:26 +02:00
|
|
|
)}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{__(
|
2017-07-28 03:13:12 +02:00
|
|
|
"These credits are used to compensate creators, to publish your own content, and to have say in how the network works."
|
2017-07-25 00:59:26 +02:00
|
|
|
)}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{__(
|
|
|
|
"No need to understand it all just yet! Try watching or downloading something next."
|
|
|
|
)}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{__(
|
2017-07-28 03:13:12 +02:00
|
|
|
"Finally, please know that LBRY is an early beta and that it earns the name."
|
2017-07-25 00:59:26 +02:00
|
|
|
)}
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ModalFirstReward;
|