diff --git a/src/components/DashboardPage/index.js b/src/components/DashboardPage/index.js index a9ba5ec8..d23db34e 100644 --- a/src/components/DashboardPage/index.js +++ b/src/components/DashboardPage/index.js @@ -3,7 +3,7 @@ import React, { PureComponent, Fragment } from 'react' import uniq from 'lodash/uniq' import { compose } from 'redux' -import IconExternalLink from 'icons/ExternalLink' +import IconNanoX from 'icons/device/NanoX' import { translate } from 'react-i18next' import { connect } from 'react-redux' import { push } from 'react-router-redux' @@ -94,12 +94,13 @@ class DashboardPage extends PureComponent { openURL(urls.nanoX)}>{t('common.learnMore')} ), }} - bannerId={'promoteMobile'} + status={'dark'} + bannerId={'promoteMobile2'} dismissable /> diff --git a/src/components/TopBanner.js b/src/components/TopBanner.js index 0dd0ca6d..bad4c141 100644 --- a/src/components/TopBanner.js +++ b/src/components/TopBanner.js @@ -65,7 +65,7 @@ class TopBanner extends PureComponent { {right} {dismissable && ( - + )} @@ -86,6 +86,7 @@ const IconContainer = styled.div` const colorForStatus = { error: 'alertRed', + dark: '#142533', } const Container = styled(Box).attrs({ @@ -120,10 +121,10 @@ const CloseContainer = styled(Box).attrs({ margin-left: 10px; cursor: pointer; &:hover { - color: ${p => p.theme.colors.graphite}; + color: #eee; } &:active { - color: ${p => p.theme.colors.graphite}; + color: #eee; } ` diff --git a/src/icons/device/NanoX.js b/src/icons/device/NanoX.js new file mode 100644 index 00000000..f72d05a4 --- /dev/null +++ b/src/icons/device/NanoX.js @@ -0,0 +1,30 @@ +// @flow + +import React from 'react' + +export default ({ size = 30, ...p }: { size: number }) => ( + + + + + + + + + + + + + + + + + +) diff --git a/src/icons/device/index.js b/src/icons/device/index.js index b8802bf8..f5282739 100644 --- a/src/icons/device/index.js +++ b/src/icons/device/index.js @@ -1,2 +1,3 @@ export Blue from './Blue' export NanoS from './NanoS' +export NanoX from './NanoX'