0 ? '#42f445' : 'white'}}>
+ rats peers: {window.peers} {window.peers > 0 ? ' (p2p rats search enabled)' : ' (p2p rats search not available at this moment)'}
+
+ }
+
+
+
+ Welcome to ROTB! This is file search engine based on the torrents from the internet.
+ Here you can easily find torrent or file that you intrested for. We are not responsible for any content:
+ this is only information about content that collected automatically!
+
+
+ )
+}
+
+export {Header}
diff --git a/src/app/index-page.js b/src/app/index-page.js
index 98ded98..b500008 100644
--- a/src/app/index-page.js
+++ b/src/app/index-page.js
@@ -1,88 +1,9 @@
import React from 'react';
import Page from './page';
-import Footer from './footer';
import RecentTorrents from './recent-torrents'
import Search from './search'
-import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card';
-import Background from './images/pirate-mod.jpg'
-
-import RaisedButton from 'material-ui/RaisedButton';
-
-const Header = (props) => {
- return (
-
- }
- >
-
-
-
- Welcome to ROTB! This is file search engine based on the torrents from the internet.
- Here you can easily find torrent or file that you intrested for. We are not responsible for any content:
- this is only information about content that collected automatically!
-
-
- )
-}
-
-export {Header}
-
export default class IndexPage extends Page {
constructor(props) {
super(props)
@@ -91,11 +12,9 @@ export default class IndexPage extends Page {
render() {
return (
-
-
);
diff --git a/src/app/top-page.js b/src/app/top-page.js
index 10a94ee..7a12edc 100644
--- a/src/app/top-page.js
+++ b/src/app/top-page.js
@@ -1,7 +1,5 @@
import React from 'react';
import Page from './page';
-import Footer from './footer';
-import { Header } from './index-page'
import TorrentLine from './torrent'
import {List} from 'material-ui/List';
@@ -41,7 +39,6 @@ export default class TopPage extends Page {
render() {
return (