5bec6accc2
refactor modals and settings, clean-up CHANGELOG
32 lines
957 B
JavaScript
32 lines
957 B
JavaScript
import React from "react";
|
|
import { Modal } from "modal/modal";
|
|
import Link from "component/link/index";
|
|
|
|
const ModalWelcome = props => {
|
|
const { closeModal } = props;
|
|
|
|
return (
|
|
<Modal type="custom" isOpen={true} contentLabel="Welcome to LBRY">
|
|
<section>
|
|
<h3 className="modal__header">{__("Welcome to LBRY")}</h3>
|
|
<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>
|
|
<div className="modal__buttons">
|
|
<Link button="primary" onClick={closeModal} label={__("Continue")} />
|
|
</div>
|
|
</section>
|
|
</Modal>
|
|
);
|
|
};
|
|
|
|
export default ModalWelcome;
|