From 3f179105c6c212c9a3ecc04b282b857c6d0f6742 Mon Sep 17 00:00:00 2001 From: Brendan Sudol Date: Fri, 23 Jun 2017 10:38:00 -0400 Subject: [PATCH] bold dynamic usa overview content --- src/components/ExplorerIntroNational.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/ExplorerIntroNational.js b/src/components/ExplorerIntroNational.js index fc6c842e..82c57f03 100644 --- a/src/components/ExplorerIntroNational.js +++ b/src/components/ExplorerIntroNational.js @@ -8,6 +8,8 @@ import { estimatedTerm, nibrsTerm, srsTerm } from './Terms' import { formatNum } from '../util/formats' import mapCrimeToGlossaryTerm from '../util/glossary' +const highlight = txt => {txt} + const ExplorerIntroNational = ({ crime, ucr, until }) => { const isArson = crime === 'arson' const untilUcr = ucr.find(p => p.year === until) @@ -35,18 +37,18 @@ const ExplorerIntroNational = ({ crime, ucr, until }) => {

In {' '} - {until} + {highlight(until)} , the FBI {' '} {estimatedTerm} {' '} crime statistics for the nation based on data received from {' '} - {formatNum(untilUcr.participating_agencies)} + {highlight(formatNum(untilUcr.participating_agencies))} {' '} law enforcement agencies out of {' '} - {formatNum(untilUcr.total_agencies)} + {highlight(formatNum(untilUcr.total_agencies))} {' '} in the country that year.

@@ -65,9 +67,10 @@ const ExplorerIntroNational = ({ crime, ucr, until }) => { reports sent to the FBI.

- In {until}, the FBI received voluntary reports of arson from + In {highlight(until)}, the FBI received voluntary reports of arson + from {' '} - {formatNum(untilUcr.participating_agencies)} + {highlight(formatNum(untilUcr.participating_agencies))} {' '} law enforcement agencies. The charts below feature unestimated data.