Skip to content

Commit

Permalink
Getting started with GLEIF (part 2) (#619)
Browse files Browse the repository at this point in the history
Close #601

## Changes
#602 (comment)
- Update link target
  • Loading branch information
meissadia authored May 31, 2024
1 parent 76664c2 commit 0048f96
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pages/Filing/FilingHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
WellContent,
} from 'design-system-react';
import type { ReactElement } from 'react';
import { gleifLink, loginGovHomepage } from 'utils/common';
import { gleifGetAnLEI, loginGovHomepage } from 'utils/common';
import './FilingHome.less';
import ProcessStep from './ProcessStep';

Expand Down Expand Up @@ -58,7 +58,7 @@ function Home(): ReactElement {
In order to begin using the platform you must have a Legal Entity
Identifier (LEI) for your financial institution. If your
organization does not have an LEI, visit the{' '}
<Link href={gleifLink}>Global LEI Foundation (GLEIF)</Link>{' '}
<Link href={gleifGetAnLEI}>Global LEI Foundation (GLEIF)</Link>{' '}
website.
</ProcessStep>

Expand Down
5 changes: 3 additions & 2 deletions src/pages/ProfileForm/Step1Form/Step1FormHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FormHeaderWrapper from 'components/FormHeaderWrapper';
import { Link } from 'components/Link';
import { Paragraph, TextIntroduction } from 'design-system-react';
import { gleifLink } from 'utils/common';
import { gleifGetAnLEI } from 'utils/common';

interface Step1FormHeaderProperties {
isStep1: boolean;
Expand All @@ -25,7 +25,8 @@ function Step1FormHeader({ isStep1 }: Step1FormHeaderProperties): JSX.Element {
In order to begin using the platform you must have a Legal Entity
Identifier (LEI) for your financial institution. If your
organization does not have an LEI, visit the{' '}
<Link href={gleifLink}>Global LEI Foundation (GLEIF)</Link> website.
<Link href={gleifGetAnLEI}>Global LEI Foundation (GLEIF)</Link>{' '}
website.
</Paragraph>
}
/>
Expand Down
5 changes: 3 additions & 2 deletions src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ export const sblHelpLink = 'https://sblhelp.consumerfinance.gov/';
// TODO: replace this generic SBL Help link with a specific Salesforce form links
// depending on the page and the form it should route to, see:
// https://github.com/cfpb/sbl-frontend/issues/109
export const gleifLink = 'https://www.gleif.org/';
export const gleifGetAnLEI =
'https://www.gleif.org/en/about-lei/get-an-lei-find-lei-issuing-organizations';
export const loginGovAccountPage = 'https://secure.login.gov/account/';
export const loginGovHomepage = 'https://login.gov/';
export const filingInstructionsPage =
Expand All @@ -17,7 +18,7 @@ export const sblHelpMail =
export const formDelimiter = '-';

export default {
gleifLink,
gleifGetAnLEI,
loginGovAccountPage,
loginGovHomepage,
sblHelpLink,
Expand Down

0 comments on commit 0048f96

Please sign in to comment.