mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
Embed surveymonkey form
This commit is contained in:
parent
54bdda0f02
commit
7efd4e082b
2 changed files with 74 additions and 0 deletions
36
client/src/pages/survey.tsx
Normal file
36
client/src/pages/survey.tsx
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
import * as React from 'react';
|
||||||
|
import {Grid} from '@trussworks/react-uswds';
|
||||||
|
import {useIntl} from 'gatsby-plugin-intl';
|
||||||
|
|
||||||
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
|
import Layout from '../components/layout';
|
||||||
|
|
||||||
|
import * as CONTACT_COPY from '../data/copy/contact';
|
||||||
|
|
||||||
|
interface ISurveyPageProps {
|
||||||
|
location: Location;
|
||||||
|
}
|
||||||
|
|
||||||
|
const SurveyPage = ({location}: ISurveyPageProps) => {
|
||||||
|
const intl = useIntl();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Layout location={location} title={intl.formatMessage(CONTACT_COPY.PAGE_INTRO.SURVEY_TEXT)}>
|
||||||
|
|
||||||
|
<J40MainGridContainer>
|
||||||
|
<Grid row>
|
||||||
|
<Grid col>
|
||||||
|
<iframe
|
||||||
|
src="https://www.surveymonkey.com/r/cejst-survey"
|
||||||
|
width="100%"
|
||||||
|
height="100%"
|
||||||
|
style={{border: 0}}
|
||||||
|
/>
|
||||||
|
</Grid>
|
||||||
|
</Grid>
|
||||||
|
</J40MainGridContainer>
|
||||||
|
</Layout>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SurveyPage;
|
38
client/src/pages/survey1.tsx
Normal file
38
client/src/pages/survey1.tsx
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
import * as React from 'react';
|
||||||
|
import {Grid} from '@trussworks/react-uswds';
|
||||||
|
import {useIntl} from 'gatsby-plugin-intl';
|
||||||
|
|
||||||
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
|
import Layout from '../components/layout';
|
||||||
|
|
||||||
|
import * as CONTACT_COPY from '../data/copy/contact';
|
||||||
|
|
||||||
|
interface ISurveyPageProps {
|
||||||
|
location: Location;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const SurveyPage = ({location}: ISurveyPageProps) => {
|
||||||
|
const intl = useIntl();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Layout
|
||||||
|
location={location} title={intl.formatMessage(CONTACT_COPY.PAGE_INTRO.SURVEY_TEXT)}>
|
||||||
|
<J40MainGridContainer>
|
||||||
|
<Grid>
|
||||||
|
<Grid col>
|
||||||
|
<iframe
|
||||||
|
src="https://www.surveymonkey.com/r/cejst-survey"
|
||||||
|
width="100%"
|
||||||
|
height="5100px"
|
||||||
|
style={{border: 0}}
|
||||||
|
/>
|
||||||
|
</Grid>
|
||||||
|
</Grid>
|
||||||
|
</J40MainGridContainer>
|
||||||
|
|
||||||
|
</Layout>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SurveyPage;
|
Loading…
Add table
Reference in a new issue