mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 04:44:18 -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
|
@ -13,7 +13,7 @@ import SubPageNav from '../components/SubPageNav';
|
|||
|
||||
import * as ABOUT_COPY from '../data/copy/about';
|
||||
import {FEEDBACK_EMAIL} from '../data/copy/common';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
import accountBalanceIcon // @ts-ignore
|
||||
from '/node_modules/uswds/dist/img/usa-icons/account_balance.svg';
|
||||
|
@ -46,7 +46,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,6 +9,7 @@ import DatasetsButton from '../components/DatasetsButton';
|
|||
|
||||
import * as CONTACT_COPY from '../data/copy/contact';
|
||||
import {FEEDBACK_EMAIL} from '../data/copy/common';
|
||||
import {DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
interface IContactPageProps {
|
||||
location: Location;
|
||||
|
@ -24,7 +25,7 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap={6}>
|
||||
|
@ -34,6 +35,7 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
<h2>
|
||||
{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)}
|
||||
</h2>
|
||||
<p>{CONTACT_COPY.CENSUS_TRACT_FEEDBACK.PARAGRAPH3}</p>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
id={'contact.page.general'}
|
||||
|
|
|
@ -10,7 +10,7 @@ import ReleaseUpdate from '../components/ReleaseUpdate';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import * as DOWNLOADS_COPY from '../data/copy/downloads';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
interface IDownloadsPageProps {
|
||||
location: Location;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ const DownloadsPage = ({location}: IDownloadsPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,7 +9,7 @@ import Layout from '../components/layout';
|
|||
import DatasetsButton from '../components/DatasetsButton';
|
||||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import {USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import * as FAQS_COPY from '../data/copy/faqs';
|
||||
import {PAGES_ENDPOINTS} from '../data/constants';
|
||||
import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore';
|
||||
|
@ -237,7 +237,7 @@ const FAQPage = ({location}: IFAQPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(FAQS_COPY.PAGE_INTRO.PAGE_TILE)}</h1>
|
||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,6 +9,7 @@ import Layout from '../components/layout';
|
|||
import DatasetsButton from '../components/DatasetsButton';
|
||||
|
||||
import * as EXPLORE_COPY from '../data/copy/explore';
|
||||
import {DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
interface IMapPageProps {
|
||||
location: Location;
|
||||
|
@ -26,7 +27,7 @@ const ExporeToolPage = ({location}: IMapPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -10,7 +10,7 @@ import Layout from '../components/layout';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
import DatasetsButton from '../components/DatasetsButton';
|
||||
|
||||
import {USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import * as METHODOLOGY_COPY from '../data/copy/methodology';
|
||||
import {PAGES_ENDPOINTS} from '../data/constants';
|
||||
|
||||
|
@ -29,7 +29,7 @@ const IndexPage = ({location}: MethodPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mt3'}>
|
||||
|
|
|
@ -10,7 +10,7 @@ import DatasetsButton from '../components/DatasetsButton';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import * as PREV_VER_COPY from '../data/copy/previousVer';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import {getDownloadFileUrl} from '../data/copy/downloads';
|
||||
|
||||
interface IPreviousVersionsProps {
|
||||
|
@ -33,7 +33,7 @@ const PreviousVersions = ({location}: IPreviousVersionsProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -405,7 +405,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
About
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -847,7 +847,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -860,7 +860,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1097,7 +1097,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Contact
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -432,6 +432,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Contact us
|
||||
</h2>
|
||||
<p>
|
||||
|
||||
The best way to contact the Council on Environmental Quality (CEQ) is by filling out
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_cCNgWW4OsfaBlTo"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
this form
|
||||
</a>
|
||||
.
|
||||
|
||||
</p>
|
||||
<p>
|
||||
Email CEQ at:
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
|
@ -661,7 +676,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Downloads
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -976,7 +976,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Frequently asked questions
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1059,7 +1059,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1510,7 +1510,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Methodology
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="grid"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -3357,7 +3357,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -1417,7 +1417,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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"
|
||||
>
|
||||
|
|
|
@ -616,7 +616,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
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