diff --git a/src/App.jsx b/src/App.jsx index 8a44a8c9..9550443e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -136,7 +136,7 @@ class App extends Component { } // this.fieldSelectionDisplayHandle(this.state.gender); - } catch (err) {} + } catch (err) { } /// The following steps is to get clientID from google analytics and save it to cookies const { cookies } = this.props; @@ -340,7 +340,7 @@ class App extends Component { }); }; - + changeGetStartedFormID = () => { this.setState((prevState) => ({ @@ -634,7 +634,7 @@ class App extends Component { fontSize: '14pt', lineHeight: '115%', fontFamily: 'Calibri Light, sans-serif', - fontWeight: 'bold', + fontWeight: 'bold', margin: '10px 0', color: '#1b55a4' }; @@ -688,7 +688,7 @@ class App extends Component { if (this.state.instructionIsOpen) { //Transgender Instruction modal instructionModal = [ - +
+ __html: DOMPurify.sanitize( + this.state.lang.websiteSecurityText2 + ), + }}>
{this.state.lang.rightsAndOwnershipHeading}
-
{this.state.lang.rightsAndOwnershipText1}

-
{this.state.lang.rightsAndOwnershipText2}
+
{this.state.lang.rightsAndOwnershipText2}

-
{this.state.lang.rightsAndOwnershipText3}
+
{this.state.lang.rightsAndOwnershipText3}

-
{this.state.lang.rightsAndOwnershipText4}
+
{this.state.lang.rightsAndOwnershipText4}

{this.state.lang.rightsAndOwnershipText5}

{this.state.lang.rightsAndOwnershipText6}

-
{this.state.lang.rightsAndOwnershipText7}
+
{this.state.lang.rightsAndOwnershipText7}
-
{this.state.lang.noRelianceText1}
+
{this.state.lang.noRelianceText1}

-
{this.state.lang.noRelianceText2}
+
{this.state.lang.noRelianceText2}

-
{this.state.lang.noRelianceText3}
+
{this.state.lang.noRelianceText3}
{this.state.lang.entireAgreementText}
-

-
{this.state.lang.dateofAgreement}
+

+
{this.state.lang.dateofAgreement}

@@ -942,7 +942,7 @@ class App extends Component { , ]; - + } } else if (this.state.getStartedFormID === 1) { @@ -966,36 +966,51 @@ class App extends Component { onClick={this.changeGetStartedFormID} /> - -
- {this.state.lang.instruction_modal_header} -
- -
+
+ {this.state.lang.instruction_modal_header}
+
+ -
- - {/*select age*/} -
-
-
- {this.state.lang.age_selector} - - {/* +
+ {this.state.lang.header_description} +
+ + {/*select age*/} +
+ +
+ {this.state.lang.age_selector} + + {/* ))} */} - -
- -
- {/*select gender*/} -
-
-
- {this.state.lang.gender_selector} - {/* this is the original button, works fine + +
+ +
+ {/*select gender*/} +
+
+
+ {this.state.lang.gender_selector} + {/* this is the original button, works fine but i have applied css zindex and positioned it over other div which is trick that doesnt aligns with screen size */} - {/* this button is crack takes me to the landing page */} - -
-
- - - - - -
+ {/* this button is crack takes me to the landing page */} + +
+
+ + + - {/*
+ + {/* */} - {/*this.state.user === 'provider' || null ? + {/*this.state.user === 'provider' || null ? () : () */} +
+ {/* {Are you a Transgender} */} + {/* {Are you a Transgender} */} +
+
+ {this.state.lang.Tgender_selector} +
- {/* {Are you a Transgender} */} - {/* {Are you a Transgender} */} -
-
- {this.state.lang.Tgender_selector} - -
-
- - - -
+
+ +
- - - {/*Field selection based on gender*/} - {/*select user*/} + +
+ + + {/*Field selection based on gender*/} + {/*select user*/}

{this.state.lang.user_selector}

@@ -1191,22 +1206,22 @@ class App extends Component {
-
- -
- +
+
+
-
, +
+ , ]; } @@ -1551,23 +1566,38 @@ class App extends Component { + onClick={() => this.setState({ configurationIsOpen: !this.state.configurationIsOpen, }) } /> - -
- {this.state.lang.configuration_header} -
-
+ +
+ {this.state.lang.instruction_modal_header} +
+
-
- +
+
+ {this.state.lang.header_description} +
+ {/*select age*/}
@@ -1621,37 +1651,37 @@ class App extends Component {
- - -
+ + +
{/* -
+