From eeb4a97899bfd63086ac1c64e587243c68f07f63 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 13 Mar 2018 11:17:42 +0300 Subject: [PATCH] feat(gui): settings on header --- src/app/header.js | 53 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a/src/app/header.js b/src/app/header.js index 2744383..dd0efc0 100644 --- a/src/app/header.js +++ b/src/app/header.js @@ -7,9 +7,54 @@ const Header = (props) => { return ( } + overlay={ +
+ { + window.router('/config') + }} + fill='white' style={{height: 45, margin: 4}} viewBox="0 0 932.179 932.179"> + + + + + + +
+ + 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! + } />} >
{ { !window.currentWindow.isModal() && -
0 ? '#42f445' : 'white'}}> +
0 ? '#42f445' : 'white'}}> rats peers: {window.peers} {window.peers > 0 ? ' (p2p rats search enabled)' : ' (p2p rats search not available at this moment)'}
}