mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-24 07:41:39 -07:00
removes share data sources button
This commit is contained in:
parent
ebdb487ce5
commit
df4b982e7b
6 changed files with 18 additions and 18 deletions
|
@ -5,14 +5,14 @@ import {useWindowSize} from 'react-use';
|
||||||
import {Grid} from '@trussworks/react-uswds';
|
import {Grid} from '@trussworks/react-uswds';
|
||||||
// import AboutCard from '../components/AboutCard/AboutCard';
|
// import AboutCard from '../components/AboutCard/AboutCard';
|
||||||
// import AboutCardsContainer from '../components/AboutCard/AboutCardsContainer';
|
// import AboutCardsContainer from '../components/AboutCard/AboutCardsContainer';
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
// import HowYouCanHelp from '../components/HowYouCanHelp';
|
// import HowYouCanHelp from '../components/HowYouCanHelp';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import SubPageNav from '../components/SubPageNav';
|
import SubPageNav from '../components/SubPageNav';
|
||||||
|
|
||||||
// import {GITHUB_LINK, GITHUB_LINK_ES} from '../constants';
|
// import {GITHUB_LINK, GITHUB_LINK_ES} from '../constants';
|
||||||
import {DATA_SURVEY_LINKS, PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||||
import * as ABOUT_COPY from '../data/copy/about';
|
import * as ABOUT_COPY from '../data/copy/about';
|
||||||
// import {FEEDBACK_EMAIL} from '../data/copy/common';
|
// import {FEEDBACK_EMAIL} from '../data/copy/common';
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
||||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -3,13 +3,13 @@ import {useIntl} from 'gatsby-plugin-intl';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import {useWindowSize} from 'react-use';
|
import {useWindowSize} from 'react-use';
|
||||||
|
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import ReleaseUpdate from '../components/ReleaseUpdate';
|
import ReleaseUpdate from '../components/ReleaseUpdate';
|
||||||
import SubPageNav from '../components/SubPageNav';
|
import SubPageNav from '../components/SubPageNav';
|
||||||
|
|
||||||
import {DATA_SURVEY_LINKS, PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||||
import * as DOWNLOADS_COPY from '../data/copy/downloads';
|
import * as DOWNLOADS_COPY from '../data/copy/downloads';
|
||||||
interface IDownloadsPageProps {
|
interface IDownloadsPageProps {
|
||||||
location: Location;
|
location: Location;
|
||||||
|
@ -26,7 +26,7 @@ const DownloadsPage = ({location}: IDownloadsPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
||||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -4,12 +4,12 @@ import {useIntl} from 'gatsby-plugin-intl';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import {useWindowSize} from 'react-use';
|
import {useWindowSize} from 'react-use';
|
||||||
|
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import SubPageNav from '../components/SubPageNav';
|
import SubPageNav from '../components/SubPageNav';
|
||||||
|
|
||||||
import {DATA_SURVEY_LINKS, PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||||
import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore';
|
import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore';
|
||||||
import * as FAQS_COPY from '../data/copy/faqs';
|
import * as FAQS_COPY from '../data/copy/faqs';
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ const FAQPage = ({location}: IFAQPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(FAQS_COPY.PAGE_INTRO.PAGE_TILE)}</h1>
|
<h1>{intl.formatMessage(FAQS_COPY.PAGE_INTRO.PAGE_TILE)}</h1>
|
||||||
<DatasetsButton href= {DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -6,10 +6,10 @@ import ExploreDataBox from '../components/ExploreDataBox';
|
||||||
import J40Map from '../components/J40Map';
|
import J40Map from '../components/J40Map';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
|
|
||||||
import * as EXPLORE_COPY from '../data/copy/explore';
|
import * as EXPLORE_COPY from '../data/copy/explore';
|
||||||
import {DATA_SURVEY_LINKS} from '../data/constants';
|
// import {DATA_SURVEY_LINKS} from '../data/constants';
|
||||||
|
|
||||||
interface IMapPageProps {
|
interface IMapPageProps {
|
||||||
location: Location;
|
location: Location;
|
||||||
|
@ -27,7 +27,7 @@ const ExporeToolPage = ({location}: IMapPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
|
@ -5,12 +5,12 @@ import {useWindowSize} from 'react-use';
|
||||||
|
|
||||||
import Categories from '../components/Categories';
|
import Categories from '../components/Categories';
|
||||||
import DatasetContainer from '../components/DatasetContainer';
|
import DatasetContainer from '../components/DatasetContainer';
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import SubPageNav from '../components/SubPageNav';
|
import SubPageNav from '../components/SubPageNav';
|
||||||
|
|
||||||
import {DATA_SURVEY_LINKS, PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||||
import * as METHODOLOGY_COPY from '../data/copy/methodology';
|
import * as METHODOLOGY_COPY from '../data/copy/methodology';
|
||||||
|
|
||||||
interface MethodPageProps {
|
interface MethodPageProps {
|
||||||
|
@ -29,7 +29,7 @@ const IndexPage = ({location}: MethodPageProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
||||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mt3'}>
|
<Grid row gap className={'j40-mt3'}>
|
||||||
|
|
|
@ -3,14 +3,14 @@ import {useIntl} from 'gatsby-plugin-intl';
|
||||||
import {useWindowSize} from 'react-use';
|
import {useWindowSize} from 'react-use';
|
||||||
|
|
||||||
import {Card, CardBody, CardFooter, CardGroup, CardHeader, Grid, Button} from '@trussworks/react-uswds';
|
import {Card, CardBody, CardFooter, CardGroup, CardHeader, Grid, Button} from '@trussworks/react-uswds';
|
||||||
import DatasetsButton from '../components/DatasetsButton';
|
// import DatasetsButton from '../components/DatasetsButton';
|
||||||
import DownloadButton from '../components/DownloadButton';
|
import DownloadButton from '../components/DownloadButton';
|
||||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||||
import Layout from '../components/layout';
|
import Layout from '../components/layout';
|
||||||
import SubPageNav from '../components/SubPageNav';
|
import SubPageNav from '../components/SubPageNav';
|
||||||
|
|
||||||
import * as PREV_VER_COPY from '../data/copy/previousVer';
|
import * as PREV_VER_COPY from '../data/copy/previousVer';
|
||||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||||
import {getDownloadFileUrl} from '../data/copy/downloads';
|
import {getDownloadFileUrl} from '../data/copy/downloads';
|
||||||
import {VERSIONS} from '../data/copy/methodology';
|
import {VERSIONS} from '../data/copy/methodology';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -36,7 +36,7 @@ const PreviousVersions = ({location}: IPreviousVersionsProps) => {
|
||||||
|
|
||||||
<section className={'page-heading'}>
|
<section className={'page-heading'}>
|
||||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
||||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
{/* <DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} /> */}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<Grid row gap className={'j40-mb5-mt3'}>
|
<Grid row gap className={'j40-mb5-mt3'}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue