diff --git a/.flowconfig b/.flowconfig index 33672e592..3083a80df 100644 --- a/.flowconfig +++ b/.flowconfig @@ -29,5 +29,6 @@ module.name_mapper='^effects\(.*\)$' -> '/ui/effects\1' module.name_mapper='^config\(.*\)$' -> '/config\1' module.name_mapper='^lbrytv\/component\(.*\)$' -> '/lbrytv/component\1' module.name_mapper='^lbrytv\/effects\(.*\)$' -> '/lbrytv/effects\1' +module.name_mapper='^lbrytv\/page\(.*\)$' -> '/lbrytv/page\1' [strict] diff --git a/lbrytv/component/footer.jsx b/lbrytv/component/footer.jsx index b0110d4a0..8de323523 100644 --- a/lbrytv/component/footer.jsx +++ b/lbrytv/component/footer.jsx @@ -1,4 +1,5 @@ // @flow +import * as PAGES from 'constants/pages'; import React from 'react'; import Button from 'component/button'; @@ -68,6 +69,10 @@ const sections = [ label: 'Privacy Policy', link: 'https://lbry.com/privacypolicy', }, + { + label: '2257', + navigate: `/$/${PAGES.CODE_2257}`, + }, ], }, ]; @@ -80,11 +85,13 @@ export default function Footer() {
{name}
    - {links.map(({ label, link }) => ( -
  • -
  • - ))} + {links.map(({ label, link, navigate }) => { + return ( +
  • +
  • + ); + })}
); diff --git a/lbrytv/page/code2257/index.js b/lbrytv/page/code2257/index.js new file mode 100644 index 000000000..bf0d2b095 --- /dev/null +++ b/lbrytv/page/code2257/index.js @@ -0,0 +1,2 @@ +import PageCode2257 from './view'; +export default PageCode2257; diff --git a/lbrytv/page/code2257/view.jsx b/lbrytv/page/code2257/view.jsx new file mode 100644 index 000000000..3ee535f25 --- /dev/null +++ b/lbrytv/page/code2257/view.jsx @@ -0,0 +1,47 @@ +// @flow +import React from 'react'; +import Page from 'component/page'; +import Card from 'component/common/card'; + +const Code2257Page = () => { + return ( + + +

+ lbry.tv is not a producer (primary or secondary) of any and all of the content found on the website + (lbry.tv). With respect to the records as per 18 USC 2257 for any and all content found on this site, + please kindly direct your request to the site for which the content was produced. +

+

+ lbry.tv is a video sharing site in which allows for the uploading, sharing and general viewing of various + types of adult content and while lbry.tv does the best it can with verifying compliance, it may not be + 100% accurate. +

+

+ lbry.tv abides by the following procedures to ensure compliance: +

    +
  • Requiring all users to be 18 years of age to upload videos.
  • +
  • + When uploading, user must verify the content; assure he/she is 18 years of age; certify that he/she + keeps records of the models in the content and that they are over 18 years of age. +
  • +
+

+

+ For further assistance and/or information in finding the content's originating site, please contact + lbry.tv compliance at copyright@lbry.com +

+

+ Users of lbry.tv who come across such content are urged to flag it as inappropriate by clicking 'Report + this video' link found below each video. +

+ + } + /> +
+ ); +}; +export default Code2257Page; diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index e178c8df5..26570d2c0 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -7,6 +7,9 @@ import HelpPage from 'page/help'; // @if TARGET='app' import BackupPage from 'page/backup'; // @endif +// @if TARGET='web' +import Code2257Page from 'lbrytv/page/code2257'; +// @endif import ReportPage from 'page/report'; import ShowPage from 'page/show'; import PublishPage from 'page/publish'; @@ -36,6 +39,7 @@ import Welcome from 'page/welcome'; import CreatorDashboard from 'page/creatorDashboard'; import RewardsVerifyPage from 'page/rewardsVerify'; import CheckoutPage from 'page/checkoutPage'; + import { parseURI } from 'lbry-redux'; import { SITE_TITLE, WELCOME_VERSION } from 'config'; @@ -170,6 +174,9 @@ function AppRouter(props: Props) { {/* @if TARGET='app' */} {/* @endif */} + {/* @if TARGET='web' */} + + {/* @endif */} diff --git a/ui/constants/pages.js b/ui/constants/pages.js index 612f1afe1..e8b3a8ec5 100644 --- a/ui/constants/pages.js +++ b/ui/constants/pages.js @@ -36,3 +36,4 @@ exports.TOP = 'top'; exports.WELCOME = 'welcome'; exports.CREATOR_DASHBOARD = 'dashboard'; exports.CHECKOUT = 'checkout'; +exports.CODE_2257 = '2257';