Skip to content

Commit

Permalink
Add Widget.Topic in Widget component
Browse files Browse the repository at this point in the history
  • Loading branch information
TheeDouglasAM3 committed Jan 28, 2021
1 parent be60c94 commit fbe2388
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/Widget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,22 @@ Widget.Content = styled.div`
}
`

Widget.Topic = styled.a`
outline: 0;
text-decoration: none;
color: ${({ theme }) => theme.colors.contrastText};
background-color: ${({ theme }) => `${theme.colors.primary}40`};
padding: 10px 15px;
margin-bottom: 8px;
cursor: pointer;
border-radius: ${({ theme }) => theme.borderRadius};
transition: .3s;
display: block;
&:hover,
&:focus {
opacity: .5;
}
`

export default Widget

2 comments on commit fbe2388

@vercel
Copy link

@vercel vercel bot commented on fbe2388 Jan 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on fbe2388 Jan 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pato-quiz – ./

pato-quiz-git-master.theedouglasam.vercel.app
pato-quiz.vercel.app
pato-quiz.theedouglasam.vercel.app

Please sign in to comment.