Skip to content

Commit 8678e4c

Browse files
chore(frontend): update links for Compass's end-user terms and privacy policy
1 parent f8ee2a1 commit 8678e4c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frontend-new/src/consent/components/consentPage/Consent.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const Consent: React.FC = () => {
146146
};
147147

148148
const termsAndConditionsLabel = "Terms and Conditions";
149-
const dataProtectionAgreementLabel = "Data Protection Agreement";
149+
const dataProtectionAgreementLabel = "Privacy Policy";
150150

151151
const handleExternalNavigationOnNewTab = (url: string) => {
152152
window.open(url, "_blank", "noopener,noreferrer");
@@ -208,7 +208,7 @@ const Consent: React.FC = () => {
208208
<Typography variant="body2" data-testid={DATA_TEST_ID.ACCEPT_TERMS_AND_CONDITIONS_TEXT}>
209209
I have read and accept the{" "}
210210
<CustomLink
211-
onClick={() => handleExternalNavigationOnNewTab("https://compass.tabiya.org/consent.html")}
211+
onClick={() => handleExternalNavigationOnNewTab("https://www.tabiya.org/compass/terms")}
212212
>
213213
{termsAndConditionsLabel}
214214
</CustomLink>{" "}
@@ -233,7 +233,7 @@ const Consent: React.FC = () => {
233233
<Typography variant="body2" data-testid={DATA_TEST_ID.ACCEPT_CHECKBOX_TEXT}>
234234
I have read and accept the{" "}
235235
<CustomLink
236-
onClick={() => handleExternalNavigationOnNewTab("https://compass.tabiya.org/consent.html")}
236+
onClick={() => handleExternalNavigationOnNewTab("https://www.tabiya.org/compass/privacy")}
237237
>
238238
{dataProtectionAgreementLabel}
239239
</CustomLink>{" "}

frontend-new/src/consent/components/consentPage/__snapshots__/Consent.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ exports[`Testing Consent Page render tests it should show consent screen with bo
308308
data-testid="consent-accept-consent-checkbox-container-1dee3ba4-1853-40c6-aaad-eeeb0e94788d"
309309
>
310310
<input
311-
aria-label="Data Protection Agreement"
311+
aria-label="Privacy Policy"
312312
class="PrivateSwitchBase-input css-1m9pwf3"
313313
data-indeterminate="false"
314314
type="checkbox"
@@ -338,7 +338,7 @@ exports[`Testing Consent Page render tests it should show consent screen with bo
338338
aria-disabled="false"
339339
class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-1vjgeqq-MuiTypography-root-MuiLink-root"
340340
>
341-
Data Protection Agreement
341+
Privacy Policy
342342
</a>
343343
344344
of Compass.

0 commit comments

Comments
 (0)