From d10f14ebf96bb4ddacc41de08bc0176b2cd1fac6 Mon Sep 17 00:00:00 2001 From: Paul Dempsey <76729591+paul-daniel-dempsey@users.noreply.github.com> Date: Fri, 7 Feb 2025 17:05:41 +0000 Subject: [PATCH 1/4] feat: TsCs Footer proceeds copy update --- .../components/paymentTsAndCs.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx b/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx index 354aa0d641..9a9254251d 100644 --- a/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx +++ b/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx @@ -109,10 +109,13 @@ function TsAndCsRenewal({ export function TsAndCsFooterLinks({ countryGroupId, amountIsAboveThreshold, + productKey, }: { countryGroupId: CountryGroupId; amountIsAboveThreshold?: boolean; + productKey?: ActiveProductKey; }) { + const inAdLite = productKey === 'GuardianAdLite'; const privacy = Privacy Policy; const termsContributions = ( @@ -121,11 +124,15 @@ export function TsAndCsFooterLinks({ const terms = amountIsAboveThreshold ? termsSupporterPlus('Terms and Conditions') + : inAdLite + ? termsGuardianAdLite('Terms') : termsContributions; + const productNameSummary = inAdLite ? ' the Guardian Ad-Lite ' : ' our '; return (
To find out what personal data we collect and how we use it, please
visit our {privacy}.
@@ -214,11 +221,15 @@ export function PaymentTsAndCs({
);
}
- const copyBelowThreshold = (countryGroupId: CountryGroupId) => {
+ const copyBelowThreshold = (
+ countryGroupId: CountryGroupId,
+ productKey: ActiveProductKey,
+ ) => {
return (
To find out what personal data we collect and how we use it, please visit our {privacy}. From 2aae9fe84e92dad956665c9cc3a1b1242dc52d21 Mon Sep 17 00:00:00 2001 From: Paul Dempsey <76729591+paul-daniel-dempsey@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:53:55 +0000 Subject: [PATCH 4/4] merge correction --- .../pages/supporter-plus-landing/components/paymentTsAndCs.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx b/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx index 389f4bb472..677c2d22b5 100644 --- a/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx +++ b/support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx @@ -294,7 +294,8 @@ export function PaymentTsAndCs({ {inAllAccessDigital && copyAboveThreshold(contributionType, productKey, promotion)} {inAdLite && copyAdLite(contributionType, productKey)} - {(inSupport || inAdLite) && copyBelowThreshold(countryGroupId)} + {(inSupport || inAdLite) && + copyBelowThreshold(countryGroupId, productKey)} {inDigitalEdition && copyDigitalEdition()}