Skip to content

Commit 2040408

Browse files
authored
Merge pull request #52205 from Expensify/cole_terms_urls
Replace terms URLs and match with olddot
2 parents 2ef91b8 + 7b8619f commit 2040408

File tree

6 files changed

+19
-18
lines changed

6 files changed

+19
-18
lines changed

docs/_includes/footer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ <h3>Resources</h3>
5050
<a href="https://help.expensify.com/" alt="ExpensifyHelp" target="_blank">ExpensifyHelp</a>
5151
</li>
5252
<li>
53-
<a href="https://community.expensify.com/" alt="Community" target="_blank">Community</a>
53+
<a href="https://www.expensify.com/terms" alt="Terms" target="_blank">Terms of Service</a>
5454
</li>
5555
<li>
56-
<a href="https://use.expensify.com/privacy" alt="Privacy" target="_blank">Privacy</a>
56+
<a href="https://www.expensify.com/privacy" alt="Privacy" target="_blank">Privacy</a>
5757
</li>
5858
</ul>
5959
</div>

help/_layouts/default.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
.footer-column {
215215
flex: 1;
216216
max-width: 300px; /* Set a max-width for each column */
217-
padding: 0 20px; /* Add padding for some space between the columns */
217+
padding: 0 20px; /* Add padding for some space between the columns */
218218
}
219219
</style>
220220
</head>
@@ -273,8 +273,8 @@ <h3>Resources</h3>
273273
<li><a href="https://use.expensify.com/press-kit">Press Kit</a></li>
274274
<li><a href="https://use.expensify.com/support">Support</a></li>
275275
<li><a href="https://help.expensify.com/">ExpensifyHelp</a></li>
276-
<li><a href="https://community.expensify.com/">Community</a></li>
277-
<li><a href="https://use.expensify.com/privacy">Privacy</a></li>
276+
<li><a href="https://www.expensify.com/terms">Terms of Service</a></li>
277+
<li><a href="https://www.expensify.com/privacy">Privacy</a></li>
278278
<li><a href="https://use.expensify.com/download">Expensify App</a></li>
279279
</ul>
280280
</div>

src/CONST.ts

