mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-02 23:33:18 -07:00
Methodology page updates
This commit is contained in:
parent
ddf1544d5d
commit
a171806a6f
10 changed files with 322 additions and 329 deletions
|
@ -1,10 +1,10 @@
|
|||
/* eslint-disable valid-jsdoc */
|
||||
import React from 'react';
|
||||
import {Tag} from '@trussworks/react-uswds';
|
||||
import {useIntl} from 'gatsby-plugin-intl';
|
||||
import React from 'react';
|
||||
|
||||
import * as styles from './datasetCard.module.scss';
|
||||
import * as METHODOLOGY_COPY from '../../data/copy/methodology';
|
||||
import * as styles from './datasetCard.module.scss';
|
||||
|
||||
interface IDatasetCardProps {
|
||||
datasetCardProps: METHODOLOGY_COPY.IIndicators
|
||||
|
@ -71,6 +71,10 @@ const DatasetCard = ({datasetCardProps}: IDatasetCardProps) => {
|
|||
{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.SOURCE)}
|
||||
</span>
|
||||
{dataSource.source}
|
||||
{dataSource.isNew && (<>
|
||||
 
|
||||
<Tag className={styles.newTag}>{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.NEW)}</Tag>
|
||||
</>)}
|
||||
</li>
|
||||
|
||||
{/* Dataset Available for */}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue