fix(#658): fqtv build
parent
4a53d56881
commit
767d7794c3
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 36 KiB |
@ -0,0 +1,56 @@ |
|||||||
|
import { css } from 'styled-components/macro' |
||||||
|
import { |
||||||
|
ClientConfig, |
||||||
|
ClientIds, |
||||||
|
ClientNames, |
||||||
|
} from './types' |
||||||
|
|
||||||
|
export const fqtv: ClientConfig = { |
||||||
|
auth: { |
||||||
|
clientId: ClientIds.Fqtv, |
||||||
|
}, |
||||||
|
currencyBadge: { |
||||||
|
color: '#333333', |
||||||
|
secondColor: 'rgba(255, 255, 255, 0.7)', |
||||||
|
sign: 'Dollar', |
||||||
|
}, |
||||||
|
defaultLanguage: 'en', |
||||||
|
description: 'Queensland’s streamed competitions, including NPL Men, NPL Women and McDonald\'s FQPL Leagues.', |
||||||
|
disabledPreferences: true, |
||||||
|
name: ClientNames.Fqtv, |
||||||
|
privacyLink: '/privacy-policy-and-statement?client_id=insports-ott-web', |
||||||
|
showSearch: true, |
||||||
|
showSmartBanner: true, |
||||||
|
styles: { |
||||||
|
background: '', |
||||||
|
homePageHeader: css` |
||||||
|
background: linear-gradient(0deg, rgba(0, 13, 47, 0.8), rgba(0, 13, 47, 0.8)),
|
||||||
|
linear-gradient(0deg, #0061DC, #0061DC),
|
||||||
|
no-repeat center center url(/images/fqtv-background.png); |
||||||
|
background-size: 130% 105%; |
||||||
|
background-blend-mode: normal, hard-light, normal; |
||||||
|
`,
|
||||||
|
logo: 'fqtv-logo.svg', |
||||||
|
logoHeight: 2.465, |
||||||
|
logoLeft: 0.71, |
||||||
|
logoTop: 1, |
||||||
|
logoWidth: 6.37, |
||||||
|
matchLogoHeight: 2.465, |
||||||
|
matchLogoWidth: 6.37, |
||||||
|
matchPageMobileHeaderLogo: css` |
||||||
|
width: 90px; |
||||||
|
height: 27px; |
||||||
|
top: 0; |
||||||
|
`,
|
||||||
|
mobileHeaderLogo: css` |
||||||
|
width: 86px; |
||||||
|
height: 33px; |
||||||
|
`,
|
||||||
|
userAccountLogo: css` |
||||||
|
width: 6.37rem; |
||||||
|
height: 2.465rem; |
||||||
|
`,
|
||||||
|
}, |
||||||
|
termsLink: '/terms-and-conditions?client_id=insports-ott-web', |
||||||
|
title: 'FQTV is the official home of Football', |
||||||
|
} |
||||||
@ -0,0 +1,67 @@ |
|||||||
|
import styled, { css } from 'styled-components/macro' |
||||||
|
|
||||||
|
import { fqtv as platformFqtv } from 'config/clients/fqtv' |
||||||
|
import { isMobileDevice } from 'config/userAgent' |
||||||
|
|
||||||
|
import type { ClientConfig } from './types' |
||||||
|
|
||||||
|
const Background = styled.div` |
||||||
|
position: relative; |
||||||
|
width: 100%; |
||||||
|
height: 100vh; |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
background: linear-gradient(0deg, rgba(0, 13, 47, 0.8), rgba(0, 13, 47, 0.8)),
|
||||||
|
linear-gradient(0deg, #0061DC, #0061DC),
|
||||||
|
no-repeat center center url(/images/fqtv-background.png); |
||||||
|
background-size: 130% 105%; |
||||||
|
background-blend-mode: normal, hard-light, normal;
|
||||||
|
` |
||||||
|
|
||||||
|
export const fqtv: ClientConfig = { |
||||||
|
...platformFqtv, |
||||||
|
background: Background, |
||||||
|
styles: { |
||||||
|
centerBlock: css` |
||||||
|
margin-top: 9.15rem; |
||||||
|
${isMobileDevice ? css` |
||||||
|
margin-top: 107px; |
||||||
|
@media screen and (orientation: landscape) { |
||||||
|
width: 290px; |
||||||
|
margin: auto; |
||||||
|
} |
||||||
|
` : ''};
|
||||||
|
`,
|
||||||
|
forgotPasswordInput: css` |
||||||
|
border: none; |
||||||
|
`,
|
||||||
|
input: css` |
||||||
|
background-color: transparent; |
||||||
|
:not(:last-of-type) { |
||||||
|
border-color: ${({ theme }) => theme.colors.white}; |
||||||
|
} |
||||||
|
`,
|
||||||
|
inputGroup: css` |
||||||
|
border: 1px solid ${({ theme }) => theme.colors.white}; |
||||||
|
`,
|
||||||
|
logo: css` |
||||||
|
background-image: url(/images/fqtv-auth-logo.svg); |
||||||
|
background-position: center; |
||||||
|
height: 142px; |
||||||
|
width: 378px; |
||||||
|
margin-bottom: 1.82rem; |
||||||
|
|
||||||
|
${isMobileDevice ? css` |
||||||
|
margin-bottom: 15px; |
||||||
|
width: 200px; |
||||||
|
height: 74px; |
||||||
|
` : ''}
|
||||||
|
`,
|
||||||
|
submitButton: css` |
||||||
|
:disabled { |
||||||
|
background: #FFFFFF; |
||||||
|
color: #00244F; |
||||||
|
} |
||||||
|
`,
|
||||||
|
}, |
||||||
|
} |
||||||
Loading…
Reference in new issue