mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-30 06:11:18 -07:00
remove whitehouse link from footer
This commit is contained in:
parent
30296b1264
commit
5ec0d228f7
9 changed files with 4 additions and 116 deletions
|
@ -1,10 +1,10 @@
|
|||
import React from 'react';
|
||||
import {
|
||||
Address,
|
||||
Logo,
|
||||
NavList,
|
||||
} from '@trussworks/react-uswds';
|
||||
import {NavList} from '@trussworks/react-uswds';
|
||||
import {useIntl} from 'gatsby-plugin-intl';
|
||||
import React from 'react';
|
||||
|
||||
import {hyphenizeString} from '../../../cypress/integration/common/helpers';
|
||||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
|
@ -12,9 +12,9 @@ import LinkTypeWrapper from '../LinkTypeWrapper';
|
|||
import SurveyButton from '../SurveyButton';
|
||||
|
||||
// @ts-ignore
|
||||
import whitehouseIcon from '../../images/eop-seal.svg';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import {GITHUB_LINK, GITHUB_LINK_ES} from '../../constants';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import whitehouseIcon from '../../images/eop-seal.svg';
|
||||
|
||||
const J40Footer = () => {
|
||||
const intl = useIntl();
|
||||
|
@ -46,14 +46,6 @@ const J40Footer = () => {
|
|||
intl.formatMessage(COMMON_COPY.FOOTER.MORE_INFO),
|
||||
<LinkTypeWrapper
|
||||
className={'footer-link-first-child'}
|
||||
linkText={intl.formatMessage(COMMON_COPY.FOOTER.WHITEHOUSE)}
|
||||
internal={false}
|
||||
url={intl.formatMessage(COMMON_COPY.FOOTER.WHITEHOUSE_LINK)}
|
||||
openUrlNewTab={true}
|
||||
key={'whitehouselink2'}
|
||||
dataCy={hyphenizeString(COMMON_COPY.FOOTER.WHITEHOUSE.defaultMessage)}
|
||||
/>,
|
||||
<LinkTypeWrapper
|
||||
linkText={intl.formatMessage(COMMON_COPY.FOOTER.FOIA)}
|
||||
internal={false}
|
||||
url={'https://www.whitehouse.gov/ceq/foia'}
|
||||
|
|
|
@ -93,19 +93,6 @@ exports[`J40Footer renders correctly 1`] = `
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -974,19 +974,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -553,19 +553,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -853,19 +853,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -1227,19 +1227,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -3215,19 +3215,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -1294,19 +1294,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
|
@ -493,19 +493,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
>
|
||||
<a
|
||||
class="usa-link usa-link--external footer-link-first-child"
|
||||
data-cy="whitehouse-gov"
|
||||
href="https://www.whitehouse.gov/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
Whitehouse.gov
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
class="usa-footer__secondary-link"
|
||||
>
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy="freedom-of-information-act-(foia)"
|
||||
href="https://www.whitehouse.gov/ceq/foia"
|
||||
rel="noreferrer"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue