2017-06-26 16:00:24 +02:00
|
|
|
import React from "react";
|
|
|
|
import Link from "component/link";
|
|
|
|
|
|
|
|
const NsfwOverlay = props => {
|
|
|
|
return (
|
|
|
|
<div className="card-overlay">
|
|
|
|
<p>
|
|
|
|
{__(
|
|
|
|
"This content is Not Safe For Work. To view adult content, please change your"
|
|
|
|
)}{" "}
|
2017-11-24 22:36:10 +01:00
|
|
|
{" "}{" "}
|
2017-06-26 16:00:24 +02:00
|
|
|
<Link
|
|
|
|
className="button-text"
|
|
|
|
onClick={() => props.navigateSettings()}
|
|
|
|
label={__("Settings")}
|
|
|
|
/>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default NsfwOverlay;
|