-
{title}
+
{title}
+
+ A climate and economic justice screening tool
+
+
+
{
+
+ Public beta —
+ Welcome to the public beta of the Just Progress Map, a climate and
+ economic justice screening tool. The tool will be continuously updated.
+ Please submit feedback.
+
+
+
+ Limited data sources —
+ This tool currently includes 16 datasets. Over time, datasets could be
+ added, updated, or removed. The datasets come from a variety of sources
+ based on availability, quality, and relevance to environmental, energy,
+ and climate issues. Each dataset has limitations, such as how recently
+ the data was updated.
+
>
);
};
diff --git a/client/src/components/MapLegend.tsx b/client/src/components/MapLegend.tsx
new file mode 100644
index 00000000..af22b225
--- /dev/null
+++ b/client/src/components/MapLegend.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+
+const MapLegend = () => {
+ return (
+ <>
+
+ Color Key
+ -
+ - Prioritized community
+ -
+ - Threshold community
+ - $nbsp;
+ - Non-Prioritized community
+
+ >
+ );
+};
+
+export default MapLegend;
diff --git a/client/src/pages/cejst.tsx b/client/src/pages/cejst.tsx
index 8562c376..81847a2c 100644
--- a/client/src/pages/cejst.tsx
+++ b/client/src/pages/cejst.tsx
@@ -3,8 +3,8 @@ import Layout from '../components/layout';
// import MapWrapper from '../components/map';
import MapWrapper from '../components/mapWrapper';
import HowYouCanHelp from '../components/HowYouCanHelp';
-import {Alert} from '@trussworks/react-uswds';
import * as styles from './cejst.module.scss';
+import MapLegend from '../components/MapLegend';
interface IMapPageProps {
@@ -17,39 +17,26 @@ const CEJSTPage = ({location}: IMapPageProps) => {
return (
+ Just Progress communities
- The Climate and Economic Justice Screening Tool helps
- identify and prioritize communities across the United
- States and US territories that have been historically
- overburdened and underserved so that they may receive
- 40% of the benefits from investments in six key areas as
- outlined in the
- Executive Order on Tackling the Climate Crisis at Home and
- Abroad.
- Explore the map below or learn
- more about the methodology and data indicators used to
- prioritize Justice40 communities.
+ Executive Order on Tackling the Climate Crisis at Home and
+ Abroad.
-
-
- In this tool, we are using data sources that our
- combined by our cumulative impact methodology.
- Our sources were selected because sit amet,
- consectetur adipiscing. See all the sources we
- are investigating on our data roadmap.
-
-
Explore the Tool
-
+
+
);
diff --git a/client/src/pages/contact.tsx b/client/src/pages/contact.tsx
new file mode 100644
index 00000000..69e80905
--- /dev/null
+++ b/client/src/pages/contact.tsx
@@ -0,0 +1,20 @@
+import * as React from 'react';
+import Layout from '../components/layout';
+
+interface ContactPageProps {
+ location: Location;
+}
+
+const ContactPage = ({location}: ContactPageProps) => {
+ return (
+
+ Contact
+
+ Information pending
+
+
+
+ );
+};
+
+export default ContactPage;
diff --git a/client/src/pages/index.tsx b/client/src/pages/index.tsx
index bade0291..7e22bc5c 100644
--- a/client/src/pages/index.tsx
+++ b/client/src/pages/index.tsx
@@ -1,7 +1,6 @@
import * as React from 'react';
import Layout from '../components/layout';
-// import {GridContainer, Grid} from '@trussworks/react-uswds';
// this section seems too verbose? must be a more readable way to do this.
// this inlines the svg as data:image/svg+xml For larger images this
@@ -18,7 +17,8 @@ import pollutionIcon // @ts-ignore
from '/node_modules/uswds/dist/img/usa-icons/severe_weather.svg';
// @ts-ignore
import washIcon from '/node_modules/uswds/dist/img/usa-icons/wash.svg';
-
+// @ts-ignore
+import publicIcon from '/node_modules/uswds/dist/img/usa-icons/public.svg';
interface IndexPageProps {
location: Location;
@@ -27,6 +27,7 @@ interface IndexPageProps {
// markup
const IndexPage = ({location}: IndexPageProps) => {
const readMoreList: (any | string)[][] = [
+ [publicIcon, 'Climate change'],
[ecoIcon, 'Clean energy and energy efficiency'],
[busIcon, 'Clean transit'],
[homeIcon, 'Affordable and sustainable housing'],
diff --git a/client/src/pages/methodology.tsx b/client/src/pages/methodology.tsx
new file mode 100644
index 00000000..2ea6abad
--- /dev/null
+++ b/client/src/pages/methodology.tsx
@@ -0,0 +1,46 @@
+import * as React from 'react';
+import Layout from '../components/layout';
+
+interface MethodPageProps {
+ location: Location;
+}
+
+// markup
+const IndexPage = ({location}: MethodPageProps) => {
+ return (
+
+ Methodology
+
+ 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
+
+
+ Just Progress Index datasets
+
+ Data pending
+
+
+
+ );
+};
+
+export default IndexPage;
diff --git a/client/src/styles/global.scss b/client/src/styles/global.scss
index 4c1189bc..34afa685 100644
--- a/client/src/styles/global.scss
+++ b/client/src/styles/global.scss
@@ -45,7 +45,7 @@ $j40-max-width: 80ex;
.j40-two-column > * {
display: inline-flex;
width: 90%;
- padding-bottom: 1.5em;
+ padding-bottom: 1.2em; /* space between items */
padding-left: 1em;
}
@@ -69,8 +69,7 @@ $j40-max-width: 80ex;
.j40-header,
.j40-primary-nav,
.j40-header > li > a {
- background-color: #112f4e; /* todo: move color to theme */
- color: white !important;
+ color: #112f4e !important;
z-index: 5;
.usa-nav-container {
@@ -79,7 +78,7 @@ $j40-max-width: 80ex;
span {
// make sure the open close chevron is colored correctly
- color: white;
+ color: #112f4e;
}
// this is the title
@@ -88,25 +87,14 @@ $j40-max-width: 80ex;
font-family: "serif";
}
- .usa-current::after,
- :hover::after {
- background-color: #2491ff !important;
- }
-
// menu item font
.usa-nav__primary {
font-size: 1.2em;
}
- // invert the hover color so contrast stays good enough for accessibility
- .usa-nav__primary a:not(.usa-button):hover {
- background-color: #2491ff !important;
- }
-
- // this is the closebox, it's not easy to change the X color, so we change
- // the background to keep it's contrast high
- .usa-nav__close {
- background-color: white;
+ .byline {
+ font-size: .4em;
+ font-weight: normal;
}
}
@@ -195,10 +183,44 @@ $j40-max-width: 80ex;
margin: 0;
}
- padding-top: 0;
- padding-bottom: 0;
+ padding-top: 7px;
+ padding-bottom: 7px;
+ min-height: 4em;
- .usa-alert:before {
- margin-top: 12px !important;
+ * + .usa-alert {
+ margin: 0 !important;
+ }
+}
+
+.j40-maplegend {
+ dt {
+ width: 20px;
+ height: 20px;
+ display: inline-block;
+ overflow: hidden;
+ border: 1px solid #282828;
+ }
+
+ dd {
+ vertical-align: top;
+ padding-top: 0.1em;
+
+ display: inline-block;
+ width: 12em;
+ margin: 0 0 0 1em;
+ }
+
+ .mapsquare-a {
+ background-color: #1A4480;
+ color: #1A4480;
+ }
+ .mapsquare-b {
+ background-color: #a9a9aa;
+ color: #a9a9aa;
+ }
+
+ .mapsquare-c {
+ background-color: #ecececff;
+ color: #ecececff;
}
}