+10-9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const CLOUDFRONT_DOMAIN = 'cloudfront.net';
2020
const CLOUDFRONT_URL = `https://d2k5nsl2zxldvw.${CLOUDFRONT_DOMAIN}`;
2121
const ACTIVE_EXPENSIFY_URL = Url.addTrailingForwardSlash(Config?.NEW_EXPENSIFY_URL ?? 'https://new.expensify.com');
2222
const USE_EXPENSIFY_URL = 'https://use.expensify.com';
23+
const EXPENSIFY_URL = 'https://www.expensify.com';
2324
const PLATFORM_OS_MACOS = 'Mac OS';
2425
const PLATFORM_IOS = 'iOS';
2526
const ANDROID_PACKAGE_NAME = 'com.expensify.chat';
@@ -832,6 +833,7 @@ const CONST = {
832833
EMPTY_ARRAY,
833834
EMPTY_OBJECT,
834835
USE_EXPENSIFY_URL,
836+
EXPENSIFY_URL,
835837
GOOGLE_MEET_URL_ANDROID: 'https://meet.google.com',
836838
GOOGLE_DOC_IMAGE_LINK_MATCH: 'googleusercontent.com',
837839
IMAGE_BASE64_MATCH: 'base64',
@@ -846,12 +848,12 @@ const CONST = {
846848
DEEP_DIVE_ERECEIPTS: 'https://community.expensify.com/discussion/5542/deep-dive-what-are-ereceipts/',
847849
DEEP_DIVE_PER_DIEM: 'https://community.expensify.com/discussion/4772/how-to-add-a-single-rate-per-diem',
848850
GITHUB_URL: 'https://github.com/Expensify/App',
849-
TERMS_URL: `${USE_EXPENSIFY_URL}/terms`,
850-
PRIVACY_URL: `${USE_EXPENSIFY_URL}/privacy`,
851+
TERMS_URL: `${EXPENSIFY_URL}/terms`,
852+
PRIVACY_URL: `${EXPENSIFY_URL}/privacy`,
851853
LICENSES_URL: `${USE_EXPENSIFY_URL}/licenses`,
852-
ACH_TERMS_URL: `${USE_EXPENSIFY_URL}/achterms`,
853-
WALLET_AGREEMENT_URL: `${USE_EXPENSIFY_URL}/walletagreement`,
854-
BANCORP_WALLET_AGREEMENT_URL: `${USE_EXPENSIFY_URL}/bancorp-bank-wallet-terms-of-service`,
854+
ACH_TERMS_URL: `${EXPENSIFY_URL}/achterms`,
855+
WALLET_AGREEMENT_URL: `${EXPENSIFY_URL}/expensify-payments-wallet-terms-of-service`,
856+
BANCORP_WALLET_AGREEMENT_URL: `${EXPENSIFY_URL}/bancorp-bank-wallet-terms-of-service`,
855857
HELP_LINK_URL: `${USE_EXPENSIFY_URL}/usa-patriot-act`,
856858
ELECTRONIC_DISCLOSURES_URL: `${USE_EXPENSIFY_URL}/esignagreement`,
857859
GITHUB_RELEASE_URL: 'https://api.github.com/repos/expensify/app/releases/latest',
@@ -864,15 +866,14 @@ const CONST = {
864866
NEWHELP_URL: 'https://help.expensify.com',
865867
INTERNAL_DEV_EXPENSIFY_URL: 'https://www.expensify.com.dev',
866868
STAGING_EXPENSIFY_URL: 'https://staging.expensify.com',
867-
EXPENSIFY_URL: 'https://www.expensify.com',
868869
BANK_ACCOUNT_PERSONAL_DOCUMENTATION_INFO_URL:
869870
'https://community.expensify.com/discussion/6983/faq-why-do-i-need-to-provide-personal-documentation-when-setting-up-updating-my-bank-account',
870871
PERSONAL_DATA_PROTECTION_INFO_URL: 'https://community.expensify.com/discussion/5677/deep-dive-security-how-expensify-protects-your-information',
871872
ONFIDO_FACIAL_SCAN_POLICY_URL: 'https://onfido.com/facial-scan-policy-and-release/',
872873
ONFIDO_PRIVACY_POLICY_URL: 'https://onfido.com/privacy/',
873874
ONFIDO_TERMS_OF_SERVICE_URL: 'https://onfido.com/terms-of-service/',
874875
LIST_OF_RESTRICTED_BUSINESSES: 'https://community.expensify.com/discussion/6191/list-of-restricted-businesses',
875-
TRAVEL_TERMS_URL: `${USE_EXPENSIFY_URL}/travelterms`,
876+
TRAVEL_TERMS_URL: `${EXPENSIFY_URL}/travelterms`,
876877
EXPENSIFY_PACKAGE_FOR_SAGE_INTACCT: 'https://www.expensify.com/tools/integrations/downloadPackage',
877878
EXPENSIFY_PACKAGE_FOR_SAGE_INTACCT_FILE_NAME: 'ExpensifyPackageForSageIntacct',
878879
SAGE_INTACCT_INSTRUCTIONS: 'https://help.expensify.com/articles/expensify-classic/integrations/accounting-integrations/Sage-Intacct',
@@ -3142,8 +3143,8 @@ const CONST = {
31423143
EXPENSIFY_APPROVED_URL: `${USE_EXPENSIFY_URL}/accountants`,
31433144
PRESS_KIT_URL: 'https://we.are.expensify.com/press-kit',
31443145
SUPPORT_URL: `${USE_EXPENSIFY_URL}/support`,
3145-
COMMUNITY_URL: 'https://community.expensify.com/',
3146-
PRIVACY_URL: `${USE_EXPENSIFY_URL}/privacy`,
3146+
TERMS_URL: `${EXPENSIFY_URL}/terms`,
3147+
PRIVACY_URL: `${EXPENSIFY_URL}/privacy`,
31473148
ABOUT_URL: 'https://we.are.expensify.com/how-we-got-here',
31483149
BLOG_URL: 'https://blog.expensify.com/',
31493150
JOBS_URL: 'https://we.are.expensify.com/apply',

src/languages/en.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4596,7 +4596,7 @@ const translations = {
45964596
pressKit: 'Press Kit',
45974597
support: 'Support',
45984598
expensifyHelp: 'ExpensifyHelp',
4599-
community: 'Community',
4599+
terms: 'Terms of Service',
46004600
privacy: 'Privacy',
46014601
learnMore: 'Learn More',
46024602
aboutExpensify: 'About Expensify',

src/languages/es.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4645,7 +4645,7 @@ const translations = {
46454645
pressKit: 'Kit de Prensa',
46464646
support: 'Soporte',
46474647
expensifyHelp: 'ExpensifyHelp',
4648-
community: 'Comunidad',
4648+
terms: 'Términos de Servicio',
46494649
privacy: 'Privacidad',
46504650
learnMore: 'Más Información',
46514651
aboutExpensify: 'Acerca de Expensify',

src/pages/signin/SignInPageLayout/Footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ const columns = ({navigateFocus = () => {}}: Pick<FooterProps, 'navigateFocus'>)
9393
translationPath: 'footer.expensifyHelp',
9494
},
9595
{
96-
href: CONST.FOOTER.COMMUNITY_URL,
97-
translationPath: 'footer.community',
96+
href: CONST.FOOTER.TERMS_URL,
97+
translationPath: 'footer.terms',
9898
},
9999
{
100100
href: CONST.FOOTER.PRIVACY_URL,

0 commit comments

Comments
 (0)