update Spanish content (#2203)

* update spanish content

- closes #2154

* fix download links

- add how to use communites document in Spanish

* add language toggle on mobile

- update snapshots

* add instruction and memo in spanish

* add translations

* update tutorial links

* update links to es

* remove npm audit

* add survey links to "how you can help"

* change case back to lower case
This commit is contained in:
Vim 2023-06-27 09:42:39 -07:00 committed by GitHub
commit 856e5084db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 3915 additions and 434 deletions

View file

@ -11,7 +11,9 @@ import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
const SurveyButton = () => {
const intl = useIntl();
const href = intl.formatMessage(CONTACT_COPY.PAGE_INTRO.SURVEY_URL);
const href = intl.locale === 'es' ?
`https://www.surveymonkey.com/r/ZH36CYV` :
`https://www.surveymonkey.com/r/P3LWTSB`;
return (
<J40MainGridContainer className={styles.surveyButtonContainer}>