2018-09-26 19:48:07 +02:00
|
|
|
// @flow
|
2017-12-21 22:08:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { Modal } from 'modal/modal';
|
2019-12-06 21:57:07 +01:00
|
|
|
import Card from 'component/common/card';
|
|
|
|
import Button from 'component/button';
|
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 (
|
2020-08-26 22:28:33 +02:00
|
|
|
<Modal type="card" isOpen contentLabel={__('Your first reward')}>
|
2019-12-06 21:57:07 +01:00
|
|
|
<Card
|
2020-08-26 22:28:33 +02:00
|
|
|
title={__('Your first reward')}
|
2019-12-06 21:57:07 +01:00
|
|
|
subtitle={__('You just earned your first reward!')}
|
|
|
|
body={
|
|
|
|
<React.Fragment>
|
|
|
|
<p>{__("This reward will show in your Wallet in the top right momentarily (if it hasn't already).")}</p>
|
|
|
|
<p>
|
|
|
|
{__(
|
2020-09-04 19:14:48 +02:00
|
|
|
'These Credits are used to compensate creators, to publish your own content, and to have say in how the network works.'
|
2019-12-06 21:57:07 +01:00
|
|
|
)}
|
|
|
|
</p>
|
|
|
|
<p>{__('No need to understand it all just yet! Try watching or publishing something next.')}</p>
|
|
|
|
</React.Fragment>
|
|
|
|
}
|
2019-12-25 21:56:35 +01:00
|
|
|
actions={<Button button="primary" onClick={closeModal} label={__('You Got It Dude')} />}
|
2019-12-06 21:57:07 +01:00
|
|
|
/>
|
2017-07-25 00:59:26 +02:00
|
|
|
</Modal>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default ModalFirstReward;
|