|
|
|
|
@ -3,6 +3,7 @@ import React, { useCallback } from 'react' |
|
|
|
|
|
|
|
|
|
import styled from 'styled-components/macro' |
|
|
|
|
import format from 'date-fns/format' |
|
|
|
|
import { devices } from 'config/devices' |
|
|
|
|
|
|
|
|
|
import type { Match } from 'features/Matches' |
|
|
|
|
import { getSportColor, handleImageError } from 'helpers' |
|
|
|
|
@ -21,6 +22,7 @@ import { |
|
|
|
|
} from '../styled' |
|
|
|
|
|
|
|
|
|
const MatchStatus = styled(CommonMatchStatus)` |
|
|
|
|
top: 20px; |
|
|
|
|
color: rgba(255, 255, 255, 0.3); |
|
|
|
|
border: 1px solid currentColor; |
|
|
|
|
` |
|
|
|
|
@ -32,6 +34,11 @@ const CardWrapper = styled(CommonCardWrapper)` |
|
|
|
|
const TeamLogos = styled.div` |
|
|
|
|
display: flex; |
|
|
|
|
padding-left: 24px; |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
justify-content: space-between; |
|
|
|
|
padding-right: 20px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
const TeamLogo = styled.img` |
|
|
|
|
@ -40,6 +47,11 @@ const TeamLogo = styled.img` |
|
|
|
|
:last-child { |
|
|
|
|
margin-left: 8px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
width: 134px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
const TeamName = styled(CommonTeamName)` |
|
|
|
|
|