|
|
|
@ -198,14 +198,16 @@ export const BlockTitle = styled(BlockTitleBase)` |
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
type ButtonProps = { |
|
|
|
type ButtonProps = { |
|
|
|
|
|
|
|
active: boolean, |
|
|
|
isHomeTeam: boolean, |
|
|
|
isHomeTeam: boolean, |
|
|
|
like?: boolean, |
|
|
|
like?: boolean, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const Button = styled(ButtonBase) <ButtonProps>` |
|
|
|
export const Button = styled(ButtonBase) <ButtonProps>` |
|
|
|
${({ like }) => ( |
|
|
|
${({ active, like }) => ( |
|
|
|
like ? css` |
|
|
|
like && !active ? css` |
|
|
|
background: url(/images/event-like-bg.png); |
|
|
|
background: url(/images/event-like-bg.png); |
|
|
|
|
|
|
|
background-size: cover; |
|
|
|
` : ''
|
|
|
|
` : ''
|
|
|
|
)} |
|
|
|
)} |
|
|
|
|
|
|
|
|
|
|
|
|