|
|
|
|
@ -8,12 +8,15 @@ import type { Match } from 'features/Matches' |
|
|
|
|
import { SportName } from 'features/Common' |
|
|
|
|
import { useMatchSwitchesStore } from 'features/MatchSwitches' |
|
|
|
|
import { useName } from 'features/Name' |
|
|
|
|
import { T9n } from 'features/T9n' |
|
|
|
|
|
|
|
|
|
import { NoAccessMessage } from '../NoAccessMessage' |
|
|
|
|
import { |
|
|
|
|
CardWrapper, |
|
|
|
|
Info, |
|
|
|
|
LiveSign, |
|
|
|
|
MatchDate, |
|
|
|
|
MatchTimeInfo, |
|
|
|
|
Preview, |
|
|
|
|
PreviewWrapper, |
|
|
|
|
Score, |
|
|
|
|
@ -48,6 +51,7 @@ export const CardFrontside = ({ |
|
|
|
|
date, |
|
|
|
|
formattedDate, |
|
|
|
|
hasVideo, |
|
|
|
|
live, |
|
|
|
|
preview, |
|
|
|
|
sportType, |
|
|
|
|
storage, |
|
|
|
|
@ -103,12 +107,19 @@ export const CardFrontside = ({ |
|
|
|
|
} |
|
|
|
|
{!accessibleBySubscription && <BuyMatchBadge />} |
|
|
|
|
{(accessibleBySubscription && !accessibleInUsersCountry) && <NoAccessMessage />} |
|
|
|
|
<MatchDate> |
|
|
|
|
{formattedDate} |
|
|
|
|
{(isInFuture && (!hasVideo || !storage)) |
|
|
|
|
? <Time>{time}</Time> |
|
|
|
|
: null} |
|
|
|
|
</MatchDate> |
|
|
|
|
<MatchTimeInfo> |
|
|
|
|
<MatchDate> |
|
|
|
|
{formattedDate} |
|
|
|
|
{(isInFuture && (!hasVideo || !storage)) |
|
|
|
|
? <Time>{time}</Time> |
|
|
|
|
: null} |
|
|
|
|
</MatchDate> |
|
|
|
|
{live && ( |
|
|
|
|
<LiveSign> |
|
|
|
|
<T9n t='live' /> |
|
|
|
|
</LiveSign> |
|
|
|
|
)} |
|
|
|
|
</MatchTimeInfo> |
|
|
|
|
</PreviewWrapper> |
|
|
|
|
<Info> |
|
|
|
|
{showSportName && <SportName sport={sportType} />} |
|
|
|
|
|