From 6301c0fe467ca8b57524c4c1f9e942206d9bd2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 7 Mar 2016 13:45:40 +0100 Subject: [PATCH] Refactor to route specific footer --- js/components/header.js | 24 ++++++------ .../prize/portfolioreview/pr_app.js | 1 - .../prize/simple_prize/prize_app.js | 1 - .../components/23vivi/23vivi_landing.js | 2 +- .../wallet/components/market/market_footer.js | 27 ++++++++++++++ js/components/whitelabel/wallet/wallet_app.js | 1 - .../whitelabel/wallet/wallet_routes.js | 37 +++++++++++++------ sass/whitelabel/wallet/index.scss | 1 + sass/whitelabel/wallet/market/index.scss | 1 + .../wallet/market/market_footer.scss | 15 ++++++++ 10 files changed, 82 insertions(+), 28 deletions(-) create mode 100644 js/components/whitelabel/wallet/components/market/market_footer.js create mode 100644 sass/whitelabel/wallet/market/index.scss create mode 100644 sass/whitelabel/wallet/market/market_footer.scss diff --git a/js/components/header.js b/js/components/header.js index ed04a736..181e14c0 100644 --- a/js/components/header.js +++ b/js/components/header.js @@ -82,16 +82,12 @@ let Header = React.createClass({ getPoweredBy() { return ( - -
  • - - {getLangText('powered by')} - - -
  • -
    +
  • + + {getLangText('powered by')} + + +
  • ); }, @@ -130,7 +126,7 @@ let Header = React.createClass({ }, render() { - const { currentUser, routes } = this.props; + const { currentUser, routes, whitelabel } = this.props; const { unfilteredPieceListCount } = this.state; let account; @@ -211,7 +207,11 @@ let Header = React.createClass({ className="hidden-print">