mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-16 17:21:39 -07:00
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:
parent
c88df4e26a
commit
8712ff53ec
26 changed files with 979 additions and 611 deletions
|
@ -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}>
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue