fix(#713): rustat client
parent
0e0f24454e
commit
66a002e834
|
After Width: | Height: | Size: 3.8 KiB |
@ -0,0 +1,53 @@ |
|||||||
|
import { css } from 'styled-components/macro' |
||||||
|
import { |
||||||
|
ClientConfig, |
||||||
|
ClientIds, |
||||||
|
ClientNames, |
||||||
|
} from './types' |
||||||
|
|
||||||
|
export const rustat: ClientConfig = { |
||||||
|
auth: { |
||||||
|
clientId: ClientIds.Rustat, |
||||||
|
}, |
||||||
|
currencyBadge: { |
||||||
|
color: '#333333', |
||||||
|
secondColor: 'rgba(255, 255, 255, 0.7)', |
||||||
|
sign: 'Dollar', |
||||||
|
}, |
||||||
|
defaultLanguage: 'en', |
||||||
|
description: 'Live sports streaming platform. Football, basketball, ice hockey and more. Access to various player playlists and game highlights. Multiple subscription options. Available across all devices.', |
||||||
|
disabledPreferences: true, |
||||||
|
host: 'insports.tv', |
||||||
|
name: ClientNames.Rustat, |
||||||
|
privacyLink: '', |
||||||
|
showSearch: true, |
||||||
|
showSmartBanner: true, |
||||||
|
styles: { |
||||||
|
background: 'background-image: url(/images/Checker.png);', |
||||||
|
homePageHeader: css` |
||||||
|
background: #0B456E; |
||||||
|
`,
|
||||||
|
logo: 'logo-rustat.svg', |
||||||
|
logoHeight: 2.465, |
||||||
|
logoLeft: 1.7, |
||||||
|
logoTop: 1.5, |
||||||
|
logoWidth: 6.37, |
||||||
|
matchLogoHeight: 2.465, |
||||||
|
matchLogoWidth: 6.37, |
||||||
|
matchPageMobileHeaderLogo: css` |
||||||
|
width: 90px; |
||||||
|
height: 27px; |
||||||
|
top: 0; |
||||||
|
`,
|
||||||
|
mobileHeaderLogo: css` |
||||||
|
width: 77px; |
||||||
|
height: 24px; |
||||||
|
`,
|
||||||
|
userAccountLogo: css` |
||||||
|
width: 6.37rem; |
||||||
|
height: 2.465rem; |
||||||
|
`,
|
||||||
|
}, |
||||||
|
termsLink: '', |
||||||
|
title: 'InSports TV - The Home of Sports Streaming', |
||||||
|
} |
||||||
@ -0,0 +1,42 @@ |
|||||||
|
import { css } from 'styled-components' |
||||||
|
|
||||||
|
import { rustat as platformRustat } from 'config/clients/rustat' |
||||||
|
import { isMobileDevice } from 'config/userAgent' |
||||||
|
|
||||||
|
import { Background } from 'features/Background' |
||||||
|
|
||||||
|
import type { ClientConfig } from './types' |
||||||
|
|
||||||
|
export const rustat: ClientConfig = { |
||||||
|
...platformRustat, |
||||||
|
background: Background, |
||||||
|
styles: { |
||||||
|
centerBlock: css` |
||||||
|
margin-top: 9.15rem; |
||||||
|
${isMobileDevice ? css` |
||||||
|
margin-top: 107px; |
||||||
|
@media screen and (orientation: landscape) { |
||||||
|
width: 290px; |
||||||
|
margin: auto; |
||||||
|
} |
||||||
|
` : ''};
|
||||||
|
`,
|
||||||
|
logo: css` |
||||||
|
background-image: url(/images/logo-rustat.svg); |
||||||
|
background-position: center; |
||||||
|
height: 85px; |
||||||
|
width: 275px; |
||||||
|
margin-bottom: 1.82rem; |
||||||
|
|
||||||
|
${isMobileDevice ? css` |
||||||
|
margin-bottom: 15px; |
||||||
|
width: 165px; |
||||||
|
height: 50px; |
||||||
|
@media screen and (orientation: landscape){ |
||||||
|
width: 92px; |
||||||
|
height: 22px; |
||||||
|
} |
||||||
|
` : ''}
|
||||||
|
`,
|
||||||
|
}, |
||||||
|
} |
||||||
Loading…
Reference in new issue