diff --git a/client/src/components/J40MainGridContainer.tsx b/client/src/components/J40MainGridContainer.tsx new file mode 100644 index 00000000..5f3b38a8 --- /dev/null +++ b/client/src/components/J40MainGridContainer.tsx @@ -0,0 +1,30 @@ +// Trussworks GridContainer won't allow it to span 100% of the page, so +// this works around it and tries to hide the complexity in component +import React, {ReactNode} from 'react'; +import {GridContainer} from '@trussworks/react-uswds'; + +interface ILayoutProps { + children: ReactNode, + fullWidth?: boolean, + className?: string +} + +const J40MainGridContainer = ({ + children, + fullWidth = false, + className = 'j40-grid-container'}: ILayoutProps) => { + return fullWidth ? ( +
- Sorry{' '}
-
- 😔
- {' '}
- we couldn’t find what you were looking for.
-
- {process.env.NODE_ENV === 'development' ? (
- <>
-
- Try creating a page in src/pages/
.
-
- >
- ) : null}
-
- Go home.
-
+ Sorry{' '}
+
+ 😔
+ {' '}
+ we couldn’t find what you were looking for.
+
+ {process.env.NODE_ENV === 'development' ? (
+ <>
+
+ Try creating a page
+ in src/pages/
.
+
+ >
+ ) : null}
+
+ Go home.
+
- Just Progress helps identify and prioritize communities across the - United States and U.S. territories - that have been historically overburdened and underserved. These - communities will receive 40% of - the benefits from investments in key areas outlined by the - - - Executive Order on Tackling the Climate Crisis at Home and - Abroad - . -
-- Download the Just Progress packet or explore the map below to see - the list of prioritized communites. To - learn more about how these communities were prioritized check out - the - - - Methodology - - - page. -
+ return (+ Just Progress helps identify and prioritize communities across + the United States and U.S. territories + that have been historically overburdened and underserved. + These communities will receive 40% of + the benefits from investments in key areas outlined by the + + + Executive Order on Tackling the Climate Crisis at Home and + Abroad + . +
++ Download the Just Progress packet or explore the map below to + see the list of prioritized communities. To learn more about + how + these communities were prioritized check out the + + + Methodology + + + page. +
+
-
-
+
-
-
-
- The Just Progress tool combines demographic, environmental, and - socio-economic data to generate a cumulative index score, referred to - as the Just Progress Index. The tool currently utilizes national, - publically-available data from the United States Census Bureau’s - American Community Survey (ACS) and the EPA’s EJScreen tool. -
-- The various inputs into the Just Progress Index are averaged into 2 - categories: Pollution Burden and Demographics. -
-- Pollution Burden: health risks arising from proximity and potential - exposures to pollution and other adverse environmental conditions -
-- Demographics: sensitive populations and socioeconomic factors that - make a community more vulnerable -
-- Pollution Burden average x Demographics average = Just Progress - Index -
-+ The Just Progress tool combines demographic, environmental, and + socio-economic data to generate a cumulative index score, referred + to as the Just Progress Index. The tool currently utilizes + national, + publically-available data from the United States Census Bureau’s + American Community Survey (ACS) and the EPA’s EJScreen tool. +
++ The various inputs into the Just Progress Index are averaged into + 2 categories: Pollution Burden and Demographics. +
++ Pollution Burden: health risks arising from proximity and + potential exposures to pollution and other adverse environmental + conditions +
++ Demographics: sensitive populations and socioeconomic factors that + make a community more vulnerable +
++ Pollution Burden average x Demographics average = Just Progress + Index +
+