diff --git a/src/config/clients/facr.tsx b/src/config/clients/facr.tsx index 9ce80f1d..ad53a0d7 100644 --- a/src/config/clients/facr.tsx +++ b/src/config/clients/facr.tsx @@ -25,7 +25,7 @@ export const facr: ClientConfig = { description: 'Live sports streaming platform. All matches playing under the auspices of Czech Republic FA. Access to full matches, various player playlists, and highlights. Free access in the Czech Republic. Available across all devices', disabledPreferences: false, name: ClientNames.Facr, - privacyLink: '/terms-and-conditions?client_id=facr-ott-web', + privacyLink: '/privacy-policy-and-statement', requests: { [PROCEDURES.get_matches]: params, [PROCEDURES.get_team_matches]: params, @@ -47,5 +47,6 @@ export const facr: ClientConfig = { matchLogoTopMargin: 0.9, matchLogoWidth: 3.4, }, + termsLink: '/terms-and-conditions?client_id=facr-ott-web', title: 'FACR.TV - The home of Czech football streaming', } diff --git a/src/config/clients/instat.tsx b/src/config/clients/instat.tsx index 5208d5bc..61ee0f17 100644 --- a/src/config/clients/instat.tsx +++ b/src/config/clients/instat.tsx @@ -12,7 +12,7 @@ export const instat: ClientConfig = { 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, name: ClientNames.Instat, - privacyLink: '/terms-and-conditions?client_id=ott-web', + privacyLink: '/privacy-policy-and-statement', showSearch: true, styles: { background: 'background-image: url(/images/Checker.png);', @@ -24,5 +24,6 @@ export const instat: ClientConfig = { matchLogoHeight: 1.465, matchLogoWidth: 6.37, }, + termsLink: '/terms-and-conditions', title: 'InStat TV - The Home of Sports Streaming', } diff --git a/src/config/clients/types.tsx b/src/config/clients/types.tsx index c0694a4e..60978160 100644 --- a/src/config/clients/types.tsx +++ b/src/config/clients/types.tsx @@ -40,5 +40,6 @@ export type ClientConfig = { matchLogoTopMargin?: number, matchLogoWidth?: number, }, + termsLink: string, title: string, } diff --git a/src/features/AuthServiceApp/components/Registration/index.tsx b/src/features/AuthServiceApp/components/Registration/index.tsx index 15a6594c..7f883aa6 100644 --- a/src/features/AuthServiceApp/components/Registration/index.tsx +++ b/src/features/AuthServiceApp/components/Registration/index.tsx @@ -89,8 +89,12 @@ const Registration = () => { label={( )} @@ -101,9 +105,6 @@ const Registration = () => { label={( )} /> diff --git a/src/features/AuthServiceApp/config/clients/types.tsx b/src/features/AuthServiceApp/config/clients/types.tsx index ee54c497..d45498ab 100644 --- a/src/features/AuthServiceApp/config/clients/types.tsx +++ b/src/features/AuthServiceApp/config/clients/types.tsx @@ -22,5 +22,6 @@ export type ClientConfig = { logo: StyledCss, submitButton?: StyledCss, }, + termsLink: string, title: string, } diff --git a/src/features/AuthServiceApp/config/lexics.tsx b/src/features/AuthServiceApp/config/lexics.tsx index 127c8fb7..ea51c171 100644 --- a/src/features/AuthServiceApp/config/lexics.tsx +++ b/src/features/AuthServiceApp/config/lexics.tsx @@ -1,6 +1,7 @@ export const lexics = { accept_cookies: 17203, accept_privacy: 17202, + and: 17878, change_password: 13442, check_email: 15907, check_password: 15842, @@ -32,6 +33,7 @@ export const lexics = { login: 13404, password_new: 15056, password_repeat: 15057, + privacy_policy_and_statement: 15404, recovery_email: 15833, register: 13328, registration_email: 16239, diff --git a/src/features/Common/Checkbox/Icon.tsx b/src/features/Common/Checkbox/Icon.tsx index 57f9c825..d02a0d32 100644 --- a/src/features/Common/Checkbox/Icon.tsx +++ b/src/features/Common/Checkbox/Icon.tsx @@ -10,7 +10,7 @@ export const svgColorStyles = css` export const CheckboxSvg = styled.svg` margin-right: 22px; - align-self: flex-start; + align-self: auto; ${svgColorStyles} ` diff --git a/src/features/Common/Checkbox/styled.tsx b/src/features/Common/Checkbox/styled.tsx index 9024b9a6..891925df 100644 --- a/src/features/Common/Checkbox/styled.tsx +++ b/src/features/Common/Checkbox/styled.tsx @@ -1,6 +1,8 @@ import styled from 'styled-components/macro' export const Wrapper = styled.span.attrs(() => ({ + alignItems: 'center', + display: 'flex', role: 'checkbox', tabIndex: 0, }))`` diff --git a/src/features/UserAccount/components/PersonalInfoForm/index.tsx b/src/features/UserAccount/components/PersonalInfoForm/index.tsx index 646c73ef..3693b3d8 100644 --- a/src/features/UserAccount/components/PersonalInfoForm/index.tsx +++ b/src/features/UserAccount/components/PersonalInfoForm/index.tsx @@ -113,7 +113,7 @@ export const PersonalInfoForm = (props: Props) => {