Update survey links on behalf of lscharen (#2255)

* Update survey links; ref external repo PR #117

* Restore the removed contact page survey link

* Fix testing snapshots

* linter errors

* Update Spanish data survey link

---------

Co-authored-by: Lucas Scharenbroich <lscharen@prowestgis.com>
This commit is contained in:
Vim 2024-02-08 15:27:56 -08:00 committed by GitHub
commit 8712ff53ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 979 additions and 611 deletions

View file

@ -5,6 +5,7 @@ import {Button} from '@trussworks/react-uswds';
import * as styles from './SurveyButton.module.scss';
import * as CONTACT_COPY from '../../data/copy/contact';
import J40MainGridContainer from '../J40MainGridContainer';
import {SITE_SATISFACTION_SURVEY_LINKS} from '../../data/constants';
// @ts-ignore
import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
@ -12,8 +13,8 @@ import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
const SurveyButton = () => {
const intl = useIntl();
const href = intl.locale === 'es' ?
`https://www.surveymonkey.com/r/ZH36CYV` :
`https://www.surveymonkey.com/r/P3LWTSB`;
SITE_SATISFACTION_SURVEY_LINKS.ES :
SITE_SATISFACTION_SURVEY_LINKS.EN;
return (
<J40MainGridContainer className={styles.surveyButtonContainer}>

View file

@ -7,7 +7,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/P3LWTSB"
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer"
target="_blank"
>