Browse Source

add blue hover to learn more links onboarding analytics

master
Anastasia Poupeney 7 years ago
parent
commit
814c27d69d
  1. 45
      src/components/Onboarding/steps/Analytics.js

45
src/components/Onboarding/steps/Analytics.js

@ -77,15 +77,17 @@ class Analytics extends PureComponent<StepProps, State> {
<Box>
<Box horizontal mb={1}>
<AnalyticsTitle>{t('onboarding:analytics.technicalData.title')}</AnalyticsTitle>
<FakeLink
underline
fontSize={3}
color="smoke"
ml={2}
onClick={this.handleTechnicalDataModal}
>
{t('app:common.learnMore')}
</FakeLink>
<LearnMoreWrapper>
<FakeLink
underline
fontSize={3}
color="smoke"
ml={2}
onClick={this.handleTechnicalDataModal}
>
{t('app:common.learnMore')}
</FakeLink>
</LearnMoreWrapper>
</Box>
<TechnicalData />
<AnalyticsText>{t('onboarding:analytics.technicalData.desc')}</AnalyticsText>
@ -101,15 +103,17 @@ class Analytics extends PureComponent<StepProps, State> {
<Box>
<Box horizontal mb={1}>
<AnalyticsTitle>{t('onboarding:analytics.shareAnalytics.title')}</AnalyticsTitle>
<FakeLink
style={{ textDecoration: 'underline' }}
fontSize={3}
color="smoke"
ml={2}
onClick={this.handleShareAnalyticsModal}
>
{t('app:common.learnMore')}
</FakeLink>
<LearnMoreWrapper>
<FakeLink
style={{ textDecoration: 'underline' }}
fontSize={3}
color="smoke"
ml={2}
onClick={this.handleShareAnalyticsModal}
>
{t('app:common.learnMore')}
</FakeLink>
</LearnMoreWrapper>
<ShareAnalytics />
</Box>
<AnalyticsText>{t('onboarding:analytics.shareAnalytics.desc')}</AnalyticsText>
@ -192,3 +196,8 @@ const Container = styled(Box).attrs({
width: 550px;
justify-content: space-between;
`
const LearnMoreWrapper = styled(Box).attrs({})`
${FakeLink}:hover {
color: ${p => p.theme.colors.wallet};
}
`

Loading…
Cancel
Save