diff --git a/src/css/izi/components.css b/src/css/izi/components.css index 5daa275..77ccfe5 100644 --- a/src/css/izi/components.css +++ b/src/css/izi/components.css @@ -28,6 +28,3 @@ } } -.donation-line { - margin-top: 15px; -} diff --git a/src/dmca-page.js b/src/dmca-page.js new file mode 100644 index 0000000..f876457 --- /dev/null +++ b/src/dmca-page.js @@ -0,0 +1,33 @@ +import React from 'react'; +import Page from './page'; + +import AppBar from 'material-ui/AppBar'; +import IconButton from 'material-ui/IconButton'; +import NavigationClose from 'material-ui/svg-icons/navigation/close'; + +export default class DMCAPage extends Page { + + render() { + return ( +
+ { window.router('/') }}>} + /> + +
+
RatsOnTheBoat.org is in compliance with 17 U.S.C. ยง 512, the Digital Millennium Copyright Act ("DMCA") and the Directive 2001/29/EC of the European Parliament.
+ +
Content status
+ + Our main goal is collect and make analysis about content (based on content of the torrent network). We don't save/distribute any real content and also don't save any torrents files - we are respect DMCA law. + Information collected automaticly and the real source are torrent clients based on torrent protocol. + +
Block mechanisms (for rightholders)
+ + Right holders can block/remove content that they responsible for. Contact administration or left application about content removal. +
+
+ ); + } +} diff --git a/src/footer.js b/src/footer.js new file mode 100644 index 0000000..74379e8 --- /dev/null +++ b/src/footer.js @@ -0,0 +1,14 @@ +import React from 'react'; + +export default (props) => { + return ( +
+
{ + window.router('/DMCA'); + }}> + DMCA / Copyright +
+
Donation to support project (bitcoin): 1Ega5zeCSMPgyDn6fEMMiuGoqNNpS53ipK
+
+ ) +} \ No newline at end of file diff --git a/src/index-page.js b/src/index-page.js index 1d35e3b..3e7fffa 100644 --- a/src/index-page.js +++ b/src/index-page.js @@ -1,5 +1,6 @@ import React from 'react'; import Page from './page'; +import Footer from './footer'; import RecentTorrents from './recent-torrents' import Search from './search' @@ -38,7 +39,7 @@ export default class IndexPage extends Page {
-
Donation to support project (bitcoin): 1Ega5zeCSMPgyDn6fEMMiuGoqNNpS53ipK
+
); diff --git a/src/router.js b/src/router.js index d9de5ef..05c2d63 100644 --- a/src/router.js +++ b/src/router.js @@ -4,6 +4,7 @@ import PagesPie from './pages-pie.js'; import IndexPage from './index-page.js' import TorrentPage from './torrent-page.js' +import DMCAPage from './dmca-page.js' router('/', () => { //singleton @@ -19,3 +20,9 @@ router('/torrent/:hash', (e) => { hash: e.params.hash, }); }); + +router('/DMCA', () => { + //singleton + let pie = new PagesPie; + pie.open(DMCAPage, {replace: 'all'}); +}); diff --git a/src/torrent-page.js b/src/torrent-page.js index 657791f..b82c4d4 100644 --- a/src/torrent-page.js +++ b/src/torrent-page.js @@ -1,6 +1,7 @@ import React from 'react'; import Page from './page'; import formatBytes from './format-bytes' +import Footer from './footer'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; @@ -248,9 +249,7 @@ export default class TorrentPage extends Page { : null } -
-
Donation to support project (bitcoin): 1Ega5zeCSMPgyDn6fEMMiuGoqNNpS53ipK
-
+