Skip to content

Commit

Permalink
Update copy and fix link styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison committed Mar 30, 2021
1 parent 473a7bb commit d4ba2ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/ImpactCounter.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ const ImpactCounter = (props) => {
className={classes.dropdownText}
gutterBottom
>
This shows how many treats you've provided to help shelter cats get
adopted. Every tab you open helps. Keep it up!
This shows how many treats your tabs can provide to help shelter
cats get adopted. Every tab you open helps. Keep it up!
</Typography>
</div>
</DashboardPopover>
Expand Down
18 changes: 14 additions & 4 deletions src/components/OnboardingFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import onboarding3 from 'src/assets/onboarding/onboarding3.png'
import PropTypes from 'prop-types'
import Link from 'src/components/Link'

export const useStyles = makeStyles(() => ({
export const useStyles = makeStyles((theme) => ({
card: {
display: 'flex',
width: '400px',
Expand Down Expand Up @@ -43,6 +43,11 @@ export const useStyles = makeStyles(() => ({
justifyContent: 'flex-end',
display: 'flex',
},
link: {
display: 'inline',
color: theme.palette.primary.main,
textDecoration: 'none',
},
}))

export const onboardingStepContents = (classes) => [
Expand Down Expand Up @@ -79,9 +84,14 @@ export const onboardingStepContents = (classes) => [
align="center"
className={classes.childrenTypography}
>
Your tabs will help shelter cats get adopted by
<Link to="https://thejacksongalaxyproject.greatergood.org/about/cat-pawsitive/">
providing treats used in positive reinforcement training.
Your tabs support initiatives that help shelter cats get adopted,
including initiatives that{' '}
<Link
target="_blank"
to="https://thejacksongalaxyproject.greatergood.org/about/cat-pawsitive/"
className={classes.link}
>
use treats in positive reinforcement training.
</Link>
</Typography>
<Typography
Expand Down

0 comments on commit d4ba2ac

Please sign in to comment.