From df86bae377a4a8cddfc036265baa5fe54f30979f Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 25 Oct 2018 10:43:26 +0100 Subject: [PATCH] Remove footer --- embark-ui/src/components/Layout.js | 84 ++++++++++++++++-------------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/embark-ui/src/components/Layout.js b/embark-ui/src/components/Layout.js index cdca42eae..38534335f 100644 --- a/embark-ui/src/components/Layout.js +++ b/embark-ui/src/components/Layout.js @@ -10,7 +10,6 @@ import FontAwesome from 'react-fontawesome'; import "./Layout.css"; import { - AppFooter, AppHeader, AppSidebar, AppSidebarFooter, @@ -150,6 +149,7 @@ class Layout extends React.Component { this.searchTheExplorer(searchValue)}/> + {this.renderTool()} {this.renderSettings()} ); @@ -174,16 +174,21 @@ class Layout extends React.Component { ); } - renderFooter() { + renderTool() { return ( - - - Embark  - Documentation -  |  - Github - - + + + + + + + + + + + + + ); } @@ -194,40 +199,39 @@ class Layout extends React.Component { removeCssClasses(); } - return (
- - - {this.renderNav()} + return ( +
+ + + {this.renderNav()} + {this.renderRightNav()} + - {this.renderRightNav()} - +
+ {sidebar && + + + + + + + + } -
- {sidebar && - - - - - - - - } +
+ this.dismissSearchError()}> + {searchResult.error} + -
- this.dismissSearchError()}> - {searchResult.error} - - - - {children} - -
+ + {children} + +
+
- - {this.renderFooter()} -
); + ); } }