diff --git a/src/app/download-page.js b/src/app/download-page.js
index db7800b..8ee5e1d 100644
--- a/src/app/download-page.js
+++ b/src/app/download-page.js
@@ -1,6 +1,7 @@
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';
@@ -40,6 +41,7 @@ export default class TopPage extends Page {
render() {
return (
+
{
window.router('/')
diff --git a/src/app/index-page.js b/src/app/index-page.js
index b8cb998..98ded98 100644
--- a/src/app/index-page.js
+++ b/src/app/index-page.js
@@ -8,13 +8,69 @@ 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 (
-
+
}
>
-
+
+
{
+ window.router('/downloads')
+ }}
+ backgroundColor='#2080E4'
+ labelColor='white'
+ style={{height: 60, borderRadius: 5, margin: 5, zIndex: 1}}
+ buttonStyle={{borderRadius: 5}}
+ icon={
+ }
+ />
+ {
+ window.router('/top')
+ }}
+ backgroundColor='#B1CE57'
+ labelColor='white'
+ style={{height: 60, width: 120, borderRadius: 5, margin: 5, zIndex: 1}}
+ buttonStyle={{borderRadius: 5}}
+ icon={
+ }
+ />
+
Welcome to ROTB! This is file search engine based on the torrents from the internet.