From 0714131a5f06f7bce1844fd00abc6d4ab639c06c Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Tue, 27 Mar 2018 00:04:22 +0300 Subject: [PATCH] feat(header): back to main button at top --- src/app/header.js | 39 ++++++++++++++++++++++++++++++++++++++- src/app/top-page.js | 4 ++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/src/app/header.js b/src/app/header.js index 1b5a769..e65d555 100644 --- a/src/app/header.js +++ b/src/app/header.js @@ -62,6 +62,43 @@ const Header = (props) => { minHeight: 360, backgroundSize: 'cover' }}> + { + window.router('/') + }} + backgroundColor='#69238c' + labelColor='white' + style={{height: 60, borderRadius: 6, margin: 5, zIndex: 1}} + buttonStyle={{borderRadius: 5}} + icon={ + + + + + + + + + + + + + + + } + /> { @@ -69,7 +106,7 @@ const Header = (props) => { }} backgroundColor='#2080E4' labelColor='white' - style={{height: 60, borderRadius: 5, margin: 5, zIndex: 1}} + style={{height: 60, borderRadius: 6, margin: 5, zIndex: 1}} buttonStyle={{borderRadius: 5}} icon={