Skip to content

Commit

Permalink
Change the pin icon from boomark to pin
Browse files Browse the repository at this point in the history
The feature is pinning, not bookmarking
  • Loading branch information
rikurauhala committed May 7, 2024
1 parent 1ea432d commit 6374a99
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ const StudyProgrammeLink = ({ linkText, programmeCode }) => (
)

const PinButton = ({ onClick, pinned, programmeCode }) => {
const black = '#303030'
const grey = '#c4c4c4'

return (
<Button
icon
Expand All @@ -44,7 +47,7 @@ const PinButton = ({ onClick, pinned, programmeCode }) => {
}}
style={{ background: 'none', padding: '5px' }}
>
<Icon name={pinned ? 'bookmark' : 'bookmark outline'} />
<Icon name="pin" style={{ color: pinned ? black : grey }} />
</Button>
)
}
Expand Down

0 comments on commit 6374a99

Please sign in to comment